HI
Has anyone successfully used this via x++ code?
*This post is locked for comments
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!
/Dan
Hi Dan
I would like to use that functionality in a bit of custom X++ code somewhere else.
thanks
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?
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.
Hi Shaun Brady,
I do not know what you mean. Can you explain more what you want to achieve?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Nayyar Siddiqi 2
Martin Dráb 2 Most Valuable Professional
Guy Terry 2 Moderator