01. GENERAL DATA
Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA036 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
02. DESCRIPTION
You can use entry point AF036VAL to handle the sale value when saving the record of asset posting in routine ATFA036 - Asset Posting.
Substitutions:
- This entry point substitutes the old points AF030VAL and AF035VAL, respectively used in routines ATFA030 and ATFA035, which were substituted by routine ATFA036.
Operation:
- It allows handling the sale value while saving the record.
- It makes it possible to adjust or validate the sale value based on specific rules, prior to its definitive saving.
Benefits:
- Flexibility: It allows companies to implement their own business rules related to the sale value in the posting process.
This entry point is essential for scenarios in which the sale value must be adjusted or validated to meet specific criteria in the asset posting process.
03. OTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Handling of EP in the system |
|---|
|
nVlVend := Iif(ExistBlock( "AF036VAL" ),ExecBlock("AF036VAL",.F.,.F.), 0) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | EP Example |
|---|
|
User Function AF036VAL()
Local nVlVend := 100
Return nVlVend |
| Aviso |
|---|
|
- It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
- The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point.
|
04. RELATED SUBJECTS