Páginas filhas
  • AF036BRW - Browse filter of the Asset Posting routine

Versões comparadas

Chave

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

AF036BRW - Browse filter of the Asset Posting routine

Description

AF036BRW - Browse filter of the Asset Posting routine

Notes

The entry point AF036BRW replaces the entry points AF030BRW and AF035BRW of the routines ATFA030 and ATFA035, replaced by the routine ATFA036 - Asset Postings.

Examples

/*/{Protheus.doc}

AF036BRWThe

AF036BRW

The entry point to create a records filter in the Browse of the Asset Posting routine.

@author

TOTVS@since

TOTVS

@since 26/03/

2014@version

2014

@version 1.

0@return

0

@return cFilter A character variable with the ADVPL expression that will be run for the browse records filter.

/*/

User Function AF036BRW()

Local cFilter := ""

/*

  • "View" parameter of the Posting Browse routine

*/

IF MV_PAR04 == 2 // Display Mode of the Asset

RecordscFilter

Records

cFilter := " N3_BAIXA = '0' "

Else // Display Mode of the asset postings

performedcFilter

performed

cFilter := " FN6_STATUS = '1' "

EndIfReturn

EndIf

Return(cFilter)*

Language

Portuguese(Brazil)

Versions

Microsiga_Protheus12

Operating Systems Supported

All

Compatible with the following Databases

TOTVSDBAccess

Return

It must return the ADVPL expression for filtering the asset postings browse on a variable of the character type.

Source Program

ATFA036.PRW