Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Re: Last Evaluated Price...

$
0
0

Well, the field to change the price list when you're creating an object like "GoodReceipt" is "PaymentGroupCode".

 

imgPGC001.png

 

 

In SDK you could have the next one code:

 

oGoodReceipt = (SAPbobsCOM.Documents)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry);
// Last evaluated price
oGoodReceiptFact.PaymentGroupCode = -2; 

 

Here I have another example but using B1WS:

 

InventoryGenEntryService.Document myEntryDoc = new InventoryGenEntryService.Document();
// Last evaluated price
myEntryDoc.PaymentGroupCode = -2;
myEntryDoc.PaymentGroupCodeSpecified = true;

Viewing all articles
Browse latest Browse all 3458

Trending Articles



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