<!here> hi channel :slightly_smiling_face: i have ...
# general
e
<!here> hi channel 🙂 i have a problem with a userEventScript handling purchaseOrders after an event. my module can only read out values of the record if it is edited, not when created..
Copy code
function putPOinSendingQueue( context ) {
    const purchaseOrder = context.newRecord;
    log.debug({
      title: ‘approval status’,
      details: purchaseOrder.getValue({ fieldId: ‘supervisorapproval’ })
    });
    log.debug({
      title: ‘order status’,
      details: purchaseOrder.getValue({ fieldId: ‘orderstatus’ })
    });
    // ...