Number Sequence D365FO
Number sequences are used to generate readable, unique identifiers for master data records and transaction records that require identifiers.
In this demo, I am going to create a new number sequence for customer group form.
Create a new class with name NumberSeqModuleCustomer_CustGroup that extends the NumberSeqModuleCustomer class and then create the method loadNumberSequence.
Create a new class with name NumberSeqModuleCustomer_CustGroup that extends the NumberSeqModuleCustomer class and then create the method loadNumberSequence.
Now create extension class of CustParameters_Extension and add your custom method to find number sequence..
Reference Screenshot:
Now create Run able class to initialize the number sequence...
Reference Screenshot:
Perform build & Sync and load the number sequence. In my demo i have place Action menu item of executable class on following navigation.
Reference Screenshot:
Now Navigate to organization administration > Number sequence and generate number sequence.
Reference Screenshot:
Next step to override CustGroup form data source Initial value event.
Reference Screenshot:
Perform build & Sync and verify on your cust group.. for me its working fine please have look on below screenshot.
Please feel free to contact me if you are facing any issue during implementation of above blog.
Reference Screenshot:
Now create Run able class to initialize the number sequence...
Reference Screenshot:
Perform build & Sync and load the number sequence. In my demo i have place Action menu item of executable class on following navigation.
Reference Screenshot:
Now Navigate to organization administration > Number sequence and generate number sequence.
Reference Screenshot:
Next Step to Navigate to Account receivable parameter setup to veriy our newly create number sequence loaded successfully or not... You have to verify on your desire number sequence module.
Next step to override CustGroup form data source Initial value event.
Reference Screenshot:
Perform build & Sync and verify on your cust group.. for me its working fine please have look on below screenshot.
Please feel free to contact me if you are facing any issue during implementation of above blog.