Hello there!
I need to add new Orders Entry through code. Everything is working fine, but now I need to add some Misc Item to new Orders Entry. I can successfully create new Orders, but my Misc Item Extended Cost(EXTINVMISC) is always set at zero. I need to be able put my own amount.
If I try to write it directly like this:
OEORD1detail.Fields.Item("EXTINVMISC").Set_Value(customAmount);
I receive a Read-Only error, which is normal, because an Item's extended amount cannot be set manually, but for a Misc Item, this is the only field available to write the amount. If I try to do directly in Sage 300 ERP and create a Order Entry, I can change the Extended Amount of a Misc item without any problem.
I don't know what I am missing with the AccpacView? Is there any documentation about inserting Misc Item through the SDK?