web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

CustPackingSlip correct functionality

(0) ShareShare
ReportReport
Posted on by 112

HI

Has anyone successfully used this via x++ code?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Dan Emreus Profile Picture
    1,162 on at
    RE: CustPackingSlip correct functionality

    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

  • Shaun Brady Profile Picture
    112 on at
    RE: CustPackingSlip correct functionality

    Hi Dan

    I would like to use that functionality in a bit of custom X++ code somewhere else.

    thanks

    Shaun

  • Dan Emreus Profile Picture
    1,162 on at
    RE: CustPackingSlip correct functionality

    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?

  • Shaun Brady Profile Picture
    112 on at
    RE: CustPackingSlip correct functionality

    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

  • Dan Emreus Profile Picture
    1,162 on at
    RE: CustPackingSlip correct functionality

    Hi Shaun Brady,

    I do not know what you mean. Can you explain more what you want to achieve?

    /Dan

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans