Posting date time not populating in the transaction details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2026 08:39 PM
Hi All,
My requirement is to populate posting date time in the transaction table.
Posting date time should be mapped to CPD value.
In CPD value comes from Financial transaction table so dot walked from that table to add it in the data resource.(attached SS)
Den tried to call the variables to populate the value in the workspace:
console is returning : "ref_sn_bom_deposit_transaction" : null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2026 11:16 PM
You can achieve it by before insert,update BR -
Assumption:
you have a custom Date/Time field (e.g u_cpd1) on the Financial transaction table (Mention the correct transaction table)
then you can write script something like this.. Table name /field ..do dot walk as per your requirement.
This code is just sample code.
(function executeRule(current, previous /*null when async*/) { if (current.u_postingDate.nil()) {
var cpdVal = current.ref_sn_bom_deposit_transaction.u_cpd1;
if (cpdVal) { current.u_postingDate = cpdVal;
}
}
})(current, previous);
