dbo.SXAMMFillOccurrenceDetailHistory 
Default Table Name  SXAMMFillOccurrenceDetailHistory 
Definition  This entity contains a history of changes to the stock item products that are being sent to the floor (IV) or put on the cart. 

dbo.SXAMMFillOccurrenceDetailHistory Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  NO  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  NO  The date and time that the row was created and will be based on the Enterprise time zone. 
FillOccurrenceDetailHistoryID(PK)    bigint  NO  Auto generated unique primary key value. 
FillOccurrenceDetailID(FK)    bigint  NO  A foreign key to the FillOccurrenceDetailID column in the SXAMMFillOccurrenceDetail table. 
OrderOptionComponentID(FK)    bigint  YES  A foreign key to the OrderOptionComponentID column in the SXAMMOrderOptionComponent table. 
StockItemProductID(FK)    int  YES  A foreign key to the StockItemProductID column in the SXAMMStockItemProduct table. 
DispensedQty    numeric(14, 4)  NO  Identifies the Dispensed Quantity for this history row. 
DispensedQtyUOMCode    varchar(30)  NO  Identifies the Unit of Measure associated with the dispensed qty. 
ModificationType    int  NO  An enumerated type with the following list of possible values: 0 = [Discontinue],1 = [Cancel],2 = [Modify - New Amount],3 = [Modify - New SIP],4 = [Suspended],5 = [Suspension / Hold Lifted], 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
FrequencyCode    varchar(30)  YES  FrequencyCode moved from the corresponding FillOccurrenceDetail record when a change is detected between an SMM order and the current fill period order detail. 
AdminTimesDesc    varchar(255)  YES  AdminTimesDesc moved from the corresponding FillOccurrenceDetail record when a change is detected between an SMM order and the current fill period order detail. 
RobotCommunicationProcessGUID    HVCIDdt  YES  Indicates which robot filled this item 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAMMFillOccurrenceDetailHistory Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAMMFillOccurrenceDetailHistoryPK  PrimaryKey  FillOccurrenceDetailHistoryID