Exception when adding document with UoMEntry value
I didn't have this problem when I developed the UoMEntry code in previous version, with latest patch of SAP 9.1 and 9.0 I've had this issue.
When I add documents with items that are not managed with UoM there is no issue but when I add item with UoM, if I try to specify the UoMEntry I get a COM exception.
On the attachment I'm placing the exception and the code
Reinstalled DI API and it was solved. I hate this issues!