cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity & Returned Quantity

Former Member
0 Kudos

I am coding the returnorder module for ISA b2b

we got to display two fields ie original quantity and

returned quantity for each item .

I can display the original quantity till the basket or first page is not submitted but then i loose these orig quantity values because the returned quantity is going into the same field as original quantity was there.

Now in the simulate page i cannot see the original quantity values

Question is How to get it

I tried adding them into the extensiondata but they are not being returned in the method

z_readstrategyr3

getItemsAndScheduleLines

in the line existingItems.getItemData here i am not getting any data ..

can you tell me the reason why...

I know its tough to understand for you .. but if you can tell me a way to do the above requirement!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am not very comfortable in taking this approach , i want to know if there's anything in ISA framework which i can use and it gives me back the original quantity

You know what i mean !!

Former Member
0 Kudos

Hi,

You can store a variable temporary in the session object, which is always available in your JSP's or action classes.

E.g.

<%

session.setAttribute("OrigQty", origValue);

%>

and to retrieve it later (in case value is of type String):

<%

String s = (String) session.getAttribute("OrigQty");

%>

If you need to remember original quantities of several items, you can add a counter to the attributename and place it inside a loop.

Good luck!

Roelof