[Checkout] Creates Cash type for customer charges for Pump Items

Issue No: ST-1041
Created 11/7/2018 1:14:40 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description *Step to reproduce:*   # Create Checkout # Enter valid checkout details # Enter customer charges details # !pastedImage_d107755_0.png! # Click save > send to office and post     *Issue:*   1.   Verify the sales invoice created for Charge Sales Invoice (customer charges tab) hilighted above   Notice that the Type: Cash   Customer : apple spice sales     this was created separately instead of include it in the main checkout. !pastedImage_d107755_1.png!       2.   Verify the sales invoice maint   Item does not show in the sales invoice - main   !pastedImage_d107755_2.png!         *Accepted:*   for Pumped Item   When Customer Charge Amount > 0   * Main Checkout Sales Invoice ** Use Quantity = Checkout Charge > Quantity * -1 ** Use Price = Checkout > Customer Charge > Price - Fuel Taxes * Charge Sales Invoice ** *Use Type of Invoice* ** Use Quantity = Checkout Charge > Quantity ** Use Price = Checkout > Customer Charge > Price - Fuel Taxes   When Customer Charge Amount < 0   * Main Checkout Sales Invoice ** Use Quantity = Checkout Charge > Quantity * -1 ** Use Price = Checkout > Customer Charge > Price - Fuel Taxes * Charge Sales Invoice ** *Use Type of Credit Memo* ** Use Quantity = Checkout Charge > Quantity * -1 ** Use Price = Checkout > Customer Charge > Price - Fuel Taxes     this is based on http://jira.irelyserver.com/browse/ST-1020