Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Requirement is to know where the selling price coming from 3 source fields listed in below picture, how can i create a new Field source in script which gives info where the price coming from among other 3 Fields?
Try the below if you are sure that Price is found is only one source,
If(Len(SAP_PRICE_BY_CUSTOMER)>1, 'SAP_PRICE_BY_CUSTOMER',
If(Len(SAP_PRICE_GENERIC)>1,'SAP_PRICE_GENERIC' ,
If(Len(ORACLESTD_PRICE)>1,'ORACLESTD_PRICE' ,
'Price Source Not Found')))
as Price_Source
Try the below if you are sure that Price is found is only one source,
If(Len(SAP_PRICE_BY_CUSTOMER)>1, 'SAP_PRICE_BY_CUSTOMER',
If(Len(SAP_PRICE_GENERIC)>1,'SAP_PRICE_GENERIC' ,
If(Len(ORACLESTD_PRICE)>1,'ORACLESTD_PRICE' ,
'Price Source Not Found')))
as Price_Source