Changes

Jump to: navigation, search

Creating SmartConnect Functions

98 bytes added, 18:28, 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 and an existing L1/L2'''</u><br/>'''Function Name'''  -  3.10.3.2 Create or Update  Link Transaction Record in Record to an Submission Manager L1<br data-attributes="%20/"> '''Description'''  - Create new Link existing transaction record attached record  to a an existing Submission Manager L1 record<br data-attributes="%20/">
 '''Object Type'''  -  Submission Manager - Transactions<br data-attributes="%20/">
 '''Action Type '''  - UpdateLink / Unlink<br data-attributes="%20/"> '''Field List'''  -  sf_Object ID;;sf_Subject;;sf_Status;;sf_Type;cf_1235694;translevel
'''Mandatory fields''' to add a new transaction record:<br data-attributes="/">
 recordid -  the unique identifier from the transaction table. To create new record, recordid should be '0'<br data-attributes="/"> sf_Object ID -  is the object(Organization, User, UTA L1/L2id) the transaction would be attached to.<br data translevel -  what level in the UTA to link the transaction will be linked to. sf_transaction ID -attributes="/">  is the existing transaction id. sf_Type islink -  [[Transaction_Custom_and_Standard_Field_Types|Transaction Type]] of action whether to link (value: 1) or unlink (value=0) the object to the transaction record.  <span class="single_linebreak" style="background-color: lightgray;"><br dataclass="Apple-interchange-attributes=newline">¶</"span> sf_Status - [[Transaction_Status|Transaction Status]] of the transaction record.    
--Begin custom parameter --<br data-attributes="%20/">
 jsonrset : [{"recordid":"0","sf_Object ID":"106978831123456","sf_Typetranslevel":"21841","sf_Statuscf_1235694":"82626Test linking Transaction to SML1","sf_transaction id":"6165326","sf_Subjectislink":"Test Transaction Record1"}]
 --End custom parameter--
Smartstaff
1,391
edits

Navigation menu