Share via


TrvImportReceiptsBatch_ExpenseReport::construct Method [AX 2012]

Initializes a new instance of the TrvImportReceiptsBatch_ExpenseReport class.

Syntax

server public static TrvImportReceiptsBatch_ExpenseReport construct()

Run On

Server

Return Value

Type: TrvImportReceiptsBatch_ExpenseReport Class
A new instance of the TrvImportReceiptsBatch_ExpenseReport class.

Remarks

Use the following procedure to customize or extend the TrvImportReceiptsBatch_ExpenseReport class.

  1. Create a new class that derives from TrvImportReceiptsBatch_ExpenseReport.

  2. Overlayer the construct method on TrvImportReceiptsBatch_ExpenseReport so that it returns an instance of the derived class.

  3. Override the methods from the TrvImportReceiptsBatch_ExpenseReport class that you want to customize or extend in your derived class.

This procedure helps make sure that your customizations are maintained if the base version of the TrvImportReceiptsBatch_ExpenseReport class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.

See Also

Reference

TrvImportReceiptsBatch_ExpenseReport Class