Changes

Jump to: navigation, search

Creating SmartConnect Functions

45 bytes added, 18:56, 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.
 
 
<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/">
'''Mandatory fields''' 
sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to.
 
 
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--
'''Mandatory fields'''
 
 
sf_Object ID -  is the object(UTA L1 id) the transaction would be attached to.
 
 
translevel -  level in the UTA to link the transaction to.
 
 
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--
'''Mandatory fields''' <br/>
  sf_Object ID -  is the object(UTA L2 id) the transaction would be attached to.
 
 
  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/>
  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 ID -  is the object(UTA L2 id) the transaction would be attached to.
 
 
translevel -  level in the UTA to link the transaction to.
 
 
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":"50268865","translevel":"2","sf_transaction id":"6165326","unlink":"1"}]
 
 
--End custom parameter--
Smartstaff
1,385
edits

Navigation menu