Staff 1 :- S005 (Manager)
Staff 2 :- S006 (Manager)
Staff 3 :- S008 (Cashier)
Scenario 1 :- If Staff 1 does a remove tender
of $100 and staff 2 does a remove tender $200, the code filters through the
staff and only prints the last staff remove tender based on order in the staff
table . So, because staff 2 ID number (S006) comes after Staff 1 ID number
(S005), the Z-Report will only print Staff 2 remove Tender of $200.
Scenario 2 :- If Staff 1 does a remove tender
of $500 and staff 3 does a normal sale transaction of $20, the Z-Report will
not print any remove tender. This is because, same as scenario 1, Staff 3 ID
number (S008) comes after Staff 1 ID number (S005) and Staff 3 doesn’t have a
remove tender attached to it so it shows no remove tender on the Z-Report even
though Staff 1 did a remove tender.
This was a bug in LS Code that was updated and resolved in
Business Central 13 (see below).
Codeunit:-
99008903 POS Print Utility
Documentation:-
LS-9602 ThJ - Mark Trans. Payment entries
from all Staff with Z-Id when "Statement Method" = Total
Function:-
PrintXZLines
Code:-
IF StaffID_p <> '' THEN
PaymEntry.SETRANGE(PaymEntry.StaffID,StaffID_p);
//LS-9602 -
ELSE
PaymEntry.SETRANGE("Staff ID");
ELSE
PaymEntry.SETRANGE("Staff ID");
//LS-9602 +
No comments:
Post a Comment