Parts Invoicing/Parts Invoice - By Customer Number/Work Order Parts Requisition/Work Order Parts Requisition - Back Orders by Work Order Number

Data Source: SALORD

Note:  Invoices that are considered "complete" will only be listed on the following screens if the Sales Order Invoice History retention period is set to 0 in the RETNHIS table of the green screen application, the status of the invoice is A in the SOSTA field of the SALORD file, and any of the following is true:
- There is a detail line for the invoice in the SALDET file where the total quantity ordered is not equal to the total quantity issued (SDTORDSDTINV)
- There are no detail lines for the invoice in the SALDET file
- The customer PO number (CUPO) is "$STOCK$" and a detail line has an open PO (SDPO in PURORD)
- There is an outstanding deposit in the SALORD file (SORDA0)