FiscalEstablishment_BR.turnOnNfeContingencyMode Method
Turn on the contingency mode for the fiscal establishment.
Syntax
public boolean turnOnNfeContingencyMode(EFDocContingencyReason_BR _reason, EFDocContingMode_BR _mode)
Run On
Called
Parameters
- _reason
Type: EFDocContingencyReason_BR Extended Data Type
The reason of the EFDocContingencyMode_BR record to be created.
- _mode
Type: EFDocContingMode_BR Enumeration
The mode of the EFDocContingencyMode_BR record to be created.
Return Value
Type: boolean
true if the method was able to set the new contingency mode (off).
false if the contingency mode of the fiscal establishment was the same, so, the method did not set a new contingency mode.