Description | The entry point AF040BAD sets the data of the new asset when posting by advance of fixed assets. |
|---|---|
Examples | User Function AF040BAD() |
Local aDadNBem := array(4) |
|---|
aDadNBem:= {"1234567890", "0123", "TEST PE", .T.} |
|---|
Return aDadNBem | |
|---|---|
Language | Portuguese(Brazil) |
Versions | Microsiga_Protheus10 and Microsiga_Protheus11 |
Operating Systems Supported | All |
Compatible with the following Databases | All |
Return | It returns an array containing the new asset's information |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="caed8e14-6ba3-4688-9816-072e2cf5eb72"><ac:plain-text-body><![CDATA[
Call events of the Entry Point | If ExistBlock("AF040BAD") aDadNBem := ExecBlock("AF040BAD",.F.,.F.) cbase = aDadNBem[1] cItemAtivo = aDadNBem[2] cDescr = aDadNBem[3] lAtBase = aDadNBem[4] |
|---|
Endif | |
|---|---|
Source Program | ATFA040.PRX |