ProjInvoiceTransEInvoiceTransMap_MX::construct Method [AX 2012]

Creates a object of the correct ElectronicInvoiceTransBaseMap_MX concrete implementation based on the _originalJournalLine table id

server public static ProjInvoiceTransEInvoiceTransMap_MX construct(ProjInvoiceTransMap_MX _projInvoiceTrans)

Run On

Server

Parameters

_projInvoiceTrans
Type: ProjInvoiceTransMap_MX Map
Original invoice journal line that will be mapped to EInvoiceTransBaseMap_MX

Return Value

Type: ProjInvoiceTransEInvoiceTransMap_MX Class
An EInvoiceTransBaseMap_MX instantiated object

ExceptionCondition
Error

If the provided _originalJournalLine is not supported

It is called by Allways EInvoiceTransBaseMap_MX.

Always use this method to create new instances of EInvoiceTransBaseMap_MX classes

Show: