You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IsHandled := false;
OnBeforeInsertJobLedgerLine(IntrastatReportLine, "Jo Ledger Entry", IsHandled);
if not IsHandled then
InstrastatReportLine.Insert();
IntrastatReportLine."Record ID Filter" := Format(IntrastatReportLine.RecordId);
IntrastatReportLine.Modify();
After Update
IsHandled := false;
OnBeforeInsertJobLedgerLine(IntrastatReportLine, "Jo Ledger Entry", IsHandled); if IsHandled then
exit;
InstrastatReportLine.Insert();
IntrastatReportLine."Record ID Filter" := Format(IntrastatReportLine.RecordId);
IntrastatReportLine.Modify();
Additional context
This changes is needed because if we are skipping insert then we are getting error for modify. So the Ishandled should be applied for both iinsert and modify.
The text was updated successfully, but these errors were encountered:
Describe the request
Before Update
IsHandled := false;
OnBeforeInsertJobLedgerLine(IntrastatReportLine, "Jo Ledger Entry", IsHandled);
if not IsHandled then
InstrastatReportLine.Insert();
IntrastatReportLine."Record ID Filter" := Format(IntrastatReportLine.RecordId);
IntrastatReportLine.Modify();
After Update
IsHandled := false;
OnBeforeInsertJobLedgerLine(IntrastatReportLine, "Jo Ledger Entry", IsHandled);
if IsHandled then
exit;
InstrastatReportLine.Insert();
IntrastatReportLine."Record ID Filter" := Format(IntrastatReportLine.RecordId);
IntrastatReportLine.Modify();
Additional context
This changes is needed because if we are skipping insert then we are getting error for modify. So the Ishandled should be applied for both iinsert and modify.
The text was updated successfully, but these errors were encountered: