Microsoft Auto-Save as You Work
Microsoft introduced Auto-save as you work in the 2022 Wave 2 release which changed the behavior of Business Central significant in a way we used to. The issues are not unique to the STAEDEAN Food product but also occurs in the Microsoft base application. For STAEDEAN Food we investigated if we could find a solution to get the behavior as we were used to. We discovered that if a page has the DelayedInsert property set to TRUE, then changes to fields do not trigger the OnModify code and database write, rather, the OnModify code and database write happens when the user moves off the record.
On the below pages we set the DelayedInsert property set to TRUE:
Page Number | Title |
---|---|
37002531 | Batch Planning Order Detail |
37002467 | Batch Reporting Consumption |
37002466 | Batch Reporting Output |
37002694 | Commodity Purch. Order Subpage |
37002594 | Container Quantity to Handle |
37002175 | Cost Calculation Method Card |
37002891 | Data Collection Alert |
37002887 | Data Sheet Lines |
37002896 | Data Sheet Lines-Production |
37002949 | Incident Entries |
37002945 | Incident Entries-Confirm |
37002555 | Incident Entries Subpage |
37002942 | Incident Entry Card |
37002027 | Lot No. Custom Format Lines |
37002109 | Order Receiving-Purch. Subform |
37002111 | Order Receiving-Sales Subform |
37002104 | Order Shipping-Purch. Subform |
37002102 | Order Shipping-Sales Subform |
37002500 | Process Reporting Consumption |
37002499 | Process Reporting Output |
37002661 | Term. Mkt. Order Lines Subform |
37002674 | Truckload Recv. Lines Subform |
209 | Units of Measure |
37002767 | Whse. Staged Pick Source Line |
37002090 | Sales Line Lot Preferences |
Other modifications have been made to:
Object | Object Number | Title |
---|---|---|
Table | 37002801 | Asset |
Table | 13 | Salesperson/Purchaser |
Table | 37002819 | Preventive Maintenance Order |
Page | 30 | Item Card |
Page Ext | 37002301 | FOODILM Item Card extends Item Card |
Page | 37002026 | Lot No. Custom Format |
Page | 37002027 | Lot No. Custom Format Lines |
Page | 37002451 | Delivery Trip List |
Other objects containing OnModify code not changed as couldn’t find a satisfactory solution.