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

Announcements

News and Announcements icon
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)
  • Dan Emreus Profile Picture
    1,162 on at

    Hi Shaun Brady,

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

    /Dan

  • Shaun Brady Profile Picture
    112 on at

    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

    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

    Hi Dan

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

    thanks

    Shaun

  • Suggested answer
    Dan Emreus Profile Picture
    1,162 on at

    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

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans