Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Customer requisition not populating from header to lines of a sales order in AX 2012 R2

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I am working on populating the header data to lines in a sales order, in this regard I had to populate Customer requisition from header to line (prompt like other fields).

I have made the changes required for this but it doesn't seem to change. When I debugged the system is not hitting the break-point for Customer requisition field case as follows (SalesTable2LineField class). Its not even hitting the break-point for this case

Standard code already has parm and set methods for Customer requisition (PurchOrderFormNum field)

FieldLabel lineUpdateDescription()
{
    --------------------------------------
------------------------------------------
------------------------------------------
            //<NK>.<TFS2542>
            case fieldNum(SalesTable, PurchorderFormNum) :
                return fieldId2pname(tableNum(SalesLine), fieldNum(SalesLine, PurchorderFormNum));
            //<NK>.</TFS2542>
            --------------
----------------------------
-------------------------
}

Please help, is there anything I am missing, because i was able to make it work for other custom fields.
 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer requisition not populating from header to lines of a sales order in AX 2012 R2

    It worked after I did CIL, Thanks for your help.

  • Verified answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer requisition not populating from header to lines of a sales order in AX 2012 R2

    Go to the Account Receivable Parameters -> Update (tab) -> Update order lines (button) and check property of Updating Customer Requisition. It should be set as Prompt.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer requisition not populating from header to lines of a sales order in AX 2012 R2

    Hello Rustem, Thanks for replying. I added it to the group and tried again but no luck.

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Customer requisition not populating from header to lines of a sales order in AX 2012 R2

    Hi Naga Koppu!

    Did you add field to HeaderToLineUpdate group of SalesTable table?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans