Skip to Content
0
Former Member
Apr 24, 2009 at 12:12 PM

Controling change of User status

167 Views

Hi,

we have the following scenario.

This is how the status profile for header looks like

Status Status Short text Initial status Lowest Highest Position Priority Auth Code Trans.

No.

NoPr Do not

print

10 Open Open Y 10 40 1 1 OPEN

20 InPr In process 20 40 1 1 INPR

30 Cmpd Completed 30 30 1 1 FINI

40 Exp Expired 40 40 1 1 FINI

This is the status profile that we have assigned to the item category we are using for the orders created from the webshop --

Status No. Status Short Text Initial status Lowest status Highest status Position Priority Trans.

10 OPEN Open Y 10 40 1 1

20 PrDe Partially Delivered 20 30 1 1

30 Deld Delivered 10 30 1 1 FINI

40 Canc Cancelled 10 40 1 1

Now imagine the scenario where we first create an order using the OOB webshop and save it. When we search for that order again, click on the "Change" button and edit the ordered quantity in any of the line items and save the order, the header user status of the Order becomes "In Process".

This is ok, even though we would prefer it to remain "Open", But the problem is that the user status of the line item becomes "Partially delivered".

We have developed a custom Delivery module for the OOB webshop scenario and have written code to change the user status of the line item when we deliver any of the line items. However, in the above mentioned case, we debugged and checked -the custom code that gets called on 'submitting' the delivery does not get called on saving the order.

Any suggestions at all?

Further info for line item status:

in the transaction Control for user status "Partially delivered" as well as for "Delivered", I have 'forbidden' the "cancel" and "delete option" .

In transaction control for user status "Delivered", I have 'set' the "Complete" option.

In the transaction control for user status "Cancelled", i have 'set' the "Cancel" option.

thanks in advance for any replies.

Regards,

Jaya

w