Update the values in sales table from custtable for each and every customer.

Initially added enum Field called status in both custtable and salestable.My question is while creating a new sales order, a customer account is selected and when selected ,status for that customer should be displayed .I used display method in salestable to display the customer status for particular customer in salescreateorder form and I dont know how to update that displayed status in salestable.

If you are using a display methos on salestable you can’t modified this field, if you wantto update you have to do on customer form.

Thank You XBB .
I will see to it.

Hi sanshe46 ,
There is a method called init fromcusttable in salestable.That may useful to you…

Yeah Exactly.This method helped me to get the answer .