Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Adding Field from Purchase Requisition to Purchase Order Form

Posted on by Microsoft Employee

Hi Experts,

I'm adding new field in PR Line. I need the line show up automatically when I'm creating PO based on PR I'm creating. I've tried adding display, but if I'm using any display method the field can't be update at all.

I also have tried adding new data source in PurchTable. I'm adding table PurchReqLine to form PurchTable then add field Description to the form but nothing display.

Below is Description field from Purchase Requisition form

5661.1.png

Below is Description field from Purchase Order form

7737.2.png

Does anybody have another suggestion, so I can add the Description field from PR to PO and the field can be edited by the user ??

You guys help mean a lot to me..

Sincerely,

Enggar

*This post is locked for comments

  • Suggested answer
    Danzel Zuo Profile Picture
    Danzel Zuo 114 on at
    Adding Field from Purchase Requisition to Purchase Order Form
    For future reference
    Review the class "PurchAutoCreate_PurchReq" it has a method called "createPurchLine".
     
  • Suggested answer
    Ajit Profile Picture
    Ajit 8,755 on at
    RE: Adding Field from Purchase Requisition to Purchase Order Form

    Is this description a custom column?

    There is a column 'PurchReqLineRefId' in purchLine, you can use that in you display method to get the description of that record. But if you are directly creating PO, that column will be blank.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,113 Super User 2024 Season 2 on at
    RE: Adding Field from Purchase Requisition to Purchase Order Form

    Hi Enggar,

    The PO and PR are very different entities. You can have PO's without a PR. I still don't understand the requirement to be able to suggest anything valuable.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adding Field from Purchase Requisition to Purchase Order Form

    Hi Andre Arnaud de Calavon 

    Thanks for your reply.

    My client finally agreed on me using the display method for their description field.

    But is there any way of how to add field from PR to PO ?
    I guess there is class that contain fields that will be release from PR to PO

    Thanks and Regards,

    Enggar

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,113 Super User 2024 Season 2 on at
    RE: Adding Field from Purchase Requisition to Purchase Order Form

    Hi Enggar,

    You are trying to link a PR field on the PO form. Why should the field be editable on the PO? Wouldn't it be better to use the Description field of the PO line itself? Otherwise explain why this would be required.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

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... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans