how to populate price in line level custom attribute through pricing engine
Summary
how to populate price in line level custom attribute through pricing engineContent
Dear All,
We are trying to populate price in a custom attribute rather than unit price or listPrice.
we are unable to pass the price in the custom attribute.
please check this piece of code where afterDFRPrice_l is custom attribute
n_CPLPrice = 5000;
returnPayload=json();
calculationInfoPayload = json(); // Add the pricing components to the calculation json.
jsonput(calculationInfoPayload,"listPrice",n_CPLPrice ); // Add the list price to the calculationInfo json.
//jsonput(calculationInfoPayload,"afterDFRPrice_l",n_CPLPrice ); // Add the list price to the calculationInfo json.
//jsonput(returnPayload, "unitPrice", n_CPLPrice );