xpxCreateInstanceAndPutAttrs

FUNCTION xpxCreateInstanceAndPutAttrs(modelId                 : GENERIC;
                                      entityIdOrViewEntityId  : GENERIC;
                                      VAR newInstanceId       : GENERIC; 
                                      NumberOfAttributes      : INTEGER; 
                                      attrId1, attrValue1     : GENERIC;
                                      ...               
                                      attrIdN, attrValueN     : GENERIC)
                                      status                  : INTEGER;

he xpxCreateInstanceAndPutAttrs function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpxCreateInstance and xpxPutAttrs operations. This operation is only applicable to data models. The actual data model must be open for write access, before this operation can be successfully performed.                                     

Arguments


TypeNameComment
GENERICmodelIdcomment
GENERICentityIdOrViewEntityId 
GENERICnewInstanceId 
INTEGERNumberOfAttributes 
GENERICattrId(N) 
GENERICattrValue(N) 

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.