Share via


PayrollPayStatementGenerateVendorInvoice.generateVendorInvoice Method [AX 2012]

Calls the vendor invoice service to create a new invoice.

Syntax

protected AifEntityKeyList generateVendorInvoice(VendInvoice _vendInvoice)

Run On

Called

Parameters

  • _vendInvoice
    Type: VendInvoice Class
    The VendInvoice object that contains the invoice data to create.

Return Value

Type: AifEntityKeyList Class
An entity key list for all the created invoices.

Exceptions

Exception Condition
Error

Not all the invoices were created successfully.

See Also

Reference

PayrollPayStatementGenerateVendorInvoice Class