dbo.SXAMMProduct 
Default Table Name  SXAMMProduct 
Definition  This entity contains information about Products associated with a Generic Item. For example Ibuprofen 250mg Generic Item has the Products of Advil and Motrin. 

dbo.SXAMMProduct 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. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
ProductID(PK)    int  NO  Auto generated unique primary key value. 
GenericItemID(FK)    int  NO  A foreign key to the GenericItemID column in the SXAMMGenericItem table. 
BrandName    varchar(250)  NO  Identifies the Brand Name of the Product. 
PhysicalDesc    varchar(250)  YES  Identifies the physical description of the product. 
PhysicalPicture    varbinary(max)  YES  Identifies the picture of the product. 
ManufacturerID(FK)    int  NO  A foreign key to the ManufacturerID column in the SXAMMManufacturer table. 
DINCode    varchar(28)  YES  Identifies the DIN Code for the Product.  Available for Canadian Installations. 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
OrangeBookCodeType    int  NO  An enumerated type with the following list of possible values: 1 = [U - Undetermined],7073 = [O - Not Rated],7074 = [B - Not Therapeutically Equivalent],7075 = [A - Therapeutically Equivalent],17239 = [1 - Therapeutically Equiv. to 1 Product],17240 = [2 - Therapeutically Equiv. to 2 Products],17241 = [3 - Therapeutically Equiv. to 3 Products],17242 = [4 - Therapeutically Equiv. to 4 Products],17243 = [5 - Therapeutically Equiv. to 1 & 2 Rated Products],17244 = [6 - Therapeutically Equiv. to 1 & 3 Rated Products],17245 = [7 - Therapeutically Equiv. to 2 & 3 Rated Products],17246 = [8 - Therapeutically Equiv. to 1,2,3 Rated Products],17247 = [9 - Therapeutically Equiv. to 1-4 Rated Products], 
AlternateBillingCode    varchar(20)  YES  Identifies an Alternate Billing Code for the Product. The alternate billing code is an identifier (key) that is sent to the external billing system via HL7, it allows the external billing system to identify the product (drug) we are billing for.If it exists, then it is sent to the Financial System in addition to the Charge Code.For example FIM - Financial Item Master
Identifies the Product being Billed to the Financial System.
 
ReportField1    varchar(100)  YES  Identifies additional information that the user may use to classify the product; these fields would be used on reports. 
ReportField2    varchar(100)  YES  Identifies additional information that the user may use to classify the product; these fields would be used on reports. 
ReportField3    varchar(100)  YES  Identifies additional information that the user may use to classify the product; these fields would be used on reports. 
DrugCatalogKey    varchar(40)  YES  Identifies the drug catalog key (multum key) associated with this row. 
UpdateFromCatalog    bit  NO  Indicates whether attributes from this row can be update using the Drug Catalog Import process 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAMMProduct Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAMMProductPK  PrimaryKey  ProductID