Páginas filhas
  • A126EDGRV() - Edit the data to be saved

Versões comparadas

Chave

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

A126EDGRV() - Edit the data to be saved

Description

The entry Point A126EDGRV() edits the data before saving.

Notes

It edits the information to be saved from the routine ATFA126 - Request for Posting and Transfer of Assets.

Examples

Version 11:

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="75f57b86-9954-4767-b829-27c4ffe911b8"><ac:plain-text-body><![CDATA[

User Function A126EDGRV()

Local aBaixa := paramixb[1]


ALERT("Entry Point A126EDGRV() run")


AADD( aBaixa, { "N3_CBASE" , 01 , NIL } )

AADD( aBaixa, { "N3_ITEM" , 2 , NIL } )

AADD( aBaixa, { "N3_TIPO" , 01 , NIL } )

AADD( aBaixa, { "AUTQUANT" , 1 , NIL } )

AADD( aBaixa, { "AUTMOTBX" , 01 , Nil } )

AADD( aBaixa, { "AUTPERCBX" , 100 , Nil } )

AADD( aBaixa, { "AUTNOTA" , "01" , Nil } )

AADD( aBaixa, { "AUTSERIE" , "0000001" , Nil } )

AADD( aBaixa, { "AUTBXFILHOS", .T. , Nil } )

AADD( aBaixa, { "AUTVLRVENDA", 30000 , Nil } )


Return aBaixa

]]></ac:plain-text-body></ac:structured-macro>


________________________________________________________________________________________________________________
Version 12:


User Function A126EDGRV(aBxAux)

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="74e1e565-9e21-46b8-947a-e931d335cb32"><ac:plain-text-body><![CDATA[

Local aBxAux := paramixb[1]

]]></ac:plain-text-body></ac:structured-macro>

ALERT("Entry point A126EDGRV() run")

Return aBxAux
 

Language

Portuguese(Brazil)

Versions

Previous_Versions

Operating Systems Supported

All

Compatible with the following Databases

All

Parameters

V11: aBaixa

| V12: aBxAux

Return

V11: aBaixa

| V12: aBxAux

Call events of the Entry Point

Version 11:


aBxAux := AClone(aBaixa)

If ExistBlock("A126EDGRV")

aBaixa := ExecBlock("A126EDGRV", .F., .F.,{aBaixa})

If ValType(aBaixa) <> "A"

aBaixa := AClone(aBxAux)

EndIf

EndIf
________________________________________________________________________________________________________________
Version 12:

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5e4eb1e4-7b44-4c5c-8a9e-7a2b80b9a3e7"><ac:plain-text-body><![CDATA[


aBxAux := {}

aBxAux := Array(2)

aBxAux[1] := AClone(xCab)

aBxAux[2] := AClone(xAtivo)

If ExistBlock("A126EDGRV")

aBxAux := ExecBlock("A126EDGRV", .F., .F.,{aBxAux})


If ValType(aBxAux) == "A"

xCab := aBxAux[1]

xAtivo := aBxAux[2]

EndIfEndIf]]></ac:plain-text-body></ac:structured-macro>

EndIf

EndIf

Variables

V11: aBaixa, aBxAux

| V12: aBxAux

Source Program

ATFA126.PRW