cancel
Showing results for 
Search instead for 
Did you mean: 

Return orders in E-comm for display only

former_member1244286
Participant
0 Kudos

Hi Gurus,

We are implementing the the standard B2b application with ECC6.0 as the backend.

customer login to b2b shop and place order (OR - standard order.

but they also should be able to diplay the order (RE - return orders, RK - Invoice corrections) and should not able to create them.

if they want to create too - the configuration is very easy - I can set the language independent Key for Return order and Invoice corrections in shop management.

But how can this achived where OR can be created, searched for and displayed but the other two RE , RK can only be searched and displayed but cannot be created.

Is there some thing in autorizations we can tweak and achive this.

Thank you

Ram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Ram,

If we can hide the "Confirm" or "Change" buttons from appropriate pages for this order type "RE", then do you think it will be ok?

Insert


if (orderType) = "RE" 
  {Hide button}

condition around the buttons you want to control. The (orderType) can be found from the Sales Document Header property header .getProcessType()

In Order.jsp, the sales document header is readily available:

HeaderSalesDocument header =

(HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);

In other pages you can still get the sales document header from the usersessiondata.either directly or through BOM and the current instance of the sales document BO.

Easwar Ram

http://www.parxlns.com

Answers (0)