FiscalEstablishmentFiscalDocumentType_BR::findFiscalDocumentType Method
Returns the default fiscal document type for the given customer, fiscal establishment, and item type.
Syntax
server public static RefRecId findFiscalDocumentType(FiscalEstablishment_BR _fromFiscalEstablishment, FiscalEstablishmentId_BR _toFiscalEstablishmentId)
Run On
Server
Parameters
- _fromFiscalEstablishment
Type: FiscalEstablishment_BR Table
The From fiscal establishment.
- _toFiscalEstablishmentId
Type: FiscalEstablishmentId_BR Extended Data Type
The ID of the To fiscal establishment.
Return Value
Type: RefRecId Extended Data Type
The default fiscal document type.