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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Lookup for Unit price in Purchase line

(0) ShareShare
ReportReport
Posted on by 535

 6354.Capture9.PNG

Hi everyone,

I have one requirement to resolve in Microsoft Dynamics ax 2009. After creating Purchase order from Approved Indent.

In Purchase line, we want a lookup(In that lookup, i want Vendor account, Item description and unit price ). Is it possible for add lookup (real edit data Type)?

For example:

1) PO1:

Vendor: V1, Item Id: I1 , UnitPrice : 10

2) PO2: 

Vendor: V1, Item Id: I1, UnitPrice: 10

3) PO3:

Vendor: V1, Item Id: I1, UnitPrice:?

In PO3  , want to choose Unitprice in lookup according to the Previous PO unit price  . If i want unitprice as 10 for PO3, I will choose Unit price in lookup otherwise i will give new unit price for the PurchLine.

Important: Why am i am this question is, Previous purchase order( vendor , item id and unit price is same ), so if i want same unit price for this purchase line i will choose in lookup otherwise i will enter new unit price.

How to create a lookup for a field ,in that lookup values will get from same table?

Advance Thanks and Regards,

Vignesh

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,397 Super User 2025 Season 2 on at
    RE: Lookup for Unit price in Purchase line

    Hi Vignesh,

    The requirement sounds a bit strange. If you are using trade agreements, you can setup a unit price per vendor/item combination. This will then be defaulted on the line. When it needs to be changed, you can then override the unit price. This is standard functionality; then you don't have to do a customization here. Or what is the exact business requirement if you can't use the standard?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Lookup for Unit price in Purchase line

    Hi,

    You can use the edit method created in the table to set the value, and overwrite the lookup method in the control on the form to display the list.

    editmethod.PNG

  • Vignesh R Profile Picture
    535 on at
    RE: Lookup for Unit price in Purchase line

    Hi Andre,

    Thanks for your kind response. Is it possible to make a lookup for field in same table

    data?

    Kind Regards,

    vignesh

  • Vignesh R Profile Picture
    535 on at
    RE: Lookup for Unit price in Purchase line

    Hi Garcia ,

    Thanks for your kind response. Can you explain one more with full detail?

    I want lookup to unit price field in purchase line (Purchase order form). That lookup data will come from same purchase line according to previous purchase order.

    Thanks and Regards,

    vignesh  

  • Vignesh R Profile Picture
    535 on at
    RE: Lookup for Unit price in Purchase line

    Hi Andre,

    I have created one table and put this three variable value into the table (vend Account, Item Id , Unit Price). Now I want a lookup in Unit Price field at purch Table form.

    How to get a value and put into the unitprice lookup? If you now please suggest me a solution.

    Thanks in advance and regards,

    vignesh

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans