I am using Ax 2012R2.
Select a PO and click on Product receipt.
Now click on New i am able to see no seq generated because i manipulated code like that.
Now click on OK, same no is saving in vendpackingslip our table, that we can see by clicking on productreceipt in journal.
Now cancle product receipt joiurnal and click on product recipt again this time giving new no seq for product receipt.
Now click on cancel in packing slip form, now click agaiin new in packiing slip this time giving new product receipt no.
My concern is
1.if i click on cancel and click on new again i want to generate old no only, like our new po no.
2.i want to generate packiing slip id the movent we click on packiing slip button.
Have you tried by setting the number seq to continuous?
Yes, mu no seq is continuous only.
How you are generating this number?
Creating No seq by following all steps,l now able to generate no seq properly.
Only thing is i need no seq to be generate while opening PurchEditLines form, the movement i click on product receipt.
I put element.numberSeqFormHandler().formMethodDataSourceCreatePre(); in form init, but no luck.
tel me method name togenerate no seq while opening form.
Try calling numberSeqFormHandler.formMethodClose(); in canClose method.
Have a look at \Forms\ProdTableCreate\Methods\canClose