Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Make sales order as complete

Former Member
0 Kudos
140

Hi SDN,

I have a small issue with me. I have sales order with 3 lines items. Two of them are delivered and that order i need to complete forcefully and they want to create a new sales order for last line item. Please provide me suggestion how can i change the status of sales order as complete in this scenario. Waiting for your valuable suggestions....

Regards,

Kumar.

5 REPLIES 5

Former Member
0 Kudos
80

Hi,

You could set the reason for rejection on the items that haven't been delivered to complete the order.

Darren

0 Kudos
80

Hi Thank you for valuable suggestion.

May i know that is there any possibility that make the order as complete at the time of PGI for 2 line items?

Regards,

Kumar.

0 Kudos
80

Hi,

The outstanding requirements on the order need to be closed, you can't manually change the status of the order.

If you set the customer as only accepting a one time delivery then once a delivery is created for the order the order will be complete.

Alternatively you would have to reject the outstanding items as mentioned, you can do this programmatically by triggering a sales order update off the back of a PGI (which will require bespoke code).

Darren

0 Kudos
80

Hi,

Thanks for your valuable and immediate response. First let me know whethre is it possbile to update the sales order at the time of PGI. Beucase of coded in user exit of shipping notification related to sales order updation. But it is showing error sales order currently processing by user......

Any way to do this requirement.

PLease suggest me.....

Regards,

Kumar.

0 Kudos
80

Hi All,

Very thanks for your immediate response. My problem was solved

I am using BADI DELIVERY_PUBLISH under the method PUBLISH_AFTER_SAVE.

This BADI is calling after PGI done. In this i am changing sales order status by rejecting remaing items....

Regards,

Kumar.