xpxCreateInstanceAndPutAttrsBN

FUNCTION xpxCreateInstanceAndPutAttrsBN(modelId            : GENERIC;
                                        entityName         : STRING;
                                        VAR newInstanceId  : GENERIC; 
                                        NumberOfAttributes : INTEGER;
                                        attrName1          : STRING;
                                        attrValue1         : GENERIC;
                                        ...
                                        attrNameN          : STRING;
                                        attrValueN         : GENERIC) 
                                        status             : INTEGER;

The xpxCreateInstanceAndPutAttrsBN function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpxCreateInstanceBN and xpxPutAttrsBN 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


1TypeNameComment
2GENERICmodelIdcomment
3STRINGentityName 
4GENERICnewInstanceId 
5INTEGERNumberOfAttributes 
6STRINGattrName(N) 
7GENERICattrValue(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.

Â