cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone created new modules in ISA

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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>

Answers (2)

Answers (2)

Former Member
0 Kudos

thanx guys , i was able to do it

Former Member
0 Kudos

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 ..

0 Kudos

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

0 Kudos

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