Dependent Sublist dropdown

15 pts.
Tags:
NetSuite
Oracle
Is it possible to create dependent drop down fields in sublist. For an instance I have primary categories like travel, ofc,others in one drop and based upon the selection of first field it should populate values into second drop down field. If user selected travel, second drop down should be travel-domestic, travel-international. If they selected other direct cost then second drop down should be other-professional fee something like that. I have tried with nlapiInsertLineItemOptions by attaching client script to suitelet but it's not working as expected. It's removing inserted options from the first line whenever I tried to add another line. Is it possible to hide/disable drop down options. Please guide if my approach is wrong.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    Post a sample of your code so we can see what code you are trying and what variables you are using. It will help us in steering you in the right direction.
    115,410 pointsBadges:
    report
  • saisaranya06
    I'm unable to post the sample code. 

    I'm trying to implement this in field change. On field change of first dropdown, I'm getting firld value selected by nlapiGetCurrentLineItemVAlue and based on selection i'm pushing dropdown values to secondary_dropdown using nlapiRemoveLineItemOptions('custpage_other_cost_sublist_plan', 'custpage_secondary_plan_items') and inserting list of dependent values using nlapiInsertLineItemOptions.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: