Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Get default dimensions for purchase order header

Posted on by 910

Hi ,

In the standard environment, i can able to see the financial dimension values in Line details, but the financial dimension values are not visible in Header, I check it from header view, the financial dimension values are missing?

I need to inherit default dimension values in header of ordrerer too. How can we achieve this? In wich class i can set the default dimension of orderer 

i want to add somthing like this :

//Employee
employee = HcmEmployment::findByWorkerLegalEntity(this.Requisitioner, this.BuyingLegalEntity);
if (employee)
{
dimensionSources.addEnd(DimensionDefaultingEngine::getDefaultDimensionSpecifiers(employee.DefaultDimension));
}

Regards,

*This post is locked for comments

  • ALAhmed Profile Picture
    ALAhmed 910 on at
    RE: Get default dimensions for purchase order header

    What if i want desable getting automatically dimensions financial from PO header for the PO line.? When i create new line for PO o get liste of dimension financial of PO header

  • Suggested answer
    AX-2012 Updates Profile Picture
    AX-2012 Updates 205 on at
    RE: Get default dimensions for purchase order header

    let me specify steps for you,

    1. Create PR-

    2. Add Lines- and fill the Main account and Dimensions using Distribute accounts. (if the setup is done as per the product or Category then system will pick the details as per setup)

    3. Select the line and Click on details (on PR Form this option is available next to Add lines ) When a details form is open you will have to fill the dimensions,

    4. Submit for Approval,

    5. Once Approved Convert PR to PO,  you will see Header dimensions as per PR.

    NITIN

  • ALAhmed Profile Picture
    ALAhmed 910 on at
    RE: Get default dimensions for purchase order header

    I don't understand , here i have an approuved PR and i create a PO based on this PR. So  the PO don't get default dimension of orderer. i look in which method or class i can initialise the pruchTable.DefaulDimension by default dim of orderer

  • Suggested answer
    AX-2012 Updates Profile Picture
    AX-2012 Updates 205 on at
    RE: Get default dimensions for purchase order header

    If the Dimensions are allowed for the account which is mapped to Vendor Positing Profile in Account structure (GL Setup) then it will flow from PR to PO automatically, You will need to mention the Dimension in PR at the header level as well as as Line level,

    Nitin

  • ALAhmed Profile Picture
    ALAhmed 910 on at
    RE: Get default dimensions for purchase order header

    What if i want pick The default Dimensions for PO Header when Purchase Order Creation based on Purchase Requisition

  • Suggested answer
    AX-2012 Updates Profile Picture
    AX-2012 Updates 205 on at
    RE: Get default dimensions for purchase order header

    Hi Alex,

    The default Dimensions for PO Header is picked from the Vendor Master- Vendor Dimensions, this is standard function available in AX 2012 R2,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans