cancel
Showing results for 
Search instead for 
Did you mean: 

Open ProductionOrder Window & Close SalesOrder Window

Former Member
0 Kudos

Hi All,

After successful Addition of Sales Order, i need to open a Production Order Window and close the Sales Order Window. How do I do it with SDK? And in which event I write the code? Pls write me the code to solve this issue.

Thanks in Advance.

Kind Regards,

Murtaza

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U can do it on the item press after action by conditions

if(pVal.ItemUID=="1" && pVal.actionsuccess==true)

1.For Closing the sales order window ,u have

oForm.Close() //Where oForm is the instance of the sales order form.

2.For Open the Production Order Window,u have

oSboApplication.ActivateMenuItem("4369").

Answers (0)