cancel
Showing results for 
Search instead for 
Did you mean: 

Close purchase order item

Former Member
0 Kudos

Hi,

we have B/1 2004A SP0 PL 42. Is it possibile close an item on purchase

order (and only this item) after a partial goods receipt ? We have found

only to close entire document in document header.

Thank you for attention.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alessandro,

You can close a row in a order by this code:

(...)


Order.Lines.LinesStatus = SAPbobsCOM.BoStatus.bost_Close;
Order.Update();

(...)

PS: Pay attention that you cannot close a row and change any fields in the same Update

Answers (1)

Answers (1)

rasmuswulff_jensen
Active Contributor
0 Kudos

The close row option is one of the new things in SBO2005A SP01 (Will be released Q2 2006), so no - it cant be done in SBO2004. This however only seem to be in the client an not an option in the SDK afaik