9. April 2008 07:22
9. April 2008 08:06
9. April 2008 09:18
9. April 2008 15:26
RabattText := '';
SalesLine.RESET;
SalesLine.SETCURRENTKEY("Document Type","Document No.","Line No.");
SalesLine.SETRANGE("Document Type", SalesHeader."Document Type");
SalesLine.SETRANGE("Document No.", SalesHeader."No.");
SalesLine.SetFilter("Line Discount %" , '<>%1', 0);
if SalesLine.findfirst then
RabattText := 'Rabatt';
10. April 2008 08:06
RabattText := '';
"Sales Invoice Line".RESET;
"Sales Invoice Line".SETCURRENTKEY("Document No.","Line No.");
"Sales Invoice Line".SETRANGE("Document No.", "Sales Invoice Header"."No.");
"Sales Invoice Line".SETRANGE("Sales Invoice Header"."No.");
"Sales Invoice Line".SETFILTER("Line Discount %" , '<>%1', 0);
IF "Sales Invoice Line".FINDFIRST THEN
RabattText := 'Rabatt%';
10. April 2008 08:31
Harrison hat geschrieben:kann mal jemand drüber fliegen und schauen was ich da falsch mache?
"Sales Invoice Line".SETRANGE("Sales Invoice Header"."No.");
SalesLine.SETRANGE("Document Type", SalesHeader."Document Type");
10. April 2008 15:14
// SalesLine.SetFilter("Line Discount %" , '<>%1', 0);
// if SalesLine.findfirst then
10. April 2008 17:13
IF "Sales Invoice Line".FINDFIRST THEN
RabattText := 'Rabatt%';
11. April 2008 11:36
12. April 2008 10:09
SalesInvLine.SETRANGE("Sales Invoice Header"."No.");
12. April 2008 15:03
SalesInvLine.SETRANGE("Document No.", "Sales Invoice Header"."No.");
14. April 2008 06:46