Páginas filhas
  • AF140GRV E.P. Changes in File SN3

Versões comparadas

Chave

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

CONTENTS

Índice
excludeCONTENTS

01. OVERVIEW

Entry Point AF140GRV was developed to handle and make changes to table SN3 in accordance with desired rule in routine ATFA140.


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.

02. PARAMETERS

Parameter

Type

Description

Mandatory

PARAMBIX[1]

Not Applicable.

Not Applicable.

No

03. RETURN

Return

Type

Description

Mandatory

lRet

Not Applicable

Not Applicable

No

04. EXAMPLE 

Bloco de código
languagec#
themeRDark
titleExample of Rule Used
linenumberstrue
collapsetrue
user function AF140GRV()

// take a given cost center for changes
Local cCustEsp := GetMV("XX_ATFCC",.F.,'9999')
Local lCCusDep := GetMv("MV_ATFCCDP",.F.,.F.)

If Empty(MV_PAR01)
   SN3->N3_CCUSTO := cCCustEsp
   If lCCusDep
      SN3->N3_CCDESP := cCCustEsp
   EndIf
EndIf

Return