Hello everyone,
I'm creating an extension class for table SubBillDeferralTransactionLineDeferral, and inside we create method for initFromSalesLine(SalesLine _salesLine, boolean _defaulting, boolean _maintainPostingAccount)
In the middle of that method, we put / next initFromSalesLine (_salesLine, _defaulting);/ right after several more codes.
Later in other class, I want to insert some data into this table, by having this kind of statement:
SubBillDeferralTransactionLineDeferral deferralTableInsert;
ttsbegin;
deferralTableInsert.clear();
deferralTableInsert.initFromSalesLine(MycustInvoiceTrans.salesLine(),true);
deferralTableInsert.insert();
ttscommit;
To my surprise, when I debug the line /deferralTableInsert.initFromSalesLine(MycustInvoiceTrans.salesLine(),true);/ , while I understand it can to that earlier extension class, I'm wondering why it does not hit the original method from that table as well ?
Because I put breakpoint on the table's method, however it is not stop there, also I found there is no data updated while it should have if the original method being called.
May I have some clue what could possibly wrong ?
Thanks