How to select the customer on the name field by pull-down grid like customer account? Also, when I select the customer through the pull-down grid on the name field, the data will be fetched to corresponding fields like by customer account field.
My plan is to create lookup form(the pull-down grid) and when I select the the customer through the pull-down grid on the name field, customer account is set by code and it is supposed to be like select the customer through selecting pull-down grid on customer account. Finally, the data will be fetched to corresponding fields like by customer account field.
However, I cannot set the customer account. I wrote some code in the init method of SalesCreateOrder form.
void init()
{
...
salesTable.CustAccount = "cust-001";
salesTable_CustAccount.text("cust-001");
salesTable_CustAccount.modified();
}
Or does anyone have other solutions?
*This post is locked for comments
I have the same question (0)