Versões comparadas

Chave

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

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF)

Function:

ATFA251

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

Entry point AF251VLO is used for handling the data of the lower tabs Apportionment Totals and Tax Details in the Acquisition by Transfer routine. You can run the entry point through the function AF251VORIG, called during the validation of the tudoOk method.

...

This entry point grants the user flexibility to customize the information of the upper and lower tabs, allowing adjustments in accordance with the specific needs of the business.

03. OTHER INFORMATION



Bloco de código
languagecpp
themeRDark
titleHandling of EP in the system

...

 If Existblock("AF251VLO")

...


      aRetAF251V := ExecBlock("AF251VLO", .f., .f., { @oGetDadTot, @oGetDadImp } )

...


      oGetDadTot := aRetAF251V[1]

...


      oGetDadImp := aRetAF251V[2]

...


EndIf

...

Bloco de código
languagecpp
themeRDark
titleEP Example
#Include 'Protheus.ch'

User Function AF251VLO()

      Local oGetDTot   := paramixb[1]
      Local oGetDadImp := paramixb[2]

      /*
      -------------------------------------------------------------------------
      Call - ExecBlock( 'AF251VLO', .F., .F., {@oGetDadTot, @oGetDadImp})
      Note: oGetDadosC, object of the upper tab "Complements", is private
      --------------------------------------------------------------------------
      */

      Alert("Entry Point Executed")
      oGetDTot:aCols[1,4] := 20000
      oGetDadImp:aCols[1][3]:= 10

      oGetDTot:ForceRefresh()
      oGetDadImp:ForceRefresh()

Return ({ oGetDTot, oGetDadImp })

...