Hi ,
In my bpm'online application the priceList section not working the properly.To fixed the issue I try to create Replacing Client Module and changes in "onPriceListChange" code section but not able to get information of PriceList selected field value .
Like
Try to debug the code of the module on the client end and find similar functionality.
https://academy.bpmonline.com/documents/technic-sdk/7-13/client-code-debugging
Usually, it's like this.get("PriceList")
Thanks Eugene.
I am using below code on pricelist change section :
onPriceListChange: function(item,value) {
if (this.isEmpty(value)) {
const basePriceList = this.get("BasePriceList");
const productPrices = item.get("PriceListList");
value = productPrices.get(basePriceList.value);
}
window.console.log("PriceList: ", value);
const priceListPrice = value.Price;
item.set("Price", priceListPrice);
},
but value section not containing the Price & PriceDisplayValue
it's displaying only information like
- customHtml: "Franchisee"
- displayValue: "Franchisee"
- markerValue: "Franchisee"
- primaryImageVisible: false
Is there is any function which I can used to get pricelist value of any specific product based on value: "5ebfccd7-77e2-4b4d-8417-fc33c90a76f0".