TaxTrans::getOriginForSourceLine Method
Determines the origin for the transaction line.
Syntax
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign])
Run On
Called
Parameters
- _sourceTableId
Type: RefTableId Extended Data Type
Table ID of the transaction line.
- _sourceRecId
Type: RefRecId Extended Data Type
Record ID of the transaction line.
- _useDisplaySign
Type: boolean
true if the tax amount should have the proper sign for displaying on the user interface; otherwise, false.
Return Value
Type: TaxBase Extended Data Type
The tax origin for the transaction line if an origin could be determined; otherwise 0.