Display the purchase order link in the Purchase requisition custom record

Create a cust record in the purchase requisition custom record. Data type of the field will be List/Record and List/Record field will be Transaction.

Set the Type equal to the Purchase order in the Sourcing& Filtering sub tab. Then set the internal id in the field

let custRecordId = record.submitFields({
                            type: 'customrecord_almaq_purchase_requisition',
                            id: recordId, //purchase requisition Id
                            values: {
                                'custrecord_jj_po_link': purchaseOrderId    //purchase order Id

                            }
                        });

Leave a comment

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