Hey All,

Many times we get the following error message while saving the salesline
record

Cannot edit a record in Order lines (SalesLine).
Another user changed one or more fields in the record, or the Form has not
selected all fields. Use Restore on the Command menu to get the new value.

Do anyone have idea why we get this error?

I have read in one post this is the error bcoz of following lines in the
Insert method of SaleLineType class:

salesLine.doInsert();
salesLine.calcCreditEstimate();

We get this error bcoz this is updating some fields after inserting the
record.

And this error will not be there if we change the sequence of the statement
i.e.

salesLine.calcCreditEstimate();
salesLine.doInsert();


Please let me know if anybody has any idea abt this.

-- 
Cheers!
Learning Ax


[Non-text portions of this message have been removed]

Reply via email to