TaxesMatrix_BR::findTaxGroupAndTaxItemGroup Method
Returns the tax group and item sales tax group that should be used.
Syntax
server public static container findTaxGroupAndTaxItemGroup(
RefRecId _cfopTableRecId,
SalesPurchOperationTypeRecId_BR _operationRecId,
SalesPurchTrntype_BR _transactionType,
CustVendType_BR _custVendType,
CustVendAC _custVendAcc,
ItemId _itemId,
FiscalEstablishmentGroup_BR _fiscalEstablishmentGroup,
[boolean _considersOperationType])
Run On
Server
Parameters
- _cfopTableRecId
Type: RefRecId Extended Data Type
The CFOP code.
- _operationRecId
Type: SalesPurchOperationTypeRecId_BR Extended Data Type
The operation type.
- _transactionType
Type: SalesPurchTrntype_BR Enumeration
The transaction type.
- _custVendType
Type: CustVendType_BR Enumeration
The customer or vendor definition.
- _custVendAcc
Type: CustVendAC Extended Data Type
The customer or vendor account.
- _itemId
Type: ItemId Extended Data Type
The item ID.
- _fiscalEstablishmentGroup
Type: FiscalEstablishmentGroup_BR Table
The fiscal establishment group.
- _considersOperationType
Type: boolean
A value that indicates whether the operation type is considered.
Return Value
Type: container
A container that holds both groups (tax group and item sales tax group).