POSTED INV. NO. SERIES

Hi,

I have a problem in sales POSTED NO. Series…My client want to do some default no. series and manuale no. series…But when my we use the manual input of INV NO., and post it…the No series is replece with the DEFAULT no…

I just want to achive is when they use the manual input of INV NO series, this manual input will be use…and when they use the Default No., this no. will be use…ANYONE can HELP? Thanks very much.

You can write the small customization in the OnInsert() trigger of table 36 (Sales Header). I assume you wanted for Sales Invoice

IF “Document Type” = “Document Type”::Invoice THEN BEGIN

IF “No. Series” = ‘’ THEN BEGIN

“Posting No.” := “No.”;
END;

END;