Skip to main content

Notifications

Microsoft Dynamics AX forum

PO lines sequence are difference with PR

Posted on by Microsoft Employee

I have released approved PR to PO. But I found the PO lines sequence are difference with PR (for e.g. Line 1 in PR, but become Line 3 in PO). It happened occasionally only

Anyone facing this issue before? How to solve it or any KB will be fixed it?

I'm using AX2012 R2 RTM.

Thank you.

*This post is locked for comments

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: PO lines sequence are difference with PR

    The sorting can work on different field. Here is the hierarchy of sorting.

    • Buying Legal entity.

    • Requisitioner

    • Vendor Account

    • Currency Code

    • RecId

    You can find the details of this, at below path.

    \Classes\PurchAutoCreate_PurchReq\prepareSort

    But I think this sorting should not disturb the Line Number. Logically thinking what’s inside PR should come in PO.

    Line number may change in cases, such as I select only 2 lines from total of 3 while conversion. Or 1 line might belong to another ‘Buying Legal Entity’; This can be a factor for different line number, probably.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,782 Super User 2024 Season 2 on at
    RE: PO lines sequence are difference with PR

    Hi CC2016,

    I have never wondered why as long as the references are correct. When needed you can renumber the PO lines to meet the requisition.

    Probably there is a certain sorting used  for the PO creation. E.g. recid or item number.

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,782 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,067 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans