SAP B1 SDK Form Mode automatically changed from OK Mode to Update Mode Solved

 If that behavior is compulsory, then consider changing that Item's (controller's) 'AffectsFormMode' property as below.


YourController.Item.AffectsFormMode = false;