Compartir a través de


PurchLine.initFromVendInvoiceTrans Method

Initializes a PurchLine table buffer based on a packing invoice line.

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
          public void initFromVendInvoiceTrans(
            VendInvoiceTrans _vendInvoiceTrans, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _pdsCWQty])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initFromVendInvoiceTrans(
            VendInvoiceTrans _vendInvoiceTrans, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _pdsCWQty])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void initFromVendInvoiceTrans(
            VendInvoiceTrans _vendInvoiceTrans, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _pdsCWQty])

  Microsoft Dynamics AX 2012 (FPK)
          public void initFromVendInvoiceTrans(
            VendInvoiceTrans _vendInvoiceTrans, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

  Microsoft Dynamics AX 2012 (SYS)
          public void initFromVendInvoiceTrans(
            VendInvoiceTrans _vendInvoiceTrans, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

Run On

ClientOrServer

Parameters

  • _copyPrecisely
    Type: boolean
    A Boolean value that specifies whether to precisely copy all details; optional.
  • _copyPriceDisc
    Type: boolean
    A Boolean value that specifies whether to copy the price discount fields; optional.
  • _copyQty
    Type: boolean
    A Boolean value that specifies whether to copy the quantity information; optional.
  • _qty
    Type: Qty Extended Data Type
    A quantity which overrides the PurchQty field value of the new PurchLine buffer to be different than value of the other table buffer; optional.
  • _pdsCWQty
    Type: PdsCWInventQty Extended Data Type
    A catch weight quantity which overrides the PdsCWQty field value of the new PurchLine buffer to be different than the value of the other table buffer; optional.

See Also

Reference

PurchLine Table