12. Mai 2011 14:47
12. Mai 2011 14:50
7. Juni 2011 16:33
7. Juni 2011 16:51
7. Juni 2011 18:20
recItemLedgerEntry.RESET;
recItemLedgerEntry.SETCURRENTKEY("Entry Type","Item No.","Variant Code","Source Type","Source No.","Posting Date");
recItemLedgerEntry.SETRANGE("Entry Type", recItemLedgerEntry."Entry Type"::Sale);
recItemLedgerEntry.SETRANGE("Item No.", recItem."No.");
recItemLedgerEntry.SETRANGE("Source Type", recItemLedgerEntry."Source Type"::Customer);
recItemLedgerEntry.SETRANGE("Source No.", recItem."Kundennr.");
IF NOT recItemLedgerEntry.FIND('+') THEN
CLEAR(recItemLedgerEntry);