TrvExpTrans::insertNewRecord Method
Adds a new expense line to the specified expense report.
Syntax
client server public static void insertNewRecord(TrvExpNumber _expNumber, TrvCostTypeEDT _costType)
Run On
Called
Parameters
- _expNumber
Type: TrvExpNumber Extended Data Type
The expense report number.
- _costType
Type: TrvCostTypeEDT Extended Data Type
The category ID.
Exceptions
Exception | Condition |
---|---|
Error | If an invalid expense number is passed, error is thrown. |