crmTech/ October 2, 2015/ Siebel/ 0 comments

You can use “GotoView” method of vanila Business service “Shopping Service” to navigate another view.

Please find below eScript Code Snnipet/Pseudo Code in which I am navigating to view “Order Entry – Line Items View (Sales)”.

var oApplication,sCurrentOrderId,bsGotoView,psInput,psOutput;
 oApplication = TheApplication();
 sCurrentOrderId =  oApplication.GetProfileAttr("CurrentOrderId");
 if(sCurrentOrderId != null && sCurrentOrderId != "")
 {
 with(oApplication)
 {
 bsGotoView = GetService("Shopping Service");
 psInput = NewPropertySet();
 psOutput = NewPropertySet();
 }
 with(psInput)
 {
 SetProperty("Business Component","Order Entry - Orders");
 SetProperty("Row Id",sCurrentOrderId);
 SetProperty("View","Order Entry - Line Items View (Sales)");
 }//psInput
 bsGotoView.InvokeMethod("GotoView", psInput, psOutput);
Advertisements
Share this Post

About crmTech

Sharad is working from more than 11 years in IT industry. He has giving his technical services in CRM for telecom, automobile, retail, finance industry in Sales, Service and Marketing. He has primary skill in Siebel and Salesforce Marketing Cloud. Apart from this he has worked in Google Cloud, Wordpress blogging, SEO optimization, Short film making, mobile apps creation,logo design creation for his own interest.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.