...
...
Índice |
---|
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 |
Informações | ||
---|---|---|
| ||
When the parameter MV_ATUCOMP is set to .T. when generating the incoming document or completing the order, the Complementary Invoice Information add-on (CDT) will be completed automatically. |
Informações | ||
---|---|---|
| ||
If the complementary description of the C110 record is field(C5_MENPAD + C5_MENNOTA), simply create a formula in "Formulas" (CFGX019) concatenating this information and then fill the formula in the F4_FORINFC field of the TIO. In the file generation, just configure the MV_SPDIFC parameter = 3,so the system will run the formula registered in the F4_FORINFC field to return the description of the record in the file. |
Informações | ||
---|---|---|
| ||
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. |