CustFiscalDocumentType_BR::findFiscalDocumentType Method
Returns the default fiscal document type for the given customer, fiscal establishment, and item type.
Syntax
server public static RefRecId findFiscalDocumentType(
CustAccount _custAccount,
FiscalEstablishment_BR _fiscalEstablishment,
ItemType _itemType)
Run On
Server
Parameters
- _custAccount
Type: CustAccount Extended Data Type
The customer account.
- _fiscalEstablishment
Type: FiscalEstablishment_BR Table
The fiscal establishment.
- _itemType
Type: ItemType Enumeration
The item type.
Return Value
Type: RefRecId Extended Data Type
The default fiscal document type.