f$PSI_ReferenceBO (f$PSI_ReferenzBO)
f$PSI_ReferenceBO (f$PSI_ReferenzBO)
With this function, a reference business object is created in PSIPENTA for a business object. This function is for example necessary to read or write documents belonging to an article. The name of the reference business object is to be entered in the parameter list. The business object to which the reference business object relates must have previously been set as an active business object with f$PSI_CreateBO.
Syntax:
Status = f$PSI_ReferenceBO (BOName)
Argument
Type
Meaning
BOName
String
Name of the reference business object
Result:
Integer
Function status
Possible values: -1,-3,-4, -13, -999
Example:
Status = f$PSI_Login(’demo6’,’system’,’system’,’D’)
Status = f$PSI_CreateBO(’PART’)
Status = f$PSI_Filter(’PART’)
Status = f$PSI_SetField(’F_VS_RECONCILIATIONSTATUS’,’2’)
Status = f$PSI_Detail(’PART’,0)
Status = f$PSI_ReadValues(’Article’)
... Evalute ...
Status = f$PSI_ReferenceBO (’XDMR2’)
Status = f$PSI_Filter(’XDMR2’)
Status = f$PSI_Detail(’XDMR2’,0)
Status = f$PSI_GetFields(’Texts’)
...