Hi Everyone
I want find the order product (orderdetail) linke salesorderid and productid. see below
I can show order lookup . However below code does not show salesorderid or productid (need the onscreen value of product id rather than database)
var formContext = executionContext.getFormContext();
var productid = formContext.getAttribute("productid").getValue();
var baseamount = formContext.getAttribute("baseamount").getValue();
if (baseamount) {
alert("Base amount: " + baseamount);//works
}
if (productid) {
alert("Product ID: " + productid);//not wrking
}
if (salesOrderId) {
alert("Sales Order ID: " + salesOrderId);//not working
}