LvNRTaxTrans::createFromInventTrans Method
Creates LvNRTaxTrans table records from an InventTrans record.
Syntax
server public static void createFromInventTrans(
InventTrans _inventTrans,
LvNRTransType _transType,
TableId _transTableId,
RecId _transRecId,
TaxBase _taxBase,
TaxGroup _taxGroup,
[InventPackingUnit _unit])
Run On
Server
Parameters
- _inventTrans
Type: InventTrans Table
The InventTrans record.
- _transType
Type: LvNRTransType Enumeration
The LvNRTransType NR transaction type.
- _transTableId
Type: TableId Extended Data Type
The reference to the table ID.
- _transRecId
Type: RecId Extended Data Type
The reference to the record ID.
- _taxBase
Type: TaxBase Extended Data Type
The tax base amount.
- _taxGroup
Type: TaxGroup Extended Data Type
The tax group for invoice transactions.
- _unit
Type: InventPackingUnit Extended Data Type
The inventory packing unit ID; optional.