PurchInvoiceJournalPost.insertMatchingSourceDocumentLine Method [AX 2012]

Inserts a VendInvoicePackingSlipQuantityMatch record into the RecordInsertList table that will be used to match packing slips and invoices.

NoteNote

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 insertMatchingSourceDocumentLine(
            SourceDocumentLineRecId _invoiceSourceDocumentLine, 
            SourceDocumentLineRecId _packingSlipSourceDocumentLine, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void insertMatchingSourceDocumentLine(
            SourceDocumentLineRecId _invoiceSourceDocumentLine, 
            SourceDocumentLineRecId _packingSlipSourceDocumentLine, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void insertMatchingSourceDocumentLine(
            SourceDocumentLineRecId _invoiceSourceDocumentLine, 
            SourceDocumentLineRecId _packingSlipSourceDocumentLine, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity, 
            PdsCWInventQty _cwQuantity])

  Microsoft Dynamics AX 2012 (FPK)
          protected void insertMatchingSourceDocumentLine(
            SourceDocumentLineRecId _invoiceSourceDocumentLine, 
            SourceDocumentLineRecId _packingSlipSourceDocumentLine, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity])

  Microsoft Dynamics AX 2012 (SYS)
          protected void insertMatchingSourceDocumentLine(
            SourceDocumentLineRecId _invoiceSourceDocumentLine, 
            SourceDocumentLineRecId _packingSlipSourceDocumentLine, 
            PurchQty _purchQuantity, 
           [InventQty _inventQuantity])

Run On

Server

Parameters

_invoiceSourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The ID of the SourceDocumentLine record that relates to the invoice line.
_packingSlipSourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The ID of the SourceDocumentLine record that relates to the packing slip record that is matched with the invoice line.
_purchQuantity
Type: PurchQty Extended Data Type
The purchase quantity of 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.
_cwQuantity
Type: PdsCWInventQty Extended Data Type
The catch weight quantity for the invoice line that is matched against the packing slip line; optional.

Community Additions

ADD
Show: