I have defined two separate number series codes for Sales Order Number generation, ISO and ESO (Internal and External Orders).
We have two separate sales orders forms (ISO form and ESO form), one for Internal Orders creation and other for External Order creation. But, list form is unique. That means, user can select the External Order through ISO form.
When user clicks F3 on ISO form, I always want to default the new number series to ISO series (irrespective of xRec.Sales Order Number Series) . Please suggest
0
Comments
Hint: it has nothing to do with the form you are using.
RIS Plus, LLC
SalesSetup.get;
"No. Series" := SalesSetup."Internal Order Nos."; // SalesSetup."External Order Nos." for External Orders
xRec."No. Series" := SalesSetup."Internal Order Nos.";// SalesSetup."External Order Nos."; for External orders
RIS Plus, LLC