Páginas filhas
  • DT EP EXISTESPEC Fixed Asset Default Initializer F1_ESPECIE/FN9_ESPECI BRA

01. GENERAL DATA

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


02. STATUS/REQUISITION

When transferring an asset "To Be Classified", type NFE is always used as default in field FN9_CLSNF. 


03. SOLUTION

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.


04. OTHER INFORMATION

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.

Important

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 use:

Example of rule in use
#INCLUDE "PROTHEUS.CH"


User Function EXISTESPEC()

    cEspecie := "SPED"

return cEspecie

 


05. RELATED SUBJECTS

  • Not Applicable.