Entry Point AF251HCOMP was developed to handle the display of tab complements in routine Acquisition by Transfer in accordance with rules set by the customer.
Parameter | Type | Description | Mandatory |
PARAMBIX[1] | Array | Vector with asset data from tab Apportionment Totals [1] = Total Type | Yes |
Return | Type | Description | Mandatory |
lRet | Logical | Return a true or false for display the complements tab or not | Yes |
user function AF251HCOMP() Local aTotAtivos := PARAMIXB[1] Local nX := 0 Local lRet := .F. For nX:= 1 to Len(aTotAtivos) If aTotAtivos[nX][2] $ "02" .Or. aTotAtivos[nX][2] $ "10" lRet := .T. ElseIf aTotAtivos[nX][2] <> "01" lRet := .F. Exit EndIf Next return lRet