Tomasz Skorża wrote:
In second file there are some special conversion for items i.e.

1) Item1 1EA(each) = 2,5 KG
2) Item2 1EA = 1,5 KG and so on.

Our ERP - JDE World - have an program to convert one unit to other, but how to do it in S QL statements?

Tomasz,

I have done something similar by creating a User Defined Function to convert from one UM to another. My routine specifically is based upon each item's UM being converted to Square Footage, but you should be able to adapt it for your usage. The file in question is the F41002. You might be able to just join to it and obtain your conversions that way.

Bill

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.