Siebel eScript Tutorial – Free download as Word Doc .doc), PDF File .pdf), Text File .txt) or read online for free. One method of debugging code in Siebel. component, and in almost every instance, it has required some coding with Siebel eScript. The slides for introducing how to use Siebel eScript and some best practies.
|Published (Last):||21 November 2010|
|PDF File Size:||1.44 Mb|
|ePub File Size:||13.87 Mb|
|Price:||Free* [*Free Regsitration Required]|
So, if I provide ‘Active’ as input it should return some number in my case as output. But for every input result is zero 0.
What could be the problem? Below is my Siebel eScript. It could also be a visibility problem. The user running the code might not have visibility for those records.
Bookshelf v/ Overview of Siebel eScript
If you catch an exception and just throw it again, you’re doing nothing.
How To Debug Code In Siebel
You could aswell just remove those lines. You are storing the count value in your PropertySet in a finally block, which you could reach even before the variable is initialized. Either declare it with an initial value, or place your SetProperty line elsewhere. On the other hand, you should use the finally block to clear used objects, such as bc and bo.
Bookshelf v Siebel eScript Language Overview
You’re doind that inside sscript try block, meaning it won’t be done if there is an exception. Not that it would matter in that case, but it’s always good practise.
Considering all that, this is what the code should look like: BusComp” parts if var bc: GetBusComp “Action” ; bc.
SetViewMode AllView ; bc. ExecuteQuery ForwardOnly ; Outputs.
AJPerez 2, 8 42 The problem was with viewMode. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.