Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.