Hi everyone.
In the current task I am editing existing values at the Sales Order form.
In the Contents (first) pane at the main matrix there is column such a Delivery Date. What I am doing is inserting values into cells in column delivery date and then into the others column.
The problem I am meeting is that after insertion of data into delivery date there is automatically opening form named Item Availability Check and because of that my code is meeting an error with the message Form - bad values.
This is logical since meanwhile SAP have opened form where there are no cells my code is trying to update. I have tried itemEvent.CurrentForm.Freeze(true); as well as SetBubbleEvent(false); before my operation, unfortunatelly without success.
Anyone may let me know some mechanism to disable this Item Availability Check for a moment to let my code do the job ?
What is interesting is that if you change delivery date in the header (above the matrix) then SAP is going to ask you if you want to update existing table rows with the new delivery date. If you click yes, then SAP is inserting new delivery dates without any additional window (no Item Availability Check). I would like to perform it this way.
I hope the situation is understandable, however if not please feel free to ask me in order to describe it better way.
Regards and productive day for everyone reading this post.
Dariusz
edit: What I have discovered is that there is opening this additional window just for lines which contains item from Item Master Data, but is not displayed for items from Bill of Materials.