Changes

Creating SmartConnect Functions

77 bytes removed, 18:54, 7 December 2022
Link/Unlink Transaction Record from other objects
<!--134010 - SmartConnect API link and unlink transactions from Objects-->
This new feature to link/unlink transactions is only available in APIv2 and only for L1 & L2 transactions.
 
<u>'''Sample A - Link existing transactions to an existing L1'''</u><br/>
'''Function Name'''  -   Link transaction record to an existing Submission Manager L1<br data-attributes="%20/">
 '''Field List'''  -  cf_5469887
'''Mandatory fields''' <br data-attributes="/"> sf_Object sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to.  translevel translevel -  level in the UTA to link the transaction to. sf_ transaction id -  is the existing transaction record id. islink -  indicates to link the transaction to a record. cf_5469887 -  transaction custom field.
--Begin custom parameter --<br data-attributes="%20/">
 jsonrset : [{"recordid":"0","sf_Object ID":"1123456","translevel":"1","cf_5469887":"Test linking Transaction to SML1","sf_transaction id":"6165326","islink":"1"}]
 
 --End custom parameter--
 
<u>'''Sample B - Unlink existing transactions to an existing L1'''</u><br data-attributes="/">
  '''Field List'''  -  
'''Mandatory fields''' <br/>  sf_Object sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to.  translevel translevel -  level in the UTA to link the transaction to.  sf_ transaction sf_ transaction id -  is the existing transaction record id.  unlink -  indicates to link the transaction to a record.
--Begin custom parameter --<br/>
  jsonrset : [{"sf_Object ID":"1123456","translevel":"1","sf_transaction id":"6165326","unlink":"1"}]
  --End custom parameter--
--Begin custom parameter --<br/>
  jsonrset : [{"recordid":"0","sf_Object ID":"50268865","translevel":"2","cf_5469887":"Test linking Transaction to SML2","sf_transaction id":"6165326","islink":"1"}]
  --End custom parameter--
'''Mandatory fields''' <br/>
  sf_Object sf_Object ID -  is the object(UTA L2 id) the transaction would be attached to.  translevel translevel -  level in the UTA to link the transaction to.  sf_ transaction sf_ transaction id -  is the existing transaction record id.  unlink -  indicates to link the transaction to a record.
--Begin custom parameter --<br/>
Smartstaff
1,385
edits