Announcements
HI
Has anyone successfully used this via x++ code?
*This post is locked for comments
Hi Shaun Brady,
I do not know what you mean. Can you explain more what you want to achieve?
/Dan
Hi Dan
On Ax2012R3, on the CustPckingSlipJournal form, there is a button called correct.
This allows you to reduce the quantiy previously posted on a CustPackingSlipJour
It would appear to extend to the SalesFormLetter classes, but ther eis code hidden behine the super() method that I can't get near.
You are only allowed to reduce the quantity though, there are no increases allowed.
Shaun
Hi again,
I am aware of the button but not sure what you want. Do you want the functionality to allow increasing or do you want do move functionality elsewhere or something else?
I would like to use that functionality in a bit of custom X++ code somewhere else.
thanks
Hi again Shaun,
This worked for me in a job. You will off course need a packingslip-record in order to know which packing slip that are going to be corrected. But than again I do not know your custom code changes.
CustPackingSlipJour custPackingSlipJour = CustPackingSlipJour::findRecId(5637614578);
Args args = new Args(); args.record(custPackingSlipJour); new MenuFunction(menuItemActionStr(SalesFormLetter_PackingSlipCorrection), MenuItemType::Action).run(args);
Hope it helps!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sanhthosh.Kumar.K 2
Raed Salah Bzour 1