Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

'I' is not a valid value for property 'UoMType'. The valid values are: 'P' - 'Purchasing', 'S' - 'Sales'

$
0
0

Dear All,

 

I am using following code to update the Item Price against a particular Price List. But I am getting the error as

 

"'I' is not a valid value for property 'UoMType'. The valid values are: 'P' - 'Purchasing',  'S' - 'Sales'"

 

 

Dim oItem As SAPbobsCOM.Items = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)

 

If oItem.GetByKey("A") = True Then

     oItem.PriceList.SetCurrentLine(PriceListLineNum)

     oItem.PriceList.Price = 10

     oItem.Update()

End If

 

 

Can you please explain what am I doing wrong ? Am I missing a setting or something else in my code ?

 

 

Please help me. Any kind of help would be appreciated.

 

 

Thanks & Regards

 

Ankit Chauhan


Viewing all articles
Browse latest Browse all 8150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>