CA Service Management

update_lrel 

Jan 03, 2019 05:22 AM

SPEL API methods

update_lrel

 

This method allows to create or delete lrel relation

 

Definition:

update_lrel( int, string, string, int, int, ... ) ;

int - operation type: 0 = add relation; 1 = delete relation

string - persistent_id of the object that contains lrel relationship

string - name of the lrel attribute

int - override lock

int - defines which parameter from this parameter is first that defines attribute name, usually 0 (zero means that next parameter contains first attribute name to update)

... - persistent_id of object to relate

 

working example:

//Adds asset to the change
send_wait(0, top_object(), "call_attr", "api", "update_lrel", 0, "chg:429903", "asset", 1, 0, "nr:8B0E0521F447724EAF8BAAE0DE5936C3";
                  

Statistics
0 Favorited
17 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.