Background
AATC will use Sales Invoices with Record Type = POS, to record sales transactions and then collect payments using a register.
If a customer wants to pay by credit card, AATC will use existing credit card machines (not GoldFinch yet) to charge.
AATC then posts the Sales Invoice and create a Customer Receipt to apply it to the Sales Invoices.
Issue
Sometimes posting a sales invocies invoice could fail because there is no inventory. If a Sales Invoice is not posted, users will not be able to create a Customer Receipt.
We still want clerks users to be able to enter cash receipts, and supervisors Customer Receipts even if the Sales Invoice is not posted. Supervisors can post it later when the inventory is fixed.
One Sales Invoices Invoice can potentially can have multiple cash receipst Customer Receipts by Payment Methods.
Payment Method
Cash
Check
AM EX
Visa
Master Card
Discovery
Zelle
Wire
Rental
Add a related list, Customer PaymentsPOS Receipts, to the Sales Invoice page (with record type = POS) for users to enter
Payment Method
Document No. (default to today’s date YYYYMMDD, users can overwrite it with the customer’s check number)
Amount
Replace the current Post button with a new Post. button.
Only for record type = POS
If Document Status = Open, post the Sales Invoice.
Check the total Amount from the related list, Customer PaymentsPOS Receipts.
If it is different from the Remaining Amount of the Sales Invoice, error.
Create Customer Receipts for the Customer Payment.
One receipt for one payment. One Customer Receipt per POS Receipt.
Payment Method picklist on Csutomer Receipt Customer Receipts should have the same values listed above values.
Post Customer Receipts and apply them to the Sales Invoice.
To unpost to current correct mistakes. Users must:
Unpost Customer Receipts one by one.
Delete Customer Receipts
Then correct Customer Payments on the Sales Invoice.
Or unpost Sales Invoice to correct it.
...