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 can post Customer Receipts even if the Sales Invoice is not posted. Supervisors can post the invoice and create customer receipts 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 Cash Receipts, to the Sales Invoice page (with record type = POS) for users to enter. (done)
Payment MethodDocument No. (default to today’s date YYYYMMDD, users can overwrite it with the customer’s check number)
Amount
...
Replace current Post button with Add a new Post . button.
...
Only for record type = POS
Cash Receipts button to the POS Sales Invoice to create and post Customer Receipts and apply Customer Receipts to the Sales Invoice.
...
Check total Amount from the related list, Customer Payments.
If it is different from Remaining Amount of the Sales Invoice, error.
...
Create Customer Receipts for the Customer Payment.
One receipt for one payment
Payment Method picklist on Csutomer Receipt should have the above values.
...
Post Customer Receipts and apply them to the Sales Invoice.
...
Done
Error if the Sales Invoice is not posted.
Error if the total payment does not equal the total Sales Invoice Amount
Add a Sales Invoice lookup field to the Customer Receipt page.
Copy Sales Invoice to Customer Receipt.
Make sure to copy the Payment Method to the Customer Receipt.
Payment Method picklist on Customer Receipts should have the same values listed above
Bank Account must be the Undeposted Cash Account defined on the Company Setup.
To unpost to correct cash receipt 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.
Then click the Post Cash Receipts button again.
The End of Date report must be based on Customer Receipts.
We may need to create a few formula fields on Customer Receipts to get data (such as Warehouse) from the Sales Invoice.