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):||9 September 2017|
|PDF File Size:||11.96 Mb|
|ePub File Size:||19.96 Mb|
|Price:||Free* [*Free Regsitration Required]|
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.
Dartmouth 2 15 Depending on how your picklist is built, you might need to use this spec instead: You can solve that by using this: SetViewMode AllView esctipt If you want to be sure of what’s happening, you can either enable the SQL spool tracing in your dedicated thick client and check the actual query it’s executing Also, there are a few things you could improve in your code: In this case, there is no need to escape your single quotes.
If you catch an exception and just throw it again, you’re doing nothing. You could aswell just remove those lines. You are storing the count value in your PropertySet in a sieebel block, which you could reach even before the variable is initialized.
Bookshelf v/ Overview of Siebel eScript
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. You’re doind that inside your 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.
How To Debug Code In Siebel
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.