cancel
Showing results for 
Search instead for 
Did you mean: 

Update Order Document

Former Member
0 Kudos

Hi

How do you update an order document when the printed field is set to 'A', meaning the document has been amended.

The Update fails because it doesnt recognize an A, its only a YES/NO Enum in the SDK.

Has the bug been resolved

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks

2005 A

Yes I have just spoke to a sap partner and they could not make it happen.

It seems that when you change the logistic information on an order and click update it sets the printed status from Y to A.

The SDK Help Centre (ORDR Table Layout shows it as either Y,N or A so its very strange)

Hopfully this has been changed in a later patch

Former Member
0 Kudos

Hi,

I wish to update a UDF on the order line, also the quantity eventually. This is critical and I see no reason why it should not be possible while the order is still open.

The order can be updated if the flag is set to 'Y' or 'N' but as you say when it contains 'A' it cannot be updated anymore.

In my mind this is indeed a bug/oversight as even though the printed field is read-only, due to it being seen only as a Yes/No type in the SDK, it then fails when it contains 'A' during the Update process/validation.

I'm on patch level 7 so would have hoped this would have been fixed?

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Adam,

When you say you are on "patch level 7" ... of what version of SAP Business One? 2005A SP01 is at PL 31 and 2007A in ramp-up is at PL 5. I am not aware of this issue, I suggest you upgrade to the latest patch and re-test and if still an issue you should report to SAP via a Support Message.

Eddy

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Adam,

You only have the option via the SDK to see the Printed property which is a BoYesNoEnum. You cannot put any other value in this property. This is not a bug, but by design and is the same in version 2007A. What is it that you want to update in the order? You cannot update the Documents object via the DI API with the "A" for amended as in the actual data table.

Eddy