Share via


PurchInvoiceJournalPost.matchPackingSlipTransSourceDocumentLine Method [AX 2012]

Matches a packing slip line against the invoice line being posted and updates the packing slip line to fully matched if the packing slip line is fully invoice updated.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected void matchPackingSlipTransSourceDocumentLine(
            VendInvoiceInfoLine _vendInvoiceInfoLine, 
            VendPackingSlipTrans _vendPackingSlipTrans, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void matchPackingSlipTransSourceDocumentLine(
            VendInvoiceInfoLine _vendInvoiceInfoLine, 
            VendPackingSlipTrans _vendPackingSlipTrans, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void matchPackingSlipTransSourceDocumentLine(
            VendInvoiceInfoLine _vendInvoiceInfoLine, 
            VendPackingSlipTrans _vendPackingSlipTrans, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 (FPK)
          protected void matchPackingSlipTransSourceDocumentLine(
            VendInvoiceInfoLine _vendInvoiceInfoLine, 
            VendPackingSlipTrans _vendPackingSlipTrans, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            ParmId _excludeParmId])

  Microsoft Dynamics AX 2012 (SYS)
          protected void matchPackingSlipTransSourceDocumentLine(
            VendInvoiceInfoLine _vendInvoiceInfoLine, 
            VendPackingSlipTrans _vendPackingSlipTrans, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            ParmId _excludeParmId])

Run On

Server

Parameters

  • _vendPackingSlipTrans
    Type: VendPackingSlipTrans Table
    The VendPackingSlipTrans record that is being matched against the invoice line that is being posted.
  • _purchQuantity
    Type: PurchQty Extended Data Type
    The purchase quantity for the invoice line that is being matched against the packing slip line.
  • _inventQuantity
    Type: InventQty Extended Data Type
    The inventory quantity for the invoice line that is being matched against the packing slip line; optional.
  • _excludeParmId
    Type: ParmId Extended Data Type
    A ParmId value that indicates records that will be left out of the calculation; optional.

See Also

Reference

PurchInvoiceJournalPost Class