CustInvoicePackingSlipQuantityMatch::matchPackingSlipTransSourceDocumentLine Method
Matches a packing slip line against the invoice line that is posted and updates the packing slip line to fully match if the packing slip line is fully invoice updated.
Syntax
client server public static void matchPackingSlipTransSourceDocumentLine(
RecordInsertList _recordInsertListCustInvoicePackingSlipMatch,
RefRecId _invoiceSourceDocumentLine,
CustPackingSlipTrans _custPackingSlipTrans,
SalesQty _salesQuantity,
[InventQty _inventQuantity])
Run On
Called
Parameters
- _recordInsertListCustInvoicePackingSlipM
Type: RecordInsertList Class
- _invoiceSourceDocumentLine
Type: RefRecId Extended Data Type
The record ID for the SourceDocumentLine record that relates to the invoice line.
- _custPackingSlipTrans
Type: CustPackingSlipTrans Table
The PackingSlipTrans record that is matched against the invoice line that is posted.
- _salesQuantity
Type: SalesQty Extended Data Type
The sales quantity for the invoice line that is matched against the packing slip line.
- _inventQuantity
Type: InventQty Extended Data Type
The inventory quantity for the invoice line that is matched against the packing slip line; optional.