meridianww / M4PLBase

0 stars 1 forks source link

Update NAV SO/PO Logic for Quantity to Sum Cargo Qty Delivered Field Instead of Job Qty Actual Value (No Electrolux changes) #469

Closed nmfujimoto closed 3 years ago

nmfujimoto commented 3 years ago

When creating NAV SO/PO's need to sum all Cargo (All non-Electrolux orders) Qty Delivered field when sending Quantity value for SO/PO line items. Cannot use Job Qty Actual value since that does not factor in Overage, Shortage or Damaged cargo.

For non-Electrolux orders the Packaging Type will be "PCS" so need to look at Quantity Units value. Only count (sum) Quantity Units value of "CABINET"and populate the SO/PO line item Delivery Charge with the summed value.

nmfujimoto commented 3 years ago

image

nmfujimoto commented 3 years ago

Initially populate default delivery charge with Job Qty Actual and then upon "Delivered" gateway added to job update the default delivery charge quantity value with summed cargo ("CABINET") Qty Delivered value.