MarkupTrans::updateTaxItemGroup_BR Method
Updates the tax item group for the misc. charges associated with an entity.
Syntax
server public static void updateTaxItemGroup_BR(
TableId _tableId,
RecId _recId,
TaxItemGroup _taxItemGroup,
TaxItemGroup _origTaxItemGroup,
DialogButton _dialogButtonResult,
[boolean _onlyFixed])
Run On
Server
Parameters
- _tableId
Type: TableId Extended Data Type
The TableId of the entity.
- _recId
Type: RecId Extended Data Type
The RecId of the entity.
- _taxItemGroup
Type: TaxItemGroup Extended Data Type
The new tax item group.
- _origTaxItemGroup
Type: TaxItemGroup Extended Data Type
The prior tax item group for the entity.
- _dialogButtonResult
Type: DialogButton Enumeration
A result which indicates which misc. charges to update.
- _onlyFixed
Type: boolean
A boolean value indicating whether only misc charges of category Fixed should be updated, optional.
Remarks
If the _dialogButtonResult parameter is YesToAll then all misc. charges are updated, if it is Yes then only those with the same original tax item group are updated; otherwise, none are updated.