Accessing child custom record fields using ‘recmach’

For getting or setting the custom child record field value in the parent record we have to use prefix as ‘recmach’

Syntax:

transactionRec.setCurrentSublistValue({

            sublistId: ‘recmachcustrecord_jj_hidden’, //use recmach as prefix and add the linked field id in child record

            fieldId: ‘custrecord_jj_invoice_customer’, //use the child field id from the child record you want to set value

            value: “Enter the value”,

            ignoreFieldChange: true,

            forceSyncSourcing: true

          });

By following the about like we can get the child record value while working with the parent record.

Leave a comment

Your email address will not be published. Required fields are marked *