Para dependência de funções entre códigos-fonte no Microsiga Protheus, são necessários alguns cuidados importantes:
Exemplo:
// FindFunctionSample.prw
If FindFunction("AtfVldMoed")
AtfVldMoed()
EndIf
Exemplo:
// MethlsMemberOfSample.prw
If MethlsMemberOf(oObj , "ExisteCliente")
oObj:ExisteCliente()
EndIf
Exemplo:
// AttlsMemberOfSample.prw
If AttlsMemberOf(oObj, "cCodCli")
cCodCli := oObj:cCodCli
EndIf