on 09-27-2018 12:08 PM
Hello
Can we add a price component to the sales pricing via development in BYD? In the sales order, we would like to add CDT - 7PRA - PR in the pricing automatically. The source would be a another object based on product category.
Ideally, the WS calculatepricein should also find 7PRA.
KR
Jimmy
Hi Jimmy,
Yes this is possible. Example code:
var lsPriceComponent : elementsof SalesOrder.PriceAndTaxCalculation.Item.ItemPriceComponent;
lsPriceComponent.TypeCode.content = "0009";
lsPriceComponent.Rate.BaseDecimalValue = 1;
lsPriceComponent.Rate.BaseMeasureUnitCode = "EA";
lsPriceComponent.Rate.CurrencyCode = "EUR";
lsPriceComponent.Rate.DecimalValue = 10;
this.PriceAndTaxCalculationItem.OperationalItemPriceComponent.Create(lsPriceComponent);
You would have to change some of the values here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.