Public ReadOnly Property BatchID As System.Guid
The BatchID property provides the value of the ID column (primary key value) from the BATCH table. Every time a batch is created from a batch template, a row is added to the BATCH table. The batch staging table holds data for a given batch. The batch staging table has a required ForeignKeyField named BATCHID that points to the BATCH table.
In the example below, an action was invoked. As a result, a Custom UI Model data form dialog screen is opened, as represented by the variable named reconcileUIModel in the example. The ReconcileActionInvokeHandler is called to set form field values within the Custom UI Model data form including a form field named BATCHID. The TrySetValueForFieldID routine sets the value of the BATCHID form field to the value of the BatchID property.