How can I get the data and store the data dynamically generated?

When I entered an order, after the information for the order has been filled in, an order number has been generated dynamically. I want to record this number to my databank.
The questions are, 1\how can I record the order number? 2\How can I write it back to my databank?
I noticed Openscript_User_100 had asked the similar question, the post is here,
Openscript - How to save data to Data bank at runtime
Openscript - How to save data to Data bank at runtime
Can Openscript_User_100 or somebody else be more specific on how to do that?
Can I use the forms.textField.storeAttribute to do that? Where can I find the example for forms.textField.storeAttribute?

Thanks aamat!
I tried to look for the orderID in the detail pane HTML, I only have a screen shot in the Detail pane (Is this Detail Pane found in View-Details?) I can see the orderID on the screen shot (there is no other tab Screenshot is the only tab) but I cannot select it and replace it with variable.
The only place I can select the orderID is in the Java Code,somehow the orderId is recorded there. Please see the code below.
(I changed"[" to "{" in order to show the code correctly)
beginStep("{11} Sales Orders (15371) - XXXX Customer", 0);
          forms.captureScreenshot(229);
               think(8.39);
          forms.textField(230, "//forms:textField{(@name='ORDER_SOLD_TO_0')}")
                    .setFocus();
               think(0.812);
          forms.window(231, "//forms:window{(@name='ORDER')}").selectMenu(
                    "Tools|Scheduling");
     endStep();
Can you advise further?
Edited by: DorothyLi on Dec 15, 2009 11:21 AM

Similar Messages

Maybe you are looking for