Páginas filhas
  • DT EP AF171FILTR Handling of Accelerated Depreciation Filter

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Microsiga Protheus Line

Industry:

Services

Module:

Fixed Assets - SIGAATF

Function:

Accelerated Depreciation (ATFA171)

Country:

Brazil

Ticket:

10371646

Requirement/Story/Issue:

DSERCTR1-29478


02. STATUS/REQUISITION

Request for entry point documentation: AF171Filtr.


03. SOLUTION

Entry point AF171FILTR allows handling the preexisting accelerated depreciation filter (atfa171).

Important: When handling the preexisting filter, check the syntax of the query to avoid errors in filter results.


04. OTHER INFORMATION


PE AF171FILTR

The purpose of entry point AF171FILTR is to allow handling the preexisting filter

Important

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]

String

Parameter transfer containing the query of preexisting filter executed based on the table of balances and values (SN3).

Yes



What the entry point must return

Return

Type

Description

Required

cUserFiltr

String

Return of preexisting filter containing user changes.

Yes


Example of use:

Example of rule in use
#include "protheus.ch"
 
User Function AF171Filtr()
 
Local cUserFiltr    := PARAMIXB[1]
 
    cUserFiltr += " .AND. N3_TIPO = '01' "
    cUserFiltr += " .AND. N3_TPSALDO = '1' "
    cUserFiltr += " .AND. N3_TIPDEPR = '1' "
     
Return cUserFiltr

 


05. RELATED SUBJECTS

  • Not Applicable.