Hi All
I have followed below link to make Custom number sequence in D365FO as per my requirements.
(+) Custom number sequence in D365FO - Dynamics 365 Finance Community
I wants to add the new number sequence reference in Asset management parameters.
I have searched and found the below code in Asset management parameters form
Kindly let me know what changes are required and how to call this method to achieve my requirements. So, that I can add my reference below in Asset managemnt parameters like below marked area
Please give me more shed on this.
thanks!
Thanks Andre, it is working as expected
thanks Andre,
Let me check and will update you.
Hi Arpan,
It looks like you added a new module for the number sequences. "EntAssetGlobal" is not standard. Now you have overwritten the module within your extension.
You should list both modules in your extension code like this:
numberSequenceModules = [NumberSeqModule::EntAsset, NumberSeqModule::EntAssetGlobal];
Hi all,
I wrote below code
So, it's showing the custom number sequence as below
but the issue is it is not showing the existing number sequence in Asset management parameters as below. It's overriding the existing number sequence with custom number sequence.
I expected to get my custom number sequence as marked above.
Kindly let me know what changes are required in my code ?
Please give me more shed on this.
Hi Arpan,
There is, in general, no need to extend this method. If you did not use the same module references for your number sequence, then you would need to extend it. If the Reet function did not help, you might indeed use another or new custom module reference in your coding for the new number sequence.
Currently the form is set up to use the number sequences from the asset management module.
Hi Andre,
As I mentioned abovevthe method numberseqpreinit in AssetParameter form, is it required to call this method with CoC for my requirement?
Note - I have found the reset button in your blogs.
Kindly confirm.
Thanks Andre
Is reset button is stnd features for all modules in parameters form? If yes kindly send me the screen shot pls
Then I will check and update you.
Hi Arpan,
There is no need to add additional coding. Read my blog and find the 'Reset' button on the number sequences form. This should add the record on the parameters form for your custom number sequence.
Hi Arpan,
You can follow the suggestion provided by Andre for rest function.
But the link you have followed talks about creating number sequence for custom module.
If you want number seq list under asset management you must extend number sequence class related to asset management module.
Have you done that?
Thanks,
Girish S.
Sorry Andre
Not understand, kindly elaborate me what code I need to add?
Martin Dráb
456
Most Valuable Professional
Abhilash Warrier
310
Saalim Ansari
261