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

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

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

Informações

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.

Informações
titleImportant

...

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:

Bloco de código
languagec#
themeRDark
titleExample of rule

...

in use
linenumberstrue
collapsetrue
#INCLUDE "PROTHEUS.CH"

...




User Function EXISTESPEC()

...



    cEspecie := "SPED"

...



return cEspecie

 


05. RELATED SUBJECTS

  • Not Applicable.