0

I am new to Suitelet. I have created button called RMA in sales order form and created custom transaction form called RMA-Closed.

I want to redirect to transaction form when I click the button.

Could anyone help me how to achieve this?

Sreehari
  • 5,621
  • 2
  • 25
  • 59

1 Answers1

0

You can add a client script on the button and set following navigation url:

/app/accounting/transactions/salesord.nl?cf=132

where 132 can be repalced with the form id you have created.

Zain Shaikh
  • 6,013
  • 6
  • 41
  • 66
  • I did by open in new window using windows.open(). Thanks for the comment – user1934458 Aug 26 '16 at 07:52
  • I have next question. How to get custom fields value which is in journal entry sublist? I know its using nlapigetLineItemValue API. But I don't know about the parameter inside it. – user1934458 Aug 26 '16 at 07:55