on 07-26-2006 11:24 PM
Hi All
Is there anyone who has created new functionality
in ISA , lets say Return Order module..
I need to know the best approach of transferring
the header data from orderstausdetail.jsp to the
new page which will be retrunorder.jsp what
do you think my approach should be ??
Regards
Tarun Bakshi
Tarun
In orderstausdetail.jsp, find the import on which the data are stored.
In retrunorder.jsp, check the same import is present or not.
If it avaiable, then the task is very easy in getting the data !!!
If not , import it, write the code to get it !!!
Thanks
Jack
<b>Allo points if my post helps !!!!</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanx guys , i was able to do it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
The code that i wrote does not work
in the new returnOrder.jsp
OrderStatus orderStatus = null;
orderStatus=(OrderStatus)request.getAttribute(DocumentStatusDetailAction.RK_ORDER_STATUS_DETAIL);
This is coming null....
Because a new basket is created when then
the returnOrder.jsp is displayed therefore it losed
all the data there...
So we are back at square one ... ???
Please help me out ..
Hi,
I think there are two ways for getting header data in returnOrder.jsp:
1. If header data of corresponding BO (an order, for example) was fulfilled by corresponding action. It's very simple to use a HeaderSalesDoc of corresponding BO (you can get the instance of BO from the BOM). (Java-approach)
2. If header data of corresponding BO was not fulfilled, in case direct calling of returnOrder.jsp (something like "...window.open...") from orderstatusdetail.jsp, then it is possible to exploit (in returnOrder.jsp) expressions like "...parent.opener.<headerdatafieldname>". (Javascript-approach)
Regards,
Roman
Hi Tarun,
The best way to work with header data is to use a HeaderSalesDocument class. You can get an instance of HeaderSalesDocument from a SalesDocument class, an instance of SalesDocument from a BusinessObjectManager class, instance of BusinessObjectManager from a UserSessionData class. An instance of UserSessionData is available if you write in *.jsp - <%@ include file="usersessiondata.inc" %>.
Regards,
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.