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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Item Unit Price - Sql Query

(0) ShareShare
ReportReport
Posted on by 65

Hi All,

I need to get unit price of the item which is reflecting in SOP.

Need a sql query something like below

Select UNitPrice from Table Where ItemNumber='XXXXXX'

Thanks

Selva D

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    This will get you started.  If the item pricing method is CurrencyAmount:

    SELECT UOMPRICE FROM IV00108 WHERE itemnmbr = 'xxx' AND uofm = 'each' AND curncyid = 'USD' AND PRCLEVEL= 'standard'

  • Praveen Kumar RR Profile Picture
    1,552 on at

    If you are aware of GP Tables for SOP and Inventory then you can simply fetch the information by passing ITEMNMBR as parameter in IV00102 table.

    If you still not clear i am ready to help you by having a Teamviewer session.

  • Suggested answer
    Heather Roggeveen Profile Picture
    9,146 on at

    As Jon noted below, the key table is IV00108.  Please note however that if you are using a percentage of option as your pricing method, the UOMPRICE filed actually holds the percentage that is applied.  Then you may need to refer to IV00101 if using percentage of standard cost or current cost or table IV00105 is using percentage of list price.

    It is also worth noting that when looking for which tables to use, from within Dynamics GP, go to Microsoft Dynamics GP menu --> Tools --> Resource Descriptions.  You can click on the ellipse (three dots) beside "Table:" and this will take you to a listing.  Choose the series you want.  I then "view by" Table Physical Name and then use the Display name to give me clues where to look.  As a user and consultant of GP for more than 11 years - I still constantly refer to this listing.

    Cheers

    Heather

  • Verified answer
    Selva D Profile Picture
    65 on at

    Thanks Heather and All. If Items is setup with extended pricing then this is the query to find out Unit Price value.

    "SELECT  CAST(PSITMVAL AS FLOAT) FROM IV10402 WHERE ITEMNMBR =@ItemNumber AND PRCSHID = @Country";

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans