dbo.SXAMMOrderWasteBillingInfo 
Default Table Name  SXAMMOrderWasteBillingInfo 
Definition  This table contains order and component with waste charge information. Rows are inserted into this table during verification and used by fill services to process waste charges 

dbo.SXAMMOrderWasteBillingInfo Columns 
ColumnName  Domain  Datatype  NULL  Definition 
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. 
TouchedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was last updated including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is 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. 
CreatedWhenUTC    datetimeoffset(3)  NO  The date and time that the row was created including the time zone offset from UTC, for example 2015-01-30 04:55:04.372 -05:00. The date and time is based on the Enterprise Time Zone. 
MSRowVersion    timestamp  NO  Optimistic lock identifier using rowversion datatype. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
OrderWasteBillingInfoID(PK)    bigint  NO  Auto generated unique primary key value. 
OrderGUID(FK)    HVCIDdt  NO  A foreign key to the GUID column in the CV3Order table. 
OrderOptionComponentID    bigint  NO  Holds the foreign key reference pointing to the order option component id in SXAMMOrderOptionComponent table 
DoseDefaultSelectionType    int  YES  Holds the value to indicate the type of doses for which quick charges are auto generated for wasted dose. Value points to CV3EnumReference table 
IsExcludeWasteBilling    bit  NO  Indicates that though row is eligible for waste billing, we should not create quick charge order since user opted not to. 
WasteAmount    numeric(14, 4)  YES  Holds the waste amount for which quick charge order needs to be generated 
WasteUOMCode    varchar(30)  YES  Holds the uom code for the waste amount column 
WasteQuickChargeOCMIGUID    HVCIDdt  NO  Holds the ocmi guid for the quick charge order 
WasteAmountOverriddenType    int  NO  An enumerated type with the following list of possible values: 0 = [Null],1 = [True],2 = [False], 
WasteQCCreationType    int  YES  An enumerated type with the following list of possible values: 0 = [At Dispense],1 = [At TaskDocumentation], 
WasteBillingConfigPresentType    int  NO  An enumerated type with the following list of possible values: 0 = [Null],1 = [True],2 = [False], 

dbo.SXAMMOrderWasteBillingInfo Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAMMOrderWasteBillingInfoPK  PrimaryKey  OrderWasteBillingInfoID