Configuration is available for automatic completion of the invoice complement (MATA926) "Complementary Invoice Information" (CDT table) that generates the C110 record in the magnetic file ICMS/IPI EFD.
Variable Name | MV_ATUCOMP |
---|---|
Type | Logical |
Content | .T. |
Description | Indicate whether to use automatic update for SPED Tax Document Complements. |
Variable Name | MV_SPDIFC |
---|---|
Type | Numeric |
Content | 0 |
Description | Print the C110 Rec.'s TXT_COMPL field. 0-CCE_DESCR field; 1-CDT_DCCOMP field; 2- F1/F2_MENNOTA field; 3- TIO F4_CODINFC/F4_FORINFC |
Important!
Important!
Suggestion
You can use calls from other functions when assembling the formula to be executed, such as the Formula() function to execute and obtain the result of another formula previously registered. In the example below, when booking the incoming invoice and executing this record, the system will first get the formula result that will be stored in the F1_MENPAD field, then concatenate it with another string filled in the F1_MENNOTA field:
Also, it is possible to use other standard functions or even user functions (called customizations), as needed.