MarkupTrans::updateTaxGroup Method
Updates the tax group for the misc. charges associated with an entity.
Syntax
server public static void updateTaxGroup(
TableId _tableId,
RecId _recId,
TaxGroup _taxGroup,
TaxGroup _origTaxGroup,
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.
- _taxGroup
Type: TaxGroup Extended Data Type
The new tax group.
- _origTaxGroup
Type: TaxGroup Extended Data Type
The prior tax 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 group are updated; otherwise, none are updated.