Hi I have below lines and it is giving above error. In case of blank billdate it is giving error what i think BillDate := 0d NoOfDays := 0; If pLine."Vendor Invoice Date" <> 0D then BillDate := "Vendor Invoice Date"; NoOfDays := "Vendor Ledger Entry"."Posting Date" - BillDate; Thanks
↧