Changes

Jump to: navigation, search

Creating SmartConnect Functions

49 bytes added, 18:59, 7 December 2022
Link/Unlink Transaction Record from other objects
====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.
'''Mandatory fields''' 
sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to. <br/>translevel -  level in the UTA to link the transaction to. <br/>sf_ transaction id -  is the existing transaction record id. <br/>islink -  indicates to link the transaction to a record. <br/>cf_5469887 -  transaction custom field.<br/>
 --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"}] <br/> --End custom parameter--<br/>
<u>'''Sample B - Unlink existing transactions to an existing L1'''</u><br data-attributes="/">
  '''Field List'''  -  
'''Mandatory fields''' <br/>sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to. <br/>translevel -  level in the UTA to link the transaction to. <br/>sf_ transaction id -  is the existing transaction record id. <br/>unlink -  indicates to link the transaction to a record.<br/>
--Begin custom parameter --<br/>
  jsonrset : [{"sf_Object ID":"1123456","translevel":"1","sf_transaction id":"6165326","unlink":"1"}] <br/>--End custom parameter--<br/>
<u>'''Sample C - Link existing transactions to an existing L2'''</u><br data-attributes="/">
'''Mandatory fields''' <br/>
  sf_Object sf_Object ID -  is the object(UTA L2 id) the transaction would be attached to.<br/>    translevel translevel -  level in the UTA to link the transaction to.<br/>    sf_ transaction sf_ transaction id -  is the existing transaction record id.<br/>    islink islink -  indicates to link the transaction to a record.<br/>    cf_5469887 cf_5469887 -  transaction custom field.<br/>
--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"}] <br/>--End custom parameter--<br/>
<u>'''Sample D - Unlink existing transactions to an existing L2'''</u><br/>
'''Mandatory fields''' <br/>
sf_Object ID -  is the object(UTA L2 id) the transaction would be attached to. <br/>translevel -  level in the UTA to link the transaction to. <br/>sf_ transaction id -  is the existing transaction record id. <br/>unlink -  indicates to link the transaction to a record.<br/>
--Begin custom parameter --<br/>
  jsonrset : [{"sf_Object ID":"50268865","translevel":"2","sf_transaction id":"6165326","unlink":"1"}] <br/>--End custom parameter--<br/>
===UTA Consumer/Provider===
Smartstaff
1,385
edits

Navigation menu