Notifications
Announcements
No record found.
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
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'
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.
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
mtabor 1