Share via


EFDocRecXmlMapToViLineTmp_BR::create Method

Creates a mapping between Vendor Invoice lines and Received Xml lines A mapping line will be created for each one of the below scenarios: - Xml line item code matches the vendor invoice line item code through the external code. In this case, a mapping line will be created linking the xml line and the vendor invoice line.

- A xml line could not be found for a given vendor invoice line. In this case, a mapping line will be created, but it will just contain information for the vendor invoice line. The xml line information on this mapping line will be blank.

- A vendor invoice line could not be found for a given xml line. In this case, a mapping line will be created, but it will just contain information for the xml line. The vendor invoice line information on this mapping line will be blank.

Syntax

server public static EFDocRecXmlMapToViLineTmp_BR create(RecId _xmlViewRecId, VendInvoiceInfoTable _vendInvoiceInfoTable)

Run On

Server

Parameters

  • _xmlViewRecId
    Type: RecId Extended Data Type
    ID of the EFDocumentReceivedXmlView_BR table record from which the map will be created
  • _vendInvoiceInfoTable
    Type: VendInvoiceInfoTable Table
    Instance of the VendInvoiceInfoTable table from which the map will be created

Return Value

Type: EFDocRecXmlMapToViLineTmp_BR Table
An instance of EFDocMapXmlToVendInvoiceLineTmp_BR containing the mapped lines

See Also

Reference

EFDocRecXmlMapToViLineTmp_BR Table