OUI_Object_Update()
See also: OpenObjects API
Return to Introduction  Previous page  Next page

This function updates an OpenObject in the database. It uses the format:

<MvFUNCTION NAME = "OUI_Object_Update" PARAMETERS = "code, module_id, flags, object, properties" STANDARDOUTPUTLEVEL = "" ERROROUTPUTLEVEL = "syntax,expression">  

This function is called with the parameters:

·l.code      set to the object code  
·l.module_id   set to the module ID of your module  
·l.flags      defines the flags string for this object  
·l.object   this is the "unprepared" OpenToken string to be used for this object  
·l.properties   (reserved for future use)  

There is currently only 1 category of flags in the l.flags parameter: action and the actual action flags are defined on the OUI_Object_Callsbacks() page.

The l.object OpenToken string can be as simple as a function call into your module (via %FUNC()% or %DOFUNC()%) or can be a self-contained object...or when using the Parse object function (see OUI_Object_Callsbacks()) you can leave is completely blank.

The l.object parameter will only be updated in the Object if the object is not encrypted and not locked. If the object is encrypted and/or locked, you'll need to call the OUI_Object_Update_Signed() to update this field.

The return value is either a 1 (success) or 0 (failure).


*** On compiled Merchant, your Vendor ID Block must be registered (via
OUI_Register_Vendor()
) before calling this function ***



 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium