AssetAddition.getNextAdditionNumber Method
Generates the asset addition number for the new AssetAddition table.
Syntax
public AssetAdditionNum getNextAdditionNumber(AssetId _assetId, AssetAdditionRecNumber _recordNumber)
Run On
Called
Parameters
- _assetId
Type: AssetId Extended Data Type
The fixed asset ID associated with the fixed asset.
- _recordNumber
Type: AssetAdditionRecNumber Extended Data Type
The value of the AdditionRecNumber field for the new record.
Return Value
Type: AssetAdditionNum Extended Data Type
The AssetAdditionNum extended data type specified by the additionNumber parameter.
Remarks
This method is called from the initValue method on the AssetAddition form.
It returns an empty string if the given fixed asset ID does not exist.