Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Disable Fields Client Side? #26128 Score: 0

    NetV SuiteY
    Member
    • Contributions: 1
    • Level 1
    @netv_suitey

    User below one:

    a mixture of SS1.0 & SS2.0

     

    var objRec_Curr = scriptContext.currentRecord;

    var TransferType = objRec_Curr.getCurrentSublistValue({sublistId:’xxxxxxxxxx’, fieldId : ‘xxxxxxxxxxxx’});

    if(TransferType == ‘ABC’)

    eval(“nlapiDisableLineItemField(‘custpage_sublist_out’, ‘custpage_out_transfer_location’, true)”);

    else

    eval(“nlapiDisableLineItemField(‘custpage_sublist_out’, ‘custpage_out_transfer_location’, false)”);

    • This reply was modified 4 years, 3 months ago by NetV SuiteY.
Viewing 1 post (of 1 total)