Posting date time not populating in the transaction details

User205031
Tera Contributor

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:

function evaluateProperty({ api, helpers }) {
   

    var postingDate =
        api.item.value["financial_transaction.ref_sn_bom_deposit_transaction.u_cpd1"];

     console.log("SSTime1" + JSON.stringify(api.item.value));

    return [
       
        {
            label: helpers.translateSync("Posting date time"),
            value: {
                type: "string",
                value: postingDate && postingDate.displayValue
                    ? postingDate.displayValue
                    : "-"
            }
        }
    ];
}
 

console is returning : "ref_sn_bom_deposit_transaction" : null

 
 
 

 

0 REPLIES 0