Configuration: CA SDM 12.9, MS SQL 2012
i got question about updating object from another object.For example i have form detail_cr.htmpl and i would like to update object zpm_portal.
I tried to build web URL and execute it by AJAX (function SyncAjaxCall). I was inspired by We encounter an issue with customized code not working in every browser except for Internet Explorer. Has anyone encountered the same issue?
This code tried to change value zpm_portal.cr_id from NULL to 'cr:519696' (cr_id SREL -> cr.persistent_id)
var sURL = cfgCgi +
"?SID=" + cfgSID +
"+FID=" + fid_generator() +
"+KEY.cr_id=" + escape("cr:519696");
But result of this call was error "AHD04400:Argument error".
My next try was with modified function parameters
SyncAjaxCall(sURL, "POST", 1000, 1000);
But the result was same.
Has anyone experience with this problem? If you have another way to update object from another object please let me know. Btw. SPEL is a last way, i prefere form modification.
This should be possible, but must be seen as a separate independent trabsaction not related to the cr update, in your example .
Some thing you need to take care of:
Hope this helps a bit
you are right, thanks a lot for solution.
Hi Lumir_Botur - Did Michael_Mueller 's response help answer your question? If so please mark as Correct Answer. Thanks!