Hi everyone,
I'm trying to fill the "posting no. series" on the Sales Credit Memo because by default it appears empty.
So I want to fill with the series "MRVNC" and I'm trying the code below in "OnValidate" Trigger
IF "Posting No. Series" <> '' THEN BEGIN
SalesSetup.GET;
TestNoSeries;
NoSeriesMgt.TestSeries(GetPostingNoSeriesCode,"Posting No. Series");
END;
SERIE.SETRANGE(Code,"Posting No. Series");
SERIE.FINDFIRST;
TESTFIELD("Posting No.",'');