dbo.SXAMMOrderOptionIVInfo 
Default Table Name  SXAMMOrderOptionIVInfo 
Definition  IVPB and LVP order need to have specific information on the labels about the current bag number and the administration times. Orders are allowed to be modified that require the information for the currently dispensed bags to be reprinted. In order to properly re-print the label information with the new order parameters the original parameters need to be stored for comparison. Also because labels are printed for the current filling period and the next filling period by different processes we need to store the different IVPB and LVP parameter state for both processes. This table will contain data all filling period changes as an order is processed from start to stop. 

dbo.SXAMMOrderOptionIVInfo 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. 
OrderOptionIVInfoID(PK)    bigint  NO  Auto generated unique primary key value. 
OrderOptionID(FK)    bigint  NO  A foreign key to the OrderOptionID column in the SXAMMOrderOption table. 
FillingPeriodID(FK)    bigint  NO  A foreign key to the FillingPeriodID column in the SXAMMFillingPeriod table. 
LastBagNum    int  YES  Bag number of the label in this filling period 
FlowRate    numeric(9, 4)  YES  Flow rate of this bag(s) 
FlowRateUOMCode    varchar(30)  YES  Flow rate UOM code 
Volume    numeric(14, 4)  YES  Volume of the last bag calculated 
VolumeUOMCode    varchar(30)  YES  Volume UOM code of the last bag calculated 
HangTimeNum    numeric(6, 2)  YES  Bag hang time. This info is copied from HangTimeNum column of SXAMMOrderOption table 
HangTimeUOMCode    varchar(30)  YES  Bag hang time UOM. This info is copied from HangTimeUOMCode column of SXAMMOrderOption table 
LastAdminDtm    datetime  YES  Visit TimeZone - Administration time of the last bag 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
IsOnDemand    bit  YES  Indicator that the order IV is On Demand 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAMMOrderOptionIVInfo Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAMMOrderOptionIVInfoPK  PrimaryKey  OrderOptionIVInfoID