Yes you can write the code in formDatasource (InventDim) of form.
You can make common function & can call the same in formdatasource InventDim fields - InventSiteId, InventLocationId, InventBatchId
Yes you can write the code in formDatasource (InventDim) of form.
You can make common function & can call the same in formdatasource InventDim fields - InventSiteId, InventLocationId, InventBatchId