if ( !$this->NfeHeader->save($save2, true, [ "is_active", "nfe_return_code_id", ]) ): $ds->rollback(); throw new Exception( __("Houve um erro ao processar o estoque.") ); endif; $this->afterTransmit($this->NfeHeader->id); $ds->commit(); $msg = $Consulta->protNFe->infProt->xMotivo;
## 4-B - Software Acceptance Criteria ### 4-B-1 - Macros - Test Cases #### 4-B-1-1 - Macros Test Cases - Main | Test Case | Description | Priority | | --- | --- | --- | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | #### 4-B-1-2 - Macros Test Cases - Sub | Test Case | Description | Priority | | --- | --- | --- | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test Case 1 | Description | Mandatory | | Test