Changes

Creating SmartConnect Functions

1,411 bytes added, 17:14, 7 December 2022
Transaction
<!--72195 - SmartConnect Function on Transaction Applied to prod for May 2019 Upgrade-->
* <span style="color: #ff0000;">Available after May 2019 upgrade.</span>
 * Transaction should be [[Transaction_Attribution|configured]] before using this API function. Transactions can be attached to an object (Organization or User or UTA L1/L2).
====Get Transaction Record====
[[File:TransactionDelete1.PNG|800px]]
 
 
=====Link/Unlink Transaction Record from other objects=====
<!--134010 - SmartConnect API link and unlink transactions from Objects-->
 
'''Function Name'''  -  3.10.3.2 Create or Update Transaction Record in Submission Manager L1<br data-attributes="%20/">
 '''Description'''  - Create new transaction record attached to a Submission Manager L1 record<br data-attributes="%20/">
 '''Object Type'''  -  Submission Manager - Transactions<br data-attributes="%20/">
 '''Action Type '''  - Update<br data-attributes="%20/">
 '''Field List'''  -  sf_Object ID;;sf_Subject;;sf_Status;;sf_Type
 
'''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/L2) the transaction would be attached to.<br data-attributes="/">
 sf_Type -  [[Transaction_Custom_and_Standard_Field_Types|Transaction Type]] of the transaction record.<br data-attributes="/">
 sf_Status - [[Transaction_Status|Transaction Status]] of the transaction record.
 
--Begin custom parameter --<br data-attributes="%20/">
 jsonrset : [{"recordid":"0","sf_Object ID":"10697883","sf_Type":"2184","sf_Status":"82626","sf_Subject":"Test Transaction Record"}]<br data-attributes="%20/">
 --End custom parameter--
===UTA Consumer/Provider===
Smartstaff
1,385
edits