Tag: Add Dimensions in Sales Document at Creation in Business Central

Create and Assign Dimensions in Sales Document at Creation in BC D365

Create and Assign Dimensions in Sales Document: (1) In this blog, we will do auto-creation and assignment of Dimensions in Sales Document creation (or OnInsert Trigger) as shown below. (2) In the above function, we have called EventSubscriber of Sales Header table OnAfterInsertEvent for auto assigning the value to Sales Document. Source Code: codeunit 50001 “Custom …