if I set the data so that the check is true, then ...
# suitescript
c
if I set the data so that the check is true, then it will execute the block and line 239
currRecord.setValue({fieldId: 'custrecord_p4_psp_stln_sales_order_id', value: salesOrderId[0].id});
and that one functions