...
END;
END;
// Delete the following line.
BEGIN
END.
}
}
...
...
END;
END;
// Add the following lines.
LOCAL PROCEDURE CheckCompanyName@1010007();
VAR
CompanyInfo@1010000 : Record 79;
BEGIN
CompanyInfo.GET;
IF DELCHR(CompanyInfo.Name) = '' THEN
CheckPaymJnlLine.InsertErrorLog(Text007);
END;
LOCAL PROCEDURE CheckCustVendName@1010008(VAR PmtJnlLine@1010000 : Record 2000001);
VAR
Vendor@1010001 : Record 23;
Customer@1010002 : Record 18;
BEGIN
CASE PmtJnlLine."Account Type" OF
PmtJnlLine."Account Type"::Vendor:
IF Vendor.GET(PmtJnlLine."Account No.") THEN
IF DELCHR(Vendor.Name) = '' THEN
CheckPaymJnlLine.InsertErrorLog(STRSUBSTNO(Text001,Vendor.FIELDCAPTION(Name),Vendor.TABLECAPTION,
Vendor."No.",PmtJnlLine.TABLECAPTION,PmtJnlLine.FIELDCAPTION("Line No."),PmtJnlLine."Line No."));
PmtJnlLine."Account Type"::Customer:
IF Customer.GET(PmtJnlLine."Account No.") THEN
IF DELCHR(Customer.Name) = '' THEN
CheckPaymJnlLine.InsertErrorLog(STRSUBSTNO(Text001,Customer.FIELDCAPTION(Name),Customer.TABLECAPTION,
Customer."No.",PmtJnlLine.TABLECAPTION,PmtJnlLine.FIELDCAPTION("Line No."),PmtJnlLine."Line No."));
END;
END;
BEGIN
// End of the lines.
END.
}
}
...