Product: | TOTVS Backoffice |
Product Line: | Microsiga Protheus Line |
Industry: | Services |
Module: | Fixed Assets - SIGAATF |
Function: | Transfer - ATFA060 |
Country: | Brazil |
Ticket: | 10849326 |
Requirement/Story/Issue: | DSERCTR1-31332 |
When transferring an asset "To Be Classified", type NFE is always used as default in field FN9_CLSNF.
We have created an EP for changing the default invoice type "To Be Classified" based on SX5 types.
Important: In the default settings, when generating a transfer with invoice "To Be Classified", it will always be initialized with NFE unless the EP is used.
New EP EXISTESPEC
The purpose of this entry point is to change the default initializer in field FN9_ESPECI and then move it to field F1_ESPECIE with the initialized type found in SX5, as desired.
...
The examples used in this documentation are merely illustrative and have pedagogical purposes. The operation and goal of the Entry Point is of the customer's full responsibility.
Entry Point Parameters:
Parameter | Type | Description | Required |
PARAMBIX[1] | Not Applicable. | Not Applicable. | No |
What the entry point must return
Return | Type | Description | Required |
cEspecie | Character | Return option of SX5 to initialize the field | Yes |
Example of rule used Expandir origem
...
cEspecie := "SPED"
return cEspecie