TrvExpTrans::insertRemainingWithGivenCategory Method
Adds a new child line of given category with the remaining amount on the itemized or split header.
Syntax
client server public static boolean insertRemainingWithGivenCategory(
RecId _headerRecId,
TrvCostTypeEDT _expCategoryId,
[NoYes _isSplittedToPersonal])
Run On
Called
Parameters
- _headerRecId
Type: RecId Extended Data Type
The RecId of the itemized or split header.
- _expCategoryId
Type: TrvCostTypeEDT Extended Data Type
The category ID.
- _isSplittedToPersonal
Type: NoYes Enumeration
Boolean value that indicates whether this is an itemized header or split to personal header.
Return Value
Type: boolean
true if the insert was successful, false otherwise.