This topic contains 1 reply, has 0 voices, and was last updated by pcutler 6 years, 10 months ago.

  • Author
    Posts
  • #23757

    realdrouin1

    I have written a suitegl script. The script is executed all the time which is fine but I need to do some specific "manipulation" based on the form name .

    I put this code

    ———————————————————————————————-

    var createdfrom = transactionRecord.getFieldValue('createdfrom');

    nlapiLogExecution('AUDIT', 'Step 1 – createdfrom=', createdfrom);

    var customform1 = nlapiGetFieldValue('customform');

    nlapiLogExecution('AUDIT', 'Step 2 – customform1=', customform1);

    var customform2 = transactionRecord.getFieldValue('createdfrom');

    nlapiLogExecution('AUDIT', 'Step 3 – customform2=', customform2);

    ———————————————————————————————-

    and none return the form name. Is it possible to get the form name in Suite GL ?

    Thanks

    Real
    This is a cached copy. Click here to see the original post.

  • #23758

    pcutler

    Did you try

    Code:
    transactionRecord.getFieldText('customform');

You must be logged in to reply to this topic.