14. Mai 2007 14:47
SetDateFilter;
// CALCFIELDS("Scheduled Res. Qty."); -- Orginal
CALCFIELDS("Scheduled Res. Gr. Qty.");
IF "Entry Type" IN ["Entry Type"::Zugang,"Entry Type"::Abgang] THEN
TESTFIELD("Discount Amount",0);
TESTFIELD(Status,Status::Open);
IF "Prices Including VAT" <> xRec."Prices Including VAT" THEN BEGIN
SalesLine.SETRANGE("Document Type","Document Type");
SalesLine.SETRANGE("Document No.","No.");
SalesLine.SETFILTER("Job Contract Entry No.",'<>%1',0);
IF SalesLine.FIND('-') THEN BEGIN
SalesLine.TESTFIELD("Job No.",'');
SalesLine.TESTFIELD("Job Contract Entry No.",0);
END;
// +++ das sollte noch rein
SalesLine.reset;
// ---
SalesLine.SETRANGE("Document Type","Document Type");
SalesLine.SETRANGE("Document No.","No.");
SalesLine.SETFILTER("Unit Price",'<>%1',0);
SalesLine.SETFILTER("VAT %",'<>%1',0);
IF SalesLine.FINDFIRST THEN BEGIN
22. Mai 2007 20:57
26. Juni 2007 13:52
26. Juni 2007 13:55
26. Juni 2007 20:45
26. Juni 2007 20:51