TaxesMatrix_BR::findTaxGroups Method
Searches for a TaxesMatrix record, based on the relation (All, Group, or Table) and the predefined option (account or item)
Syntax
client server private static TaxesMatrix_BR findTaxGroups(
RefRecId _cfopGroupRecId,
CustVendType_BR _custvendType,
InventCustVendRel _custVendCode,
ItemRelation _itemCode,
FiscalEstablishmentGroupRecId_BR _fiscalEstablishmentGroupRecId,
[NoYes _serviceItem])
Run On
Called
Parameters
- _cfopGroupRecId
Type: RefRecId Extended Data Type
The CFOP group.
- _custvendType
Type: CustVendType_BR Enumeration
The customer or vendor type.
- _custVendCode
Type: InventCustVendRel Extended Data Type
The customer or vendor account.
- _itemCode
Type: ItemRelation Extended Data Type
The item code.
- _fiscalEstablishmentGroupRecId
Type: FiscalEstablishmentGroupRecId_BR Extended Data Type
The fiscal establishment group.
- _serviceItem
Type: NoYes Enumeration
A value that indicates whether the item is defined as a service.
Return Value
Type: TaxesMatrix_BR Table
The TaxMatrix record to use.