
CREATE TABLE `tbl_calibration_uncertinity_master_incomplete` (
  `Uncertinity_RepNo` int(11) NOT NULL,
  `Uncertinity_CalbDate` date NOT NULL,
  `Uncertinity_CalbTime` time NOT NULL,
  `Uncertinity_CalbTimeTo` time DEFAULT NULL,
  `Uncertinity_BalID` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_BalSrNo` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Make` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Model` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Unit` varchar(5) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Dept` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_LeastCnt` decimal(10,5) NOT NULL DEFAULT '0.00000',
  `Uncertinity_MaxCap` decimal(10,5) NOT NULL DEFAULT '0.00000',
  `Uncertinity_MinCap` decimal(10,5) NOT NULL DEFAULT '0.00000',
  `Uncertinity_ZeroError` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_SpritLevel` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_GerneralCare` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_UserID` varchar(50) DEFAULT 'NULL',
  `Uncertinity_UserName` varchar(250) DEFAULT 'NULL',
  `Uncertinity_DueDate` date NOT NULL DEFAULT '1992-12-08',
  `Uncertinity_Location` varchar(250) NOT NULL DEFAULT 'NULL',
  `Uncertinity_RoomNo` varchar(50) NOT NULL DEFAULT '0',
  `Decimal_Point` int(11) DEFAULT NULL,
  `Uncertinity_StdWeight` varchar(500) DEFAULT '0',
  `Uncertinity_NegTol` varchar(500) DEFAULT '0',
  `Uncertinity_PosTol` varchar(500) DEFAULT '0',
  `Uncertinity_PrintNo` int(11) NOT NULL DEFAULT '0',
  `Uncertinity_VerifyID` varchar(50) DEFAULT 'NULL',
  `Uncertinity_VerifyName` varchar(250) DEFAULT 'NULL',
  `Uncertinity_VerifyDate` date NOT NULL DEFAULT '1992-12-08',
  `Uncertinity_AllWeightboxID` varchar(1000) DEFAULT 'NULL',
  `Uncertinity_AllWeightboxCert` varchar(1000) DEFAULT 'NULL',
  `Uncertinity_AllWeightboxValidUpto` varchar(1000) DEFAULT 'NULL',
  `Uncertinity_IsBinBalance` int(1) DEFAULT '0',
  `Uncertinity_Average` varchar(150) DEFAULT 'NULL',
  `Dsquare_Average` varchar(150) DEFAULT 'NULL',
  `Uncertinity_X` varchar(150) DEFAULT 'NULL',
  `Uncertinity_SD` varchar(150) DEFAULT 'NULL',
  `Uncertinity` varchar(150) DEFAULT 'NULL',
  `Uncertinity_MassWeight` varchar(100) DEFAULT 'NULL',
  `Uncertinity_Remark` varchar(100) DEFAULT 'NULL',
  `Uncertinity_AllWeightboxCertDate` varchar(1000) DEFAULT 'NULL',
  KEY `Uncertinity_RepNo` (`Uncertinity_RepNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_calibration_uncertinity_master_incomplete` */

/*Table structure for table `tbl_calibration_uncertinity_master_temp` */


CREATE TABLE `tbl_calibration_uncertinity_master_temp` (
  `Uncertinity_RepNo` int(11) NOT NULL,
  `Uncertinity_CalbDate` date NOT NULL,
  `Uncertinity_CalbTime` time NOT NULL,
  `Uncertinity_CalbTimeTo` time DEFAULT NULL,
  `Uncertinity_BalID` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_BalSrNo` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Make` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Model` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Unit` varchar(5) NOT NULL DEFAULT 'NULL',
  `Uncertinity_Dept` varchar(100) NOT NULL DEFAULT 'NULL',
  `Uncertinity_LeastCnt` varchar(10) NOT NULL,
  `Uncertinity_MaxCap` varchar(10) NOT NULL,
  `Uncertinity_MinCap` varchar(10) NOT NULL,
  `Uncertinity_ZeroError` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_SpritLevel` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_GerneralCare` bit(1) NOT NULL DEFAULT b'0',
  `Uncertinity_UserID` varchar(50) NOT NULL DEFAULT 'NULL',
  `Uncertinity_UserName` varchar(250) NOT NULL DEFAULT 'NULL',
  `Uncertinity_DueDate` date NOT NULL DEFAULT '1992-12-08',
  `Uncertinity_Location` varchar(250) DEFAULT 'NULL',
  `Uncertinity_RoomNo` varchar(50) NOT NULL DEFAULT '0',
  `Decimal_Point` int(11) DEFAULT '0',
  `Uncertinity_PrintNo` int(11) DEFAULT '0',
  `Uncertinity_VerifyID` varchar(50) DEFAULT 'NULL',
  `Uncertinity_VerifyName` varchar(250) DEFAULT 'NULL',
  `Uncertinity_VerifyDate` date NOT NULL DEFAULT '1992-12-08',
  `HMI_ID` varchar(50) DEFAULT '0',
  `Uncertinity_IsBinBalance` int(1) DEFAULT '0',
  `Uncertinity_Average` varchar(150) DEFAULT 'NULL',
  `Dsquare_Average` varchar(150) DEFAULT 'NULL',
  `Uncertinity_X` varchar(150) DEFAULT 'NULL',
  `Uncertinity_SD` varchar(150) DEFAULT 'NULL',
  `Uncertinity` varchar(150) DEFAULT 'NULL',
  `Uncertinity_MassWeight` varchar(100) DEFAULT 'NULL',
  `Uncertinity_Remark` varchar(100) DEFAULT 'NULL',
  `Uncertinity_AllWeightboxID` varchar(1000) DEFAULT 'NULL',
  `Uncertinity_AllWeightboxCertDate` varchar(1000) DEFAULT 'NULL'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_calibration_uncertinity_master_temp` */

insert  into `tbl_calibration_uncertinity_master_temp`(`Uncertinity_RepNo`,`Uncertinity_CalbDate`,`Uncertinity_CalbTime`,`Uncertinity_CalbTimeTo`,`Uncertinity_BalID`,`Uncertinity_BalSrNo`,`Uncertinity_Make`,`Uncertinity_Model`,`Uncertinity_Unit`,`Uncertinity_Dept`,`Uncertinity_LeastCnt`,`Uncertinity_MaxCap`,`Uncertinity_MinCap`,`Uncertinity_ZeroError`,`Uncertinity_SpritLevel`,`Uncertinity_GerneralCare`,`Uncertinity_UserID`,`Uncertinity_UserName`,`Uncertinity_DueDate`,`Uncertinity_Location`,`Uncertinity_RoomNo`,`Decimal_Point`,`Uncertinity_PrintNo`,`Uncertinity_VerifyID`,`Uncertinity_VerifyName`,`Uncertinity_VerifyDate`,`HMI_ID`,`Uncertinity_IsBinBalance`,`Uncertinity_Average`,`Dsquare_Average`,`Uncertinity_X`,`Uncertinity_SD`,`Uncertinity`,`Uncertinity_MassWeight`,`Uncertinity_Remark`,`Uncertinity_AllWeightboxID`,`Uncertinity_AllWeightboxCertDate`) values 
(8,'2025-09-12','09:29:31','09:29:36','Bal_27','NULL','Essae','HTR 220 E','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','a','Abhishek','2025-09-12','NULL','0',0,0,'12','Sail','2025-09-18','192.168.1.134',0,'NULL','NULL','NULL','NULL','0.000','160.00000','Complies','WBI_02','2025-09-11'),
(17,'2025-09-17','09:02:42','09:02:47','Bal_28','NULL','Essae','HTR 220 E','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','a','Abhishek','2025-09-17','NULL','0',0,0,'D','Dharmesh sakpal','2025-09-17','192.168.1.184',0,'NULL','NULL','NULL','NULL','0.000','0.001','Complies','WBI_02','2025-09-11'),
(34,'2025-09-27','12:01:47','12:03:37','OQ1','NULL','Essae','HTR 220','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','Tantra','Tantrasoft','2025-10-01','NULL','0',0,0,'021','Tejal','2025-09-27','192.168.1.145',0,'NULL','NULL','NULL','NULL','59.800','5.000','Complies','WB1,WB1,WB1','2025-09-26,2025-09-26,2025-09-26'),
(31,'2025-09-26','11:26:08','11:26:16','OQ1','NULL','Essae','HTR 220','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','021','Tejal','2025-09-26','NULL','0',0,0,'11','Mangesh','2025-09-26','192.168.1.129',0,'NULL','NULL','NULL','NULL','0.000','5.000','Complies','WB1,WB1,WB1','2025-09-26,2025-09-26,2025-09-26'),
(37,'2025-10-04','11:49:41','11:50:34','QWE0524','NULL','Essae','HTR 220 E','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','21','shruti','2025-10-03','NULL','0',0,0,'45','shruti','2025-10-04','192.168.1.157',0,'NULL','NULL','NULL','NULL','2.740','10.000','Complies','0001','2025-09-19'),
(35,'2025-09-29','12:22:21','12:22:27','BAL2909','NULL','Essae','HTR 220','gm','NA','0.00100','320.00000','0.00100','\0','\0','\0','D','Dharmesh sakpal','2025-09-29','NULL','0',0,0,'13','Devendra','2025-09-29','192.168.1.108',0,'NULL','NULL','NULL','NULL','0.000','12.000','Not Complies','WB001','2025-09-10');

/*Table structure for table `tbl_calibrationbox` */


CREATE TABLE `tbl_calibrationbox` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `CB_Type` varchar(100) NOT NULL DEFAULT 'NULL',
  `CB_ID` varchar(50) NOT NULL DEFAULT 'NULL',
  `CB_CertNo` varchar(100) NOT NULL DEFAULT 'NULL',
  `CB_validDt` date NOT NULL,
  `CB_WTNo` int(11) NOT NULL DEFAULT '0',
  `CB_Wt` decimal(10,5) NOT NULL DEFAULT '0.00000',
  `CB_unit` varchar(50) NOT NULL DEFAULT 'NULL',
  `CB_identificationNo` varchar(255) NOT NULL DEFAULT 'NULL',
  `CB_DP` int(11) NOT NULL DEFAULT '3',
  `locked` int(1) NOT NULL DEFAULT '0',
  `editCounter` int(11) NOT NULL DEFAULT '0',
  `CB_Is_UnderEdit` tinyint(4) NOT NULL DEFAULT '0',
  `CB_CalibDt` date DEFAULT NULL,
  `CB_MassWeight` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_calibrationbox` */

insert  into `tbl_calibrationbox`(`id`,`CB_Type`,`CB_ID`,`CB_CertNo`,`CB_validDt`,`CB_WTNo`,`CB_Wt`,`CB_unit`,`CB_identificationNo`,`CB_DP`,`locked`,`editCounter`,`CB_Is_UnderEdit`,`CB_CalibDt`,`CB_MassWeight`) values 
(1,'Weight Box','WBI_01','12321','2026-10-14',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-10','NULL'),
(2,'Weight Box','WBI_01','12321','2026-10-14',2,64.00000,'gm','NA1',0,0,0,0,'2025-09-10','NULL'),
(3,'Weight Box','WBI_01','12321','2026-10-14',3,160.00000,'gm','NA2',0,0,0,0,'2025-09-10','NULL'),
(4,'Weight Box','WBI_01','12321','2026-10-14',4,256.00000,'gm','NA3',0,0,0,0,'2025-09-10','NULL'),
(8,'Weight Box','WB001','10092025','2028-10-10',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-10','NULL'),
(9,'Weight Box','WB001','10092025','2028-10-10',2,10.00000,'gm','NA1',3,0,0,0,'2025-09-10','NULL'),
(10,'Weight Box','WB001','10092025','2028-10-10',3,20.00000,'gm','NA2',3,0,0,0,'2025-09-10','NULL'),
(11,'Weight Box','WB001','10092025','2028-10-10',4,30.00000,'gm','NA3',3,0,0,0,'2025-09-10','NULL'),
(12,'Weight Box','WB001','10092025','2028-10-10',5,40.00000,'gm','NA4',3,0,0,0,'2025-09-10','NULL'),
(13,'Block Box','BBI_01','22331','2026-10-14',1,100.00000,'mm','NA0',2,0,0,0,'2025-09-10','NULL'),
(14,'Block Box','BBI_01','22331','2026-10-14',2,320.00000,'mm','NA1',2,0,0,0,'2025-09-10','NULL'),
(15,'Block Box','BBI_01','22331','2026-10-14',3,0.03000,'mm','NA2',2,0,0,0,'2025-09-10','NULL'),
(16,'Weight Box','WB002','09092025','2028-10-17',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-10','NULL'),
(17,'Weight Box','WB002','09092025','2028-10-17',2,10.00000,'gm','NA1',3,0,0,0,'2025-09-10','NULL'),
(18,'Weight Box','WB002','09092025','2028-10-17',3,20.00000,'gm','NA2',3,0,0,0,'2025-09-10','NULL'),
(19,'Weight Box','WB002','09092025','2028-10-17',4,30.00000,'gm','NA3',3,0,0,0,'2025-09-10','NULL'),
(20,'Weight Box','WB002','09092025','2028-10-17',5,40.00000,'gm','NA4',3,0,0,0,'2025-09-10','NULL'),
(21,'Weight Box','WB002','09092025','2028-10-17',6,50.00000,'gm','NA5',3,0,0,0,'2025-09-10','NULL'),
(22,'Weight Box','WB002','09092025','2028-10-17',7,55.00000,'gm','NA6',3,0,0,0,'2025-09-10','NULL'),
(23,'Weight Box','WB002','09092025','2028-10-17',8,60.00000,'gm','NA7',3,0,0,0,'2025-09-10','NULL'),
(24,'Weight Box','WB002','09092025','2028-10-17',9,65.00000,'gm','NA8',3,0,0,0,'2025-09-10','NULL'),
(27,'Block Box','VB02','23423','2027-06-09',1,5.00000,'mm','NA0',2,0,0,0,'2025-09-10','NULL'),
(28,'Block Box','VB02','23423','2027-06-09',2,10.00000,'mm','NA1',2,0,0,0,'2025-09-10','NULL'),
(29,'Weight Box','WBI_02','11092025','2026-10-15',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-11','NULL'),
(30,'Weight Box','WBI_02','11092025','2026-10-15',2,10.00000,'gm','NA1',0,0,0,0,'2025-09-11','NULL'),
(31,'Weight Box','WBI_02','11092025','2026-10-15',3,50.00000,'gm','NA2',0,0,0,0,'2025-09-11','NULL'),
(32,'Weight Box','WBI_02','11092025','2026-10-15',4,64.00000,'gm','NA3',0,0,0,0,'2025-09-11','NULL'),
(33,'Weight Box','WBI_02','11092025','2026-10-15',5,100.00000,'gm','NA4',0,0,0,0,'2025-09-11','NULL'),
(34,'Weight Box','WBI_02','11092025','2026-10-15',6,160.00000,'gm','NA5',0,0,0,0,'2025-09-11','NULL'),
(35,'Weight Box','WBI_02','11092025','2026-10-15',7,200.00000,'gm','NA6',0,0,0,0,'2025-09-11','NULL'),
(36,'Weight Box','WBI_02','11092025','2026-10-15',8,220.00000,'gm','NA7',0,0,0,0,'2025-09-11','NULL'),
(37,'Weight Box','WBI_02','11092025','2026-10-15',9,256.00000,'gm','NA8',0,0,0,0,'2025-09-11','NULL'),
(38,'Block Box','VB01','10092026','2028-10-10',1,2.00000,'mm','NA0',2,0,0,0,'2025-09-10','NULL'),
(39,'Block Box','VB01','10092026','2028-10-10',2,10.00000,'mm','NA1',2,0,0,0,'2025-09-10','NULL'),
(40,'Block Box','VB01','10092026','2028-10-10',3,150.00000,'mm','NA2',0,0,0,0,'2025-09-10','NULL'),
(41,'Weight Box','0005','pqrs','2025-09-30',1,10.00000,'gm','NA0',0,0,0,0,'2025-09-18','NULL'),
(42,'Weight Box','0005','pqrs','2025-09-30',2,20.00000,'gm','NA1',0,0,0,0,'2025-09-18','NULL'),
(43,'Weight Box','0005','pqrs','2025-09-30',3,30.00000,'gm','NA2',0,0,0,0,'2025-09-18','NULL'),
(44,'Weight Box','0001','01','2026-03-12',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-19','NULL'),
(45,'Weight Box','0001','01','2026-03-12',2,64.00000,'gm','NA1',2,0,0,0,'2025-09-19','NULL'),
(46,'Weight Box','0001','01','2026-03-12',3,160.00000,'gm','NA2',2,0,0,0,'2025-09-19','NULL'),
(47,'Weight Box','0001','01','2026-03-12',4,256.00000,'gm','NA3',2,0,0,0,'2025-09-19','NULL'),
(48,'Weight Box','0505','0022','2025-09-29',1,30.00000,'gm','NA0',0,0,0,0,'2025-09-20','NULL'),
(49,'Weight Box','0505','0022','2025-09-29',2,20.00000,'gm','NA1',0,0,0,0,'2025-09-20','NULL'),
(50,'Weight Box','0505','0022','2025-09-29',3,10.00000,'gm','NA2',0,0,0,0,'2025-09-20','NULL'),
(51,'Weight Box','0505','0022','2025-09-29',4,4.00000,'gm','NA3',0,0,0,0,'2025-09-20','NULL'),
(52,'Weight Box','0505','0022','2025-09-29',5,100.00000,'gm','NA4',0,0,0,0,'2025-09-20','NULL'),
(53,'Weight Box','0505','0022','2025-09-29',6,50.00000,'gm','NA5',0,0,0,0,'2025-09-20','NULL'),
(54,'Weight Box','0505','0022','2025-09-29',7,10.00000,'gm','NA6',0,0,0,0,'2025-09-20','NULL'),
(55,'Weight Box','SH24','100','2025-09-30',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-20','NULL'),
(56,'Weight Box','SH24','100','2025-09-30',2,64.00000,'gm','NA1',0,0,0,0,'2025-09-20','NULL'),
(57,'Weight Box','SH24','100','2025-09-30',3,160.00000,'gm','NA2',0,0,0,0,'2025-09-20','NULL'),
(58,'Weight Box','SH24','100','2025-09-30',4,256.00000,'gm','NA3',0,0,0,0,'2025-09-20','NULL'),
(59,'Weight Box','HM0524','1000','2025-09-30',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-22','NULL'),
(60,'Weight Box','HM0524','1000','2025-09-30',2,64.00000,'gm','NA1',0,0,0,0,'2025-09-22','NULL'),
(61,'Weight Box','HM0524','1000','2025-09-30',3,160.00000,'gm','NA2',0,0,0,0,'2025-09-22','NULL'),
(62,'Weight Box','HM0524','1000','2025-09-30',4,256.00000,'gm','NA3',0,0,0,0,'2025-09-22','NULL'),
(63,'Weight Box','SHM02','1025','2034-02-22',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-25','NULL'),
(64,'Weight Box','SHM02','1025','2034-02-22',2,30.00000,'gm','NA1',0,0,0,0,'2025-09-25','NULL'),
(65,'Weight Box','SHM02','1025','2034-02-22',3,20.00000,'gm','NA2',0,0,0,0,'2025-09-25','NULL'),
(66,'Weight Box','SHM02','1025','2034-02-22',4,14.00000,'gm','NA3',0,0,0,0,'2025-09-25','NULL'),
(67,'Weight Box','SHM02','1025','2034-02-22',5,100.00000,'gm','NA4',0,0,0,0,'2025-09-25','NULL'),
(68,'Weight Box','SHM02','1025','2034-02-22',6,60.00000,'gm','NA5',0,0,0,0,'2025-09-25','NULL'),
(69,'Weight Box','SHM02','1025','2034-02-22',7,200.00000,'gm','NA6',0,0,0,0,'2025-09-25','NULL'),
(70,'Weight Box','SHM02','1025','2034-02-22',8,50.00000,'gm','NA7',0,0,0,0,'2025-09-25','NULL'),
(71,'Weight Box','SHM02','1025','2034-02-22',9,6.00000,'gm','NA8',0,0,0,0,'2025-09-25','NULL'),
(72,'Weight Box','WB-001','12546','2027-12-01',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-25','NULL'),
(73,'Weight Box','WB-001','12546','2027-12-01',2,30.00000,'gm','NA1',0,0,0,0,'2025-09-25','NULL'),
(74,'Weight Box','WB-001','12546','2027-12-01',3,30.00000,'gm','NA2',0,0,0,0,'2025-09-25','NULL'),
(75,'Weight Box','WB-001','12546','2027-12-01',4,4.00000,'gm','NA3',0,0,0,0,'2025-09-25','NULL'),
(76,'Weight Box','WB-001','12546','2027-12-01',5,160.00000,'gm','NA4',0,0,0,0,'2025-09-25','NULL'),
(77,'Weight Box','WB-001','12546','2027-12-01',6,200.00000,'gm','NA5',0,0,0,0,'2025-09-25','NULL'),
(78,'Weight Box','WB-001','12546','2027-12-01',7,50.00000,'gm','NA6',0,0,0,0,'2025-09-25','NULL'),
(79,'Weight Box','WB-001','12546','2027-12-01',8,6.00000,'gm','NA7',0,0,0,0,'2025-09-25','NULL'),
(80,'Weight Box','WBOX01','14562','2027-12-04',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-25','NULL'),
(81,'Weight Box','WBOX01','14562','2027-12-04',2,64.00000,'gm','NA1',0,0,0,0,'2025-09-25','NULL'),
(82,'Weight Box','WBOX01','14562','2027-12-04',3,160.00000,'gm','NA2',0,0,0,0,'2025-09-25','NULL'),
(83,'Weight Box','WBOX01','14562','2027-12-04',4,256.00000,'gm','NA3',0,0,0,0,'2025-09-25','NULL'),
(84,'Weight Box','WB1','456123','2025-12-31',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-26','NULL'),
(85,'Weight Box','WB1','456123','2025-12-31',2,100.00000,'gm','NA1',0,0,0,0,'2025-09-26','NULL'),
(86,'Weight Box','WB1','456123','2025-12-31',3,60.00000,'gm','NA2',0,0,0,0,'2025-09-26','NULL'),
(87,'Weight Box','WB1','456123','2025-12-31',4,200.00000,'gm','NA3',0,0,0,0,'2025-09-26','NULL'),
(88,'Weight Box','WB1','456123','2025-12-31',5,50.00000,'gm','NA4',0,0,0,0,'2025-09-26','NULL'),
(89,'Weight Box','WB1','456123','2025-12-31',6,6.00000,'gm','NA5',0,0,0,0,'2025-09-26','NULL'),
(90,'Weight Box','WB1','456123','2025-12-31',7,30.00000,'gm','NA6',0,0,0,0,'2025-09-26','NULL'),
(91,'Weight Box','WB1','456123','2025-12-31',8,20.00000,'gm','NA7',0,0,0,0,'2025-09-26','NULL'),
(92,'Weight Box','WB1','456123','2025-12-31',9,14.00000,'gm','NA8',0,0,0,0,'2025-09-26','NULL'),
(93,'Block Box','VB021','75489','2025-12-31',1,0.30000,'mm','NA0',2,0,0,0,'2025-09-26','NULL'),
(94,'Block Box','VB021','75489','2025-12-31',2,60.00000,'mm','NA1',0,0,0,0,'2025-09-26','NULL'),
(95,'Block Box','VB021','75489','2025-12-31',3,5.00000,'mm','NA2',0,0,0,0,'2025-09-26','NULL'),
(96,'Block Box','VB021','75489','2025-12-31',4,15.00000,'mm','NA3',0,0,0,0,'2025-09-26','NULL'),
(97,'Block Box','VER-0005','WS23','2029-10-16',1,0.02000,'mm','NA0',3,0,0,0,'2025-09-26','NULL'),
(98,'Block Box','VER-0005','WS23','2029-10-16',2,64.00000,'mm','NA1',0,0,0,0,'2025-09-26','NULL'),
(99,'Block Box','VER-0005','WS23','2029-10-16',3,160.00000,'mm','NA2',0,0,0,0,'2025-09-26','NULL'),
(100,'Block Box','VER-0005','WS23','2029-10-16',4,256.00000,'mm','NA3',0,0,0,0,'2025-09-26','NULL'),
(101,'Block Box','BOX005','WE2345','2033-12-30',1,0.03000,'mm','NA0',2,0,0,0,'2025-09-26','NULL'),
(102,'Block Box','BOX005','WE2345','2033-12-30',2,100.00000,'mm','NA1',0,0,0,0,'2025-09-26','NULL'),
(103,'Block Box','BOX005','WE2345','2033-12-30',3,150.00000,'mm','NA2',0,0,0,0,'2025-09-26','NULL'),
(104,'Block Box','block05','12344','2037-10-27',1,0.03000,'mm','NA0',2,0,0,0,'2025-09-27','NULL'),
(105,'Block Box','block05','12344','2037-10-27',2,50.00000,'mm','NA1',2,0,0,0,'2025-09-27','NULL'),
(106,'Block Box','block05','12344','2037-10-27',3,100.00000,'mm','NA2',2,0,0,0,'2025-09-27','NULL'),
(107,'Weight Box','WEIGHTBOX0001','12365','2039-12-31',1,0.02000,'gm','NA0',3,0,0,0,'2025-09-30','NULL'),
(108,'Weight Box','WEIGHTBOX0001','12365','2039-12-31',2,64.00000,'gm','NA1',3,0,0,0,'2025-09-30','NULL'),
(109,'Weight Box','WEIGHTBOX0001','12365','2039-12-31',3,160.00000,'gm','NA2',3,0,0,0,'2025-09-30','NULL'),
(110,'Weight Box','WEIGHTBOX0001','12365','2039-12-31',4,256.00000,'gm','NA3',3,0,0,0,'2025-09-30','NULL'),
(120,'Weight Box','1235','456','2026-12-31',1,1.00000,'gm','NA0',2,0,0,0,'2025-10-04','NULL'),
(121,'Weight Box','1235','456','2026-12-31',2,10.00000,'gm','NA1',2,0,0,0,'2025-10-04','NULL'),
(122,'Weight Box','1235','456','2026-12-31',3,20.00000,'gm','NA2',2,0,0,0,'2025-10-04','NULL'),
(123,'Weight Box','1235','456','2026-12-31',4,40.00000,'gm','NA3',2,0,0,0,'2025-10-04','NULL');

/*Table structure for table `tbl_cap_detail1` */


CREATE TABLE `tbl_cap_detail1` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail1_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail1` */

insert  into `tbl_cap_detail1`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(1,1,1,1,'0.470','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:10:27','2025-09-26','15:10:27','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(2,1,1,2,'0.520','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:10:27','2025-09-26','15:10:27','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(3,1,1,3,'0.499','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:10:27','2025-09-26','15:10:27','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(4,1,1,4,'0.525','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:10:27','2025-09-26','15:10:27','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(5,1,1,5,'0.488','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:10:27','2025-09-26','15:10:27','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(6,2,2,1,'0.477','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:18:41','2025-09-27','10:18:41','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(7,2,2,2,'0.520','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:18:41','2025-09-27','10:18:41','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(8,2,2,3,'0.499','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:18:41','2025-09-27','10:18:41','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(9,2,2,4,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:18:41','2025-09-27','10:18:41','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(10,2,2,5,'0.502','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:18:41','2025-09-27','10:18:41','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(11,3,1,1,'0.477','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(12,3,1,2,'0.479','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(13,3,1,3,'0.480','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(14,3,1,4,'0.489','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(15,3,1,5,'0.485','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(16,3,1,6,'0.500','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(17,3,1,7,'0.506','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(18,3,1,8,'0.510','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(19,3,1,9,'0.520','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(20,3,1,10,'0.518','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:40:40','2025-10-01','14:40:40','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(21,4,1,1,'0.470','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(22,4,1,2,'0.475','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(23,4,1,3,'0.480','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(24,4,1,4,'0.485','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(25,4,1,5,'0.490','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(26,4,1,6,'0.495','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(27,4,1,7,'0.500','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(28,4,1,8,'0.505','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(29,4,1,9,'0.510','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(30,4,1,10,'0.506','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:41:03','2025-10-01','14:41:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(31,5,1,1,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:39:22','2025-10-03','11:39:22','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(32,5,1,2,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:39:22','2025-10-03','11:39:22','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(33,5,1,3,'0.499','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:39:22','2025-10-03','11:39:22','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(34,5,1,4,'0.510','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:39:22','2025-10-03','11:39:22','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(35,5,1,5,'0.511','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:39:22','2025-10-03','11:39:22','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(36,6,2,1,'0.511','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:44:44','2025-10-03','11:44:44','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(37,6,2,2,'0.526','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:44:44','2025-10-03','11:44:44','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(38,6,2,3,'0.440','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:44:44','2025-10-03','11:44:44','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(39,6,2,4,'0.460','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:44:44','2025-10-03','11:44:44','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(40,6,2,5,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:44:44','2025-10-03','11:44:44','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(41,7,1,1,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-04','16:26:59','2025-10-04','16:26:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(42,7,1,2,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-04','16:26:59','2025-10-04','16:26:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(43,7,1,3,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-04','16:26:59','2025-10-04','16:26:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(44,7,1,4,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-04','16:26:59','2025-10-04','16:26:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(45,7,1,5,'0.500','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-04','16:26:59','2025-10-04','16:26:59','NULL','NULL','NULL','Single','NULL','NULL','NULL');

/*Table structure for table `tbl_cap_detail10` */


CREATE TABLE `tbl_cap_detail10` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  UNIQUE KEY `PK__tbl_cap___36047C74503D7785` (`RecNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail10` */

/*Table structure for table `tbl_cap_detail10_archived` */


CREATE TABLE `tbl_cap_detail10_archived` (
  `RecNo` int(11) NOT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail10_archived` */

/*Table structure for table `tbl_cap_detail10_incomplete` */


CREATE TABLE `tbl_cap_detail10_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  UNIQUE KEY `PK__tbl_cap___36047C74C38D8FA7` (`RecNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail10_incomplete` */

/*Table structure for table `tbl_cap_detail17` */


CREATE TABLE `tbl_cap_detail17` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail17_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail17` */

/*Table structure for table `tbl_cap_detail17_archived` */


CREATE TABLE `tbl_cap_detail17_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  UNIQUE KEY `tbl_capd2_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail17_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail17_archived` */

/*Table structure for table `tbl_cap_detail17_incomplete` */


CREATE TABLE `tbl_cap_detail17_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail17_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail17_incomplete` */

/*Table structure for table `tbl_cap_detail18` */


CREATE TABLE `tbl_cap_detail18` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail18_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail18` */

/*Table structure for table `tbl_cap_detail18_archived` */


CREATE TABLE `tbl_cap_detail18_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  UNIQUE KEY `tbl_capd3_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail18_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail18_archived` */

/*Table structure for table `tbl_cap_detail18_incomplete` */


CREATE TABLE `tbl_cap_detail18_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(50) DEFAULT 'NULL' COMMENT 'Qty',
  `DataValue1` varchar(50) DEFAULT 'NULL' COMMENT 'Retained %',
  `DecimalPoint` smallint(6) DEFAULT '0',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail18_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail18_incomplete` */

/*Table structure for table `tbl_cap_detail1_archived` */


CREATE TABLE `tbl_cap_detail1_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  UNIQUE KEY `tbl_capd1_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail1_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail1_archived` */

/*Table structure for table `tbl_cap_detail1_incomplete` */


CREATE TABLE `tbl_cap_detail1_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail1_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail1_incomplete` */

insert  into `tbl_cap_detail1_incomplete`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(6,2,1,1,'0.470','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-26','15:22:11','2025-09-26','15:22:11','1811','4455','3322','NA','bt56','Bal_27','NULL'),
(12,4,2,1,'0.530','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-09-27','10:44:36','2025-09-27','10:44:36','1811','4455','3322','NA','bt56','Bal_27','NULL'),
(33,7,1,1,'0.506','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:49:55','2025-10-01','14:49:55','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','BAL2909','NULL'),
(34,7,1,2,'0.505','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:49:55','2025-10-01','14:49:55','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','BAL2909','NULL'),
(35,7,1,3,'0.500','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:49:56','2025-10-01','14:49:56','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','BAL2909','NULL'),
(36,7,1,4,'0.495','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:49:56','2025-10-01','14:49:56','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','BAL2909','NULL'),
(42,9,1,1,'0.511','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:42:39','2025-10-03','11:42:39','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(43,9,1,2,'0.511','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:42:41','2025-10-03','11:42:41','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(44,9,1,3,'0.511','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','11:42:54','2025-10-03','11:42:54','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(50,11,2,1,'0.080','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:49:44','2025-10-03','16:49:44','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(51,11,2,2,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:49:53','2025-10-03','16:49:53','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(52,12,3,1,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:50:26','2025-10-03','16:50:26','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(53,12,3,2,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:50:26','2025-10-03','16:50:26','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(54,12,3,3,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:50:27','2025-10-03','16:50:27','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL'),
(55,12,3,4,'0.480','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:50:27','2025-10-03','16:50:27','PRODUCT-005','12345','NQT1.0','NA','BT-24','SHR05','NULL');

/*Table structure for table `tbl_cap_detail2` */


CREATE TABLE `tbl_cap_detail2` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Lot` varchar(50) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail2_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail2` */

insert  into `tbl_cap_detail2`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`,`Lot`) values 
(1,1,1,1,'9.870','NULL','NULL','NULL','NULL','0.986',3,'D','Dharmesh sakpal','2025-10-01','14:52:24','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','0','NULL'),
(2,1,1,2,'0.999','NULL','NULL','NULL','NULL','0.099',3,'D','Dharmesh sakpal','2025-10-01','14:52:30','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','1','NULL'),
(3,1,1,3,'9.685','NULL','NULL','NULL','NULL','0.968',3,'D','Dharmesh sakpal','2025-10-01','14:53:00','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','1','NULL'),
(4,1,1,4,'9.990','NULL','NULL','NULL','NULL','0.999',3,'D','Dharmesh sakpal','2025-10-01','14:53:06','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','0','NULL'),
(5,1,1,5,'10.147','NULL','NULL','NULL','NULL','1.014',3,'D','Dharmesh sakpal','2025-10-01','14:53:11','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','0','NULL'),
(6,1,1,6,'10.249','NULL','NULL','NULL','NULL','1.024',3,'D','Dharmesh sakpal','2025-10-01','14:53:16','1992-12-08','00:00:00','ZVX_CAP0110','ZCAP0110','Z_V2.0','Single','CAPS-DIF-INI1','BAL2909','0','NULL'),
(7,2,1,1,'9.700','NULL','NULL','NULL','NULL','1.940',3,'21','shruti','2025-10-03','11:48:33','1992-12-08','00:00:00','PRODUCT-005','12345','NQT1.0','Single','BT-24','SHR05','0','NULL'),
(8,2,1,2,'10.500','NULL','NULL','NULL','NULL','2.100',3,'21','shruti','2025-10-03','11:48:55','1992-12-08','00:00:00','PRODUCT-005','12345','NQT1.0','Single','BT-24','SHR05','1','NULL'),
(9,2,1,3,'9.800','NULL','NULL','NULL','NULL','1.960',3,'21','shruti','2025-10-03','11:49:16','1992-12-08','00:00:00','PRODUCT-005','12345','NQT1.0','Single','BT-24','SHR05','0','NULL');

/*Table structure for table `tbl_cap_detail2_archived` */


CREATE TABLE `tbl_cap_detail2_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Lot` varchar(50) DEFAULT 'NULL',
  UNIQUE KEY `tbl_capd4_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail2_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail2_archived` */

/*Table structure for table `tbl_cap_detail3` */


CREATE TABLE `tbl_cap_detail3` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail3_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail3` */

insert  into `tbl_cap_detail3`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(1,1,1,1,'0.480','0.080','0.400','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(2,1,1,2,'0.490','0.090','0.400','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(3,1,1,3,'0.500','0.080','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(4,1,1,4,'0.499','0.099','0.400','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(5,1,1,5,'0.505','0.085','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(6,2,2,1,'0.500','0.090','0.410','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(7,2,2,2,'0.490','0.080','0.410','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(8,2,2,3,'0.480','0.088','0.392','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(9,2,2,4,'0.510','0.095','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(10,2,2,5,'0.505','0.100','0.405','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(11,3,1,1,'0.480','0.080','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(12,3,1,2,'0.500','0.090','0.410','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(13,3,1,3,'0.501','0.120','0.381','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(14,3,1,4,'0.511','0.110','0.401','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(15,3,1,5,'519.000','0.250','518.750','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(16,4,2,1,'0.480','0.080','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(17,4,2,2,'0.500','0.080','0.420','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(18,4,2,3,'0.520','0.130','0.390','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(19,4,2,4,'0.500','0.075','0.425','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(20,4,2,5,'0.490','0.120','0.370','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(21,5,1,1,'0.485','0.070','0.415','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(22,5,1,2,'0.530','0.130','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(23,5,1,3,'0.500','0.080','0.420','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(24,5,1,4,'0.500','0.090','0.410','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(25,5,1,5,'0.481','0.080','0.401','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(26,6,2,1,'0.480','0.080','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(27,6,2,2,'0.500','0.100','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(28,7,1,1,'0.490','0.080','0.410','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(29,7,1,2,'0.500','0.090','0.410','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(30,7,1,3,'0.500','0.095','0.405','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(31,7,1,4,'0.495','0.080','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(32,7,1,5,'0.510','0.085','0.425','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(33,8,2,1,'0.500','0.085','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(34,8,2,2,'0.510','0.080','0.430','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(35,9,3,1,'0.495','0.080','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(36,9,3,2,'0.510','0.095','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(37,10,4,1,'0.500','0.085','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(38,10,4,2,'0.510','0.095','0.415','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(39,10,4,3,'0.520','0.100','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(40,11,1,1,'0.480','0.111','0.369','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(41,11,1,2,'0.470','0.070','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(42,11,1,3,'0.530','0.130','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(43,11,1,4,'0.300','0.150','0.150','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(44,11,1,5,'0.444','0.080','0.364','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(45,12,2,1,'0.480','0.070','0.410','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(46,12,2,2,'0.450','0.150','0.300','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(47,12,2,3,'0.499','0.011','0.488','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(48,12,2,4,'0.520','0.190','0.330','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(49,12,2,5,'0.450','0.166','0.284','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(50,13,3,1,'0.480','0.070','0.410','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(51,13,3,2,'0.440','0.070','0.370','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(52,13,3,3,'0.780','0.500','0.280','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(53,13,3,4,'0.500','0.100','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(54,13,3,5,'0.520','0.130','0.390','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(55,14,4,1,'0.520','0.100','0.420','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(56,14,4,2,'0.500','0.120','0.380','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(57,15,5,1,'0.500','0.100','0.400','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(58,15,5,2,'0.480','0.090','0.390','NULL','NULL','NULL',0,'21','shruti','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(59,16,1,1,'0.500','0.080','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(60,16,1,2,'0.490','0.080','0.410','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(61,16,1,3,'0.510','0.090','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(62,16,1,4,'0.515','0.095','0.420','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL'),
(63,16,1,5,'0.485','0.085','0.400','NULL','NULL','NULL',0,'D','Dharmesh sakpal','1992-12-08','00:00:00','1992-12-08','00:00:00','NULL','NULL','NULL','NA','NULL','NULL','NULL');

/*Table structure for table `tbl_cap_detail3_archived` */


CREATE TABLE `tbl_cap_detail3_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  UNIQUE KEY `tbl_capd5_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail3_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail3_archived` */

/*Table structure for table `tbl_cap_detail3_incomplete` */


CREATE TABLE `tbl_cap_detail3_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail3_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail3_incomplete` */

insert  into `tbl_cap_detail3_incomplete`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(1,1,0,1,'0.480','0.080','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-01','15:26:22','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(2,1,0,2,'0.490','0.080','0.410','NULL','NULL','NULL',3,'NULL','NULL','2025-10-01','15:26:54','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(23,6,1,1,'0.445','0.130','0.315','NULL','NULL','NULL',3,'NULL','NULL','2025-10-03','14:41:41','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(24,6,1,2,'0.420','0.070','0.350','NULL','NULL','NULL',3,'NULL','NULL','2025-10-03','14:42:40','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(32,9,1,1,'0.480','0.080','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-03','16:43:23','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(45,14,1,1,'0.480','0.000','0.480','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','11:53:34','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(46,14,1,2,'0.111','0','0','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','11:54:13','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(55,17,1,1,'0.500','0.075','0.425','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','12:34:43','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(56,17,1,2,'0.490','0.120','0.370','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','12:35:57','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(64,19,1,1,'0.419','0.003','0.416','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','15:14:54','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(65,19,1,3,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','15:16:19','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(66,20,1,1,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','15:20:50','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(71,23,1,1,'0.550','0.100','0.450','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:22:06','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(72,24,1,1,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:39:27','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(73,25,1,1,'0.500','0.080','0.420','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:40:43','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(74,25,1,2,'0.490','0.090','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:40:50','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(75,26,1,1,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:41:23','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(76,26,1,2,'0.480','0.100','0.380','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:42:16','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(77,26,1,3,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:42:27','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(78,25,1,3,'0.510','0','0','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:42:48','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(79,26,1,4,'0.500','0.100','0.400','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:43:20','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(80,27,1,1,'0.400','0.050','0.350','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:53:45','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL'),
(81,27,1,2,'0.020','0.001','0.019','NULL','NULL','NULL',3,'NULL','NULL','2025-10-04','16:59:19','1992-12-08','00:00:00','NULL','NULL','NULL','NULL','NULL','NULL','NULL');

/*Table structure for table `tbl_cap_detail4` */


CREATE TABLE `tbl_cap_detail4` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail4_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail4` */

insert  into `tbl_cap_detail4`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(1,1,1,1,'3.35','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(2,1,1,2,'3.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(3,1,1,3,'3.39','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(4,1,1,4,'3.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(5,1,1,5,'3.45','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(6,1,1,6,'3.50','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(7,1,1,7,'3.55','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(8,1,1,8,'3.61','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(9,1,1,9,'3.62','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(10,1,1,10,'3.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:57:45','2025-10-01','14:57:45','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(11,2,1,1,'3.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(12,2,1,2,'3.70','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(13,2,1,3,'3.68','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(14,2,1,4,'3.50','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(15,2,1,5,'3.57','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(16,2,1,6,'3.49','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(17,2,1,7,'3.44','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(18,2,1,8,'3.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(19,2,1,9,'3.36','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(20,2,1,10,'3.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:10','2025-10-01','14:58:10','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(21,3,1,1,'4.77','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:18:23','2025-10-03','15:18:23','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(22,3,1,2,'5.11','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:18:23','2025-10-03','15:18:23','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(23,3,1,3,'4.99','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:18:23','2025-10-03','15:18:23','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(24,3,1,4,'5.01','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:18:23','2025-10-03','15:18:23','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(25,3,1,5,'4.80','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:18:23','2025-10-03','15:18:23','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(26,4,1,1,'4.80','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:59:34','2025-10-03','15:59:34','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(27,4,1,2,'4.02','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:59:34','2025-10-03','15:59:34','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(28,4,1,3,'4.78','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:59:34','2025-10-03','15:59:34','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(29,4,1,4,'4.99','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:59:34','2025-10-03','15:59:34','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(30,4,1,5,'5.99','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','15:59:34','2025-10-03','15:59:34','NULL','NULL','NULL','Single','NULL','NULL','NULL');

/*Table structure for table `tbl_cap_detail4_archived` */


CREATE TABLE `tbl_cap_detail4_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  UNIQUE KEY `tbl_capd6_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail4_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail4_archived` */

/*Table structure for table `tbl_cap_detail4_incomplete` */


CREATE TABLE `tbl_cap_detail4_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail4_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail4_incomplete` */

insert  into `tbl_cap_detail4_incomplete`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(21,3,1,1,'3.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:16','2025-10-01','14:58:16','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(22,3,1,2,'3.36','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:16','2025-10-01','14:58:16','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(23,3,1,3,'3.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:17','2025-10-01','14:58:17','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(24,3,1,4,'3.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:17','2025-10-01','14:58:17','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(25,3,1,5,'3.44','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','14:58:18','2025-10-01','14:58:18','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(26,4,1,1,'3.35','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:47','2025-10-01','15:20:47','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(27,4,1,2,'3.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:48','2025-10-01','15:20:48','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(28,4,1,3,'3.55','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:50','2025-10-01','15:20:50','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(29,4,1,4,'3.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:52','2025-10-01','15:20:52','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(30,4,1,5,'3.59','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:54','2025-10-01','15:20:54','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(41,7,1,1,'4.80','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','17:02:59','2025-10-03','17:02:59','PRODUCT-005','12345','NQT1.0','NA','BT-24','V001','NULL'),
(42,7,1,2,'5.10','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','17:03:06','2025-10-03','17:03:06','PRODUCT-005','12345','NQT1.0','NA','BT-24','V001','NULL'),
(43,7,1,3,'5.11','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','17:03:11','2025-10-03','17:03:11','PRODUCT-005','12345','NQT1.0','NA','BT-24','V001','NULL'),
(44,7,1,4,'5.11','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','17:03:11','2025-10-03','17:03:11','PRODUCT-005','12345','NQT1.0','NA','BT-24','V001','NULL');

/*Table structure for table `tbl_cap_detail5` */


CREATE TABLE `tbl_cap_detail5` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail5_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail5` */

insert  into `tbl_cap_detail5`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(1,1,1,1,'4.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(2,1,1,2,'4.35','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(3,1,1,3,'4.39','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(4,1,1,4,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(5,1,1,5,'4.50','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(6,1,1,6,'4.60','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(7,1,1,7,'4.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(8,1,1,8,'4.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(9,1,1,9,'4.58','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(10,1,1,10,'4.68','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:49','2025-10-01','15:19:49','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(11,2,1,1,'4.31','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(12,2,1,2,'4.35','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(13,2,1,3,'4.39','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(14,2,1,4,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(15,2,1,5,'4.42','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(16,2,1,6,'4.45','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(17,2,1,7,'4.50','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(18,2,1,8,'4.52','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(19,2,1,9,'4.60','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(20,2,1,10,'4.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:22:03','2025-10-01','15:22:03','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(21,3,1,1,'7.55','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:03:59','2025-10-03','16:03:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(22,3,1,2,'8.45','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:03:59','2025-10-03','16:03:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(23,3,1,3,'8.22','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:03:59','2025-10-03','16:03:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(24,3,1,4,'7.90','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:03:59','2025-10-03','16:03:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(25,3,1,5,'7.67','NULL','NULL','NULL','NULL','NULL',0,'21','shruti','2025-10-03','16:03:59','2025-10-03','16:03:59','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(26,4,1,1,'4.30','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:43:53','2025-10-04','11:43:53','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(27,4,1,2,'4.45','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:43:53','2025-10-04','11:43:53','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(28,4,1,3,'4.60','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:43:53','2025-10-04','11:43:53','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(29,4,1,4,'4.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:43:53','2025-10-04','11:43:53','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(30,4,1,5,'4.58','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:43:53','2025-10-04','11:43:53','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(31,5,1,1,'4.35','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:44:08','2025-10-04','11:44:08','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(32,5,1,2,'4.36','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:44:08','2025-10-04','11:44:08','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(33,5,1,3,'4.48','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:44:08','2025-10-04','11:44:08','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(34,5,1,4,'4.71','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:44:08','2025-10-04','11:44:08','NULL','NULL','NULL','Single','NULL','NULL','NULL'),
(35,5,1,5,'4.63','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:44:08','2025-10-04','11:44:08','NULL','NULL','NULL','Single','NULL','NULL','NULL');

/*Table structure for table `tbl_cap_detail5_archived` */


CREATE TABLE `tbl_cap_detail5_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  UNIQUE KEY `tbl_capd7_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail5_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail5_archived` */

/*Table structure for table `tbl_cap_detail5_incomplete` */


CREATE TABLE `tbl_cap_detail5_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT 'NULL',
  `DataValue1` varchar(100) DEFAULT 'NULL' COMMENT 'EmptyWeight',
  `NetValue` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content1` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `Content2` varchar(100) DEFAULT 'NULL' COMMENT 'Only for Diff',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `UserId` varchar(25) DEFAULT 'NULL',
  `UserName` varchar(200) DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Version` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `PVersion` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Side` varchar(10) DEFAULT 'NULL' COMMENT 'Only for group',
  `BatchNo` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `InstrumentID` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Only for group',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail5_incomplete_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail5_incomplete` */

insert  into `tbl_cap_detail5_incomplete`(`RecNo`,`RepSerNo`,`MstSerNo`,`RecSeqNo`,`DataValue`,`DataValue1`,`NetValue`,`Content1`,`Content2`,`AvgWeight`,`DecimalPoint`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`BFGCode`,`Version`,`PVersion`,`Side`,`BatchNo`,`InstrumentID`,`Remark`) values 
(11,2,1,1,'4.68','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:55','2025-10-01','15:19:55','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(12,2,1,2,'4.69','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:56','2025-10-01','15:19:56','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(13,2,1,3,'4.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:56','2025-10-01','15:19:56','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(14,2,1,4,'4.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:19:57','2025-10-01','15:19:57','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(15,3,1,1,'4.65','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:35','2025-10-01','15:20:35','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(16,3,1,2,'4.60','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:36','2025-10-01','15:20:36','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(17,3,1,3,'4.50','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:36','2025-10-01','15:20:36','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(18,3,1,4,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:37','2025-10-01','15:20:37','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(19,3,1,5,'4.39','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-01','15:20:37','2025-10-01','15:20:37','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-DIF-INI1','VER02','NULL'),
(35,6,1,1,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:02:25','2025-10-04','11:02:25','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-CHK-REG','V001','NULL'),
(36,7,2,1,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:03:59','2025-10-04','11:03:59','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-CHK-REG','V001','NULL'),
(37,8,3,1,'4.40','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:05:49','2025-10-04','11:05:49','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','CAPS-CHK-REG','V001','NULL'),
(48,11,1,1,'4.63','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:59:12','2025-10-04','11:59:12','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','BT-CAP-1','V001','NULL'),
(49,11,1,2,'4.71','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:59:12','2025-10-04','11:59:12','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','BT-CAP-1','V001','NULL'),
(50,11,1,3,'4.48','NULL','NULL','NULL','NULL','NULL',0,'D','Dharmesh sakpal','2025-10-04','11:59:13','2025-10-04','11:59:13','ZVX_CAP0110','ZCAP0110','Z_V2.0','NA','BT-CAP-1','V001','NULL');

/*Table structure for table `tbl_cap_detail6` */


CREATE TABLE `tbl_cap_detail6` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `RunTimeA` varchar(20) DEFAULT 'NULL',
  `RunTimeB` varchar(20) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  KEY `idx_tbl_cap_detail6_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail6` */

/*Table structure for table `tbl_cap_detail6_archived` */


CREATE TABLE `tbl_cap_detail6_archived` (
  `RecNo` int(11) DEFAULT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` smallint(6) DEFAULT '0',
  `RunTimeA` varchar(20) DEFAULT 'NULL',
  `RunTimeB` varchar(20) DEFAULT 'NULL',
  UNIQUE KEY `tbl_capd8_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_detail6_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail6_archived` */

/*Table structure for table `tbl_cap_detail9` */


CREATE TABLE `tbl_cap_detail9` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  UNIQUE KEY `PK__tbl_cap___36047C74503D7785` (`RecNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail9` */

/*Table structure for table `tbl_cap_detail9_archived` */


CREATE TABLE `tbl_cap_detail9_archived` (
  `RecNo` int(11) NOT NULL,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail9_archived` */

/*Table structure for table `tbl_cap_detail9_incomplete` */


CREATE TABLE `tbl_cap_detail9_incomplete` (
  `RecNo` int(11) NOT NULL AUTO_INCREMENT,
  `RepSerNo` int(11) DEFAULT '0',
  `MstSerNo` int(11) DEFAULT '0',
  `RecSeqNo` int(11) DEFAULT '0',
  `DataValue` varchar(100) DEFAULT '0',
  `DataValue1` varchar(100) DEFAULT '0',
  `NetValue` varchar(100) DEFAULT '0',
  `AvgWeight` varchar(100) DEFAULT '0',
  `Deviation` varchar(100) DEFAULT '0',
  `DP` int(11) DEFAULT '0',
  `UserId` varchar(25) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `BFGCode` varchar(100) DEFAULT NULL,
  `ProductName` varchar(300) DEFAULT NULL,
  `Version` varchar(100) DEFAULT NULL,
  `PVersion` varchar(100) DEFAULT NULL,
  `Side` varchar(10) DEFAULT NULL,
  `BatchNo` varchar(100) DEFAULT NULL,
  `InstrumentID` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `Content1` varchar(100) DEFAULT 'NULL',
  `Content2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RecNo`),
  UNIQUE KEY `PK__tbl_cap___36047C74C38D8FA7` (`RecNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_detail9_incomplete` */

/*Table structure for table `tbl_cap_master1` */


CREATE TABLE `tbl_cap_master1` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master1` */

insert  into `tbl_cap_master1`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(1,1,0,1,2,'QC',6,'QC_01','QC','Capsule Filling','NULL','MID_02','QC','1811','Domperidene IP20 MG','3322','4455','Paracetamoll IP350 MG','bt56','12','123','0',5,0,0,110,'Bal_27','Bal_27','FRI_1209','HRD_1209','21','shruti','2025-09-26','15:09:57','2025-09-27','10:18:41',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'1','Prachiti Shah','2025-09-29','NULL',0,0,0,0,'6.00','5.00','2.502','0.500','NULL','NULL','NULL','NULL','0.470','0.525','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.022','NULL','NULL','NULL','0','test',0,'12:13:10',1),
(2,2,0,1,2,'QC',6,'QC_01','QC','Capsule Filling','NULL','MID_02','QC','1811','Domperidene IP20 MG','3322','4455','Paracetamoll IP350 MG','bt56','12','123','0',5,0,0,110,'Bal_27','Bal_27','FRI_1209','HRD_1209','21','shruti','2025-09-27','10:18:03','2025-09-27','10:18:41',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'4.60','4.00','2.477','0.495','NULL','NULL','NULL','NULL','0.477','0.520','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.017','NULL','NULL','NULL','0','NULL',0,'00:00:00',2),
(3,1,0,1,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','BAL2909','None','None','D','Dharmesh sakpal','2025-10-01','14:40:20','2025-10-01','14:41:03',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'14','Prakash','2025-10-01','NULL',0,0,0,0,'4.60','4.00','4.963','0.496','NULL','NULL','NULL','NULL','0.477','0.520','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.016','NULL','NULL','NULL','0','erghn',0,'14:49:49',1),
(4,1,0,1,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','BAL2909','None','None','D','Dharmesh sakpal','2025-10-01','14:40:45','2025-10-01','14:41:03',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'6.00','2.00','4.915','0.491','NULL','NULL','NULL','NULL','0.470','0.510','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.013','NULL','NULL','NULL','0','NULL',0,'00:00:00',2),
(5,1,0,1,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,110,'SHR05','SHR05','None','None','21','shruti','2025-10-03','11:38:51','2025-10-03','11:44:44',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','NULL',0,0,0,0,'4.00','2.20','2.500','0.500','NULL','NULL','NULL','NULL','0.480','0.511','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.012','NULL','NULL','NULL','0','NULL',0,'11:42:27',1),
(6,2,0,1,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,110,'SHR05','SHR05','None','None','21','shruti','2025-10-03','11:44:16','2025-10-03','11:44:44',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','NULL',1,2,0,0,'12.00','5.20','2.417','0.483','NULL','NULL','NULL','NULL','0.440','0.526','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.035','NULL','NULL','NULL','1','RDS',0,'11:46:51',2),
(7,1,0,1,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,0,0,110,'QWE0524','QWE0524','None','None','21','shruti','2025-10-04','16:26:51','2025-10-04','16:26:59',0,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'0.00','0.00','2.500','0.500','NULL','NULL','NULL','NULL','0.500','0.500','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.000','NULL','NULL','NULL','0','NULL',0,'00:00:00',1);

/*Table structure for table `tbl_cap_master10` */


CREATE TABLE `tbl_cap_master10` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `WgmtModeNo` int(11) DEFAULT '0',
  `ProductType` int(11) DEFAULT '0',
  `Area` varchar(200) DEFAULT NULL,
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) DEFAULT NULL,
  `CubicleType` varchar(100) DEFAULT NULL,
  `IPQCType` varchar(100) DEFAULT NULL,
  `CoatingType` varchar(100) DEFAULT NULL,
  `MachineCode` varchar(50) DEFAULT NULL,
  `Department` varchar(100) DEFAULT NULL,
  `BFGCode` varchar(50) DEFAULT NULL,
  `ProductName` varchar(500) DEFAULT NULL,
  `PVersion` varchar(50) DEFAULT NULL,
  `Version` varchar(50) DEFAULT NULL,
  `BatchNo` varchar(25) DEFAULT NULL,
  `BatchSize` varchar(100) DEFAULT NULL,
  `BMRNo` varchar(150) DEFAULT NULL,
  `GraphType` varchar(15) DEFAULT NULL,
  `Qty` int(11) DEFAULT '0',
  `GrpQty` int(11) DEFAULT '0',
  `GrpFreq` int(11) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) DEFAULT NULL,
  `VernierId` varchar(50) DEFAULT NULL,
  `FriabilityID` varchar(50) DEFAULT NULL,
  `HardnessID` varchar(50) DEFAULT NULL,
  `UserId` varchar(50) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(11) DEFAULT '0',
  `Side` varchar(20) DEFAULT NULL,
  `Unit` varchar(10) DEFAULT NULL,
  `DecimalPoint` int(11) DEFAULT '0',
  `LimitOn` int(11) DEFAULT '0',
  `NMT` int(11) DEFAULT '0',
  `Nom` varchar(100) DEFAULT '0',
  `T1NegTol` varchar(100) DEFAULT '0',
  `T1PosTol` varchar(100) DEFAULT '0',
  `T2NegTol` varchar(100) DEFAULT '0',
  `T2PosTol` varchar(100) DEFAULT '0',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT '0',
  `T1NegEmpty` varchar(100) DEFAULT '0',
  `T1PosEmpty` varchar(100) DEFAULT '0',
  `T2NegEmpty` varchar(100) DEFAULT '0',
  `T2PosEmpty` varchar(100) DEFAULT '0',
  `NomNet` varchar(100) DEFAULT '0',
  `T1NegNet` varchar(100) DEFAULT '0',
  `T1PosNet` varchar(100) DEFAULT '0',
  `T2NegNet` varchar(100) DEFAULT '0',
  `T2PosNet` varchar(100) DEFAULT '0',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `ReportType` varchar(5) DEFAULT '0',
  `PrintNo` int(11) DEFAULT '0',
  `IsArchived` int(11) DEFAULT '0',
  `BatchComplete` int(11) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT NULL,
  `CheckedByName` varchar(200) DEFAULT NULL,
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT NULL,
  `NoOfAbove1` int(11) DEFAULT '0',
  `NoOfBelow1` int(11) DEFAULT '0',
  `NoOfAbove2` int(11) DEFAULT '0',
  `NoOfBelow2` int(11) DEFAULT '0',
  `MinPer` varchar(100) DEFAULT '0',
  `MaxPer` varchar(100) DEFAULT '0',
  `GroupWeight` varchar(100) DEFAULT NULL,
  `AvgWeight` varchar(100) DEFAULT NULL,
  `AvgEmpty` varchar(100) DEFAULT NULL,
  `AvgNet` varchar(100) DEFAULT NULL,
  `MinWeight` varchar(100) DEFAULT NULL,
  `MaxWeight` varchar(100) DEFAULT NULL,
  `MinWeightEmpty` varchar(100) DEFAULT NULL,
  `MaxWeightEmpty` varchar(100) DEFAULT NULL,
  `MinWeightNet` varchar(100) DEFAULT NULL,
  `MaxWeightNet` varchar(100) DEFAULT NULL,
  `StdDev` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `FailedRemark` varchar(200) DEFAULT NULL,
  `FailedRemarkTSH` varchar(200) DEFAULT NULL,
  `Inprocess` int(11) DEFAULT '0',
  `Stage` varchar(50) DEFAULT NULL,
  `StdLimit1` varchar(500) DEFAULT NULL,
  `StdLimit2` varchar(500) DEFAULT NULL,
  `Deviation` varchar(200) DEFAULT NULL,
  `LayerName` varchar(50) DEFAULT NULL,
  `Layer` varchar(50) DEFAULT NULL,
  `Nom_stdtarget` varchar(50) DEFAULT NULL,
  `TotalWeight` varchar(100) DEFAULT NULL,
  `MinGrpWeight` varchar(50) DEFAULT 'NULL',
  `MaxGrpWeight` varchar(50) DEFAULT 'NULL',
  `AvgGrpWeight` varchar(50) DEFAULT 'NULL',
  `CheckedByTime` time DEFAULT '00:00:00',
  `Sys_Validation` int(11) DEFAULT '0' COMMENT '0:unchecked,1:checked',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `ContentType` varchar(500) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`),
  UNIQUE KEY `PK__tbl_cap___647BBB2923CE74FC` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master10` */

/*Table structure for table `tbl_cap_master10_archived` */


CREATE TABLE `tbl_cap_master10_archived` (
  `RepSerNo` int(11) NOT NULL,
  `MstSerNo` int(11) DEFAULT '0',
  `WgmtModeNo` int(11) DEFAULT '0',
  `ProductType` int(11) DEFAULT '0',
  `Area` varchar(200) DEFAULT NULL,
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) DEFAULT NULL,
  `CubicleType` varchar(100) DEFAULT NULL,
  `IPQCType` varchar(100) DEFAULT NULL,
  `CoatingType` varchar(100) DEFAULT NULL,
  `MachineCode` varchar(50) DEFAULT NULL,
  `Department` varchar(100) DEFAULT NULL,
  `BFGCode` varchar(50) DEFAULT NULL,
  `ProductName` varchar(500) DEFAULT NULL,
  `PVersion` varchar(50) DEFAULT NULL,
  `Version` varchar(50) DEFAULT NULL,
  `BatchNo` varchar(25) DEFAULT NULL,
  `BatchSize` varchar(100) DEFAULT NULL,
  `BMRNo` varchar(150) DEFAULT NULL,
  `GraphType` varchar(15) DEFAULT NULL,
  `Qty` int(11) DEFAULT '0',
  `GrpQty` int(11) DEFAULT '0',
  `GrpFreq` int(11) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) DEFAULT NULL,
  `VernierId` varchar(50) DEFAULT NULL,
  `FriabilityID` varchar(50) DEFAULT NULL,
  `HardnessID` varchar(50) DEFAULT NULL,
  `UserId` varchar(50) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(11) DEFAULT '0',
  `Side` varchar(20) DEFAULT NULL,
  `Unit` varchar(10) DEFAULT NULL,
  `DecimalPoint` int(11) DEFAULT '0',
  `LimitOn` int(11) DEFAULT '0',
  `NMT` int(11) DEFAULT '0',
  `Nom` varchar(100) DEFAULT '0',
  `T1NegTol` varchar(100) DEFAULT '0',
  `T1PosTol` varchar(100) DEFAULT '0',
  `T2NegTol` varchar(100) DEFAULT '0',
  `T2PosTol` varchar(100) DEFAULT '0',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT '0',
  `T1NegEmpty` varchar(100) DEFAULT '0',
  `T1PosEmpty` varchar(100) DEFAULT '0',
  `T2NegEmpty` varchar(100) DEFAULT '0',
  `T2PosEmpty` varchar(100) DEFAULT '0',
  `NomNet` varchar(100) DEFAULT '0',
  `T1NegNet` varchar(100) DEFAULT '0',
  `T1PosNet` varchar(100) DEFAULT '0',
  `T2NegNet` varchar(100) DEFAULT '0',
  `T2PosNet` varchar(100) DEFAULT '0',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `ReportType` varchar(5) DEFAULT '0',
  `PrintNo` int(11) DEFAULT '0',
  `IsArchived` int(11) DEFAULT '0',
  `BatchComplete` int(11) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT NULL,
  `CheckedByName` varchar(200) DEFAULT NULL,
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT NULL,
  `NoOfAbove1` int(11) DEFAULT '0',
  `NoOfBelow1` int(11) DEFAULT '0',
  `NoOfAbove2` int(11) DEFAULT '0',
  `NoOfBelow2` int(11) DEFAULT '0',
  `MinPer` varchar(100) DEFAULT '0',
  `MaxPer` varchar(100) DEFAULT '0',
  `GroupWeight` varchar(100) DEFAULT NULL,
  `AvgWeight` varchar(100) DEFAULT NULL,
  `AvgEmpty` varchar(100) DEFAULT NULL,
  `AvgNet` varchar(100) DEFAULT NULL,
  `MinWeight` varchar(100) DEFAULT NULL,
  `MaxWeight` varchar(100) DEFAULT NULL,
  `MinWeightEmpty` varchar(100) DEFAULT NULL,
  `MaxWeightEmpty` varchar(100) DEFAULT NULL,
  `MinWeightNet` varchar(100) DEFAULT NULL,
  `MaxWeightNet` varchar(100) DEFAULT NULL,
  `StdDev` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `FailedRemark` varchar(200) DEFAULT NULL,
  `FailedRemarkTSH` varchar(200) DEFAULT NULL,
  `Inprocess` int(11) DEFAULT '0',
  `Stage` varchar(50) DEFAULT NULL,
  `StdLimit1` varchar(500) DEFAULT NULL,
  `StdLimit2` varchar(500) DEFAULT NULL,
  `Deviation` varchar(200) DEFAULT NULL,
  `LayerName` varchar(50) DEFAULT NULL,
  `Layer` varchar(50) DEFAULT NULL,
  `Nom_stdtarget` varchar(50) DEFAULT NULL,
  `TotalWeight` varchar(100) DEFAULT NULL,
  `MinGrpWeight` varchar(50) DEFAULT 'NULL',
  `MaxGrpWeight` varchar(50) DEFAULT 'NULL',
  `AvgGrpWeight` varchar(50) DEFAULT 'NULL',
  `CheckedByTime` time DEFAULT '00:00:00',
  `Sys_Validation` int(11) DEFAULT '0' COMMENT '0:unchecked,1:checked',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `ContentType` varchar(500) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master10_archived` */

/*Table structure for table `tbl_cap_master10_incomplete` */


CREATE TABLE `tbl_cap_master10_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `WgmtModeNo` int(11) DEFAULT '0',
  `ProductType` int(11) DEFAULT '0',
  `Area` varchar(200) DEFAULT NULL,
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) DEFAULT NULL,
  `CubicleType` varchar(100) DEFAULT NULL,
  `IPQCType` varchar(100) DEFAULT NULL,
  `CoatingType` varchar(100) DEFAULT NULL,
  `MachineCode` varchar(50) DEFAULT NULL,
  `Department` varchar(100) DEFAULT NULL,
  `BFGCode` varchar(50) DEFAULT NULL,
  `ProductName` varchar(500) DEFAULT NULL,
  `PVersion` varchar(50) DEFAULT NULL,
  `Version` varchar(50) DEFAULT NULL,
  `BatchNo` varchar(25) DEFAULT NULL,
  `BatchSize` varchar(100) DEFAULT NULL,
  `BMRNo` varchar(150) DEFAULT NULL,
  `GraphType` varchar(15) DEFAULT NULL,
  `Qty` int(11) DEFAULT '0',
  `GrpQty` int(11) DEFAULT '0',
  `GrpFreq` int(11) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) DEFAULT NULL,
  `VernierId` varchar(50) DEFAULT NULL,
  `FriabilityID` varchar(50) DEFAULT NULL,
  `HardnessID` varchar(50) DEFAULT NULL,
  `UserId` varchar(50) DEFAULT NULL,
  `UserName` varchar(200) DEFAULT NULL,
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(11) DEFAULT '0',
  `Side` varchar(20) DEFAULT NULL,
  `Unit` varchar(10) DEFAULT NULL,
  `DecimalPoint` int(11) DEFAULT '0',
  `LimitOn` int(11) DEFAULT '0',
  `NMT` int(11) DEFAULT '0',
  `Nom` varchar(100) DEFAULT '0',
  `T1NegTol` varchar(100) DEFAULT '0',
  `T1PosTol` varchar(100) DEFAULT '0',
  `T2NegTol` varchar(100) DEFAULT '0',
  `T2PosTol` varchar(100) DEFAULT '0',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT '0',
  `T1NegEmpty` varchar(100) DEFAULT '0',
  `T1PosEmpty` varchar(100) DEFAULT '0',
  `T2NegEmpty` varchar(100) DEFAULT '0',
  `T2PosEmpty` varchar(100) DEFAULT '0',
  `NomNet` varchar(100) DEFAULT '0',
  `T1NegNet` varchar(100) DEFAULT '0',
  `T1PosNet` varchar(100) DEFAULT '0',
  `T2NegNet` varchar(100) DEFAULT '0',
  `T2PosNet` varchar(100) DEFAULT '0',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `ReportType` varchar(5) DEFAULT '0',
  `PrintNo` int(11) DEFAULT '0',
  `IsArchived` int(11) DEFAULT '0',
  `BatchComplete` int(11) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT NULL,
  `CheckedByName` varchar(200) DEFAULT NULL,
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT NULL,
  `NoOfAbove1` int(11) DEFAULT '0',
  `NoOfBelow1` int(11) DEFAULT '0',
  `NoOfAbove2` int(11) DEFAULT '0',
  `NoOfBelow2` int(11) DEFAULT '0',
  `MinPer` varchar(100) DEFAULT '0',
  `MaxPer` varchar(100) DEFAULT '0',
  `GroupWeight` varchar(100) DEFAULT NULL,
  `AvgWeight` varchar(100) DEFAULT NULL,
  `AvgEmpty` varchar(100) DEFAULT NULL,
  `AvgNet` varchar(100) DEFAULT NULL,
  `MinWeight` varchar(100) DEFAULT NULL,
  `MaxWeight` varchar(100) DEFAULT NULL,
  `MinWeightEmpty` varchar(100) DEFAULT NULL,
  `MaxWeightEmpty` varchar(100) DEFAULT NULL,
  `MinWeightNet` varchar(100) DEFAULT NULL,
  `MaxWeightNet` varchar(100) DEFAULT NULL,
  `StdDev` varchar(100) DEFAULT NULL,
  `Remark` varchar(100) DEFAULT NULL,
  `FailedRemark` varchar(200) DEFAULT NULL,
  `FailedRemarkTSH` varchar(200) DEFAULT NULL,
  `Inprocess` int(11) DEFAULT '0',
  `Stage` varchar(50) DEFAULT NULL,
  `StdLimit1` varchar(500) DEFAULT NULL,
  `StdLimit2` varchar(500) DEFAULT NULL,
  `Deviation` varchar(200) DEFAULT NULL,
  `LayerName` varchar(50) DEFAULT NULL,
  `Layer` varchar(50) DEFAULT NULL,
  `Nom_stdtarget` varchar(50) DEFAULT NULL,
  `TotalWeight` varchar(100) DEFAULT NULL,
  `MinGrpWeight` varchar(50) DEFAULT 'NULL',
  `MaxGrpWeight` varchar(50) DEFAULT 'NULL',
  `AvgGrpWeight` varchar(50) DEFAULT 'NULL',
  `CheckedByTime` time DEFAULT '00:00:00',
  `Sys_Validation` int(11) DEFAULT '0' COMMENT '0:unchecked,1:checked',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `ContentType` varchar(500) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`),
  UNIQUE KEY `PK__tbl_cap___647BBB29A23C46A3` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master10_incomplete` */

/*Table structure for table `tbl_cap_master17` */


CREATE TABLE `tbl_cap_master17` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master17` */

/*Table structure for table `tbl_cap_master17_archived` */


CREATE TABLE `tbl_cap_master17_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  UNIQUE KEY `tbl_Cap2_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master17_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master17_archived` */

/*Table structure for table `tbl_cap_master17_incomplete` */


CREATE TABLE `tbl_cap_master17_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master17_incomplete` */

/*Table structure for table `tbl_cap_master18` */


CREATE TABLE `tbl_cap_master18` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master18` */

/*Table structure for table `tbl_cap_master18_archived` */


CREATE TABLE `tbl_cap_master18_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  UNIQUE KEY `tbl_Cap3_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master18_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master18_archived` */

/*Table structure for table `tbl_cap_master18_incomplete` */


CREATE TABLE `tbl_cap_master18_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0',
  `InstruId` int(11) DEFAULT '0',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(250) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductType` smallint(6) DEFAULT '0',
  `PVersion` varchar(100) DEFAULT 'NULL',
  `Version` varchar(100) DEFAULT 'NULL',
  `Idsno` int(11) DEFAULT '0',
  `CubicalNo` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `Side` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(5) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `Nom` varchar(50) DEFAULT 'NULL',
  `T1NegTol` varchar(50) DEFAULT 'NULL',
  `T1PosTol` varchar(50) DEFAULT 'NULL',
  `Param1_NMTTab` int(1) DEFAULT '0',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrintNo` int(11) NOT NULL DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` bit(1) NOT NULL DEFAULT b'0',
  `BatchComplete` bit(1) NOT NULL DEFAULT b'0',
  `CheckedByID` varchar(25) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Below60` varchar(50) DEFAULT 'NULL' COMMENT 'calculated below 60 value',
  `Layer` varchar(50) DEFAULT 'NULL' COMMENT 'his column is added for idenfying normal and layer data.',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BMRNo` varchar(200) DEFAULT 'NULL',
  `Lot` varchar(200) DEFAULT 'NULL',
  `QtyRetained` varchar(50) DEFAULT 'NULL',
  `QtySample` varchar(50) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master18_incomplete` */

/*Table structure for table `tbl_cap_master1_archived` */


CREATE TABLE `tbl_cap_master1_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `BRepSerNo` int(11) DEFAULT NULL,
  UNIQUE KEY `tbl_Cap1_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master1_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master1_archived` */

/*Table structure for table `tbl_cap_master1_incomplete` */


CREATE TABLE `tbl_cap_master1_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master1_incomplete` */

insert  into `tbl_cap_master1_incomplete`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(2,1,0,1,2,'QC',6,'QC_01','QC','Capsule Filling','NULL','MID_02','QC','1811','Domperidene IP20 MG','3322','4455','Paracetamoll IP350 MG','bt56','12','123','0',5,0,0,110,'Bal_27','Bal_27','FRI_1209','HRD_1209','21','shruti','2025-09-26','15:22:11','2025-09-26','15:22:11',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'6.00','6.00','0.470','0.470','NULL','NULL','NULL','NULL','0.470','0.470','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.000','NULL','NULL','NULL','0','NULL',1,'00:00:00',1),
(4,2,0,1,2,'QC',6,'QC_01','QC','Capsule Filling','NULL','MID_02','QC','1811','Domperidene IP20 MG','3322','4455','Paracetamoll IP350 MG','bt56','12','123','0',5,0,0,110,'Bal_27','Bal_27','FRI_1209','HRD_1209','21','shruti','2025-09-27','10:44:36','2025-09-27','10:44:36',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'6.00','6.00','0.530','0.530','NULL','NULL','NULL','NULL','0.530','0.530','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.000','NULL','NULL','NULL','0','NULL',1,'00:00:00',2),
(7,1,0,1,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','BAL2909','None','None','D','Dharmesh sakpal','2025-10-01','14:49:55','2025-10-01','14:49:57',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.470','0.530','0.000','0.000','0.030','0.030','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,0,'14','Prakash','2025-10-01','NULL',0,0,0,0,'1.00','1.20','2.006','0.501','NULL','NULL','NULL','NULL','0.495','0.506','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.005','NULL','NULL','NULL','0','erhm',0,'14:52:15',1),
(9,1,0,1,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,110,'SHR05','SHR05','None','None','21','shruti','2025-10-03','11:42:39','2025-10-03','11:43:27',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-03','NULL',0,0,0,0,'2.20','2.20','1.533','0.511','NULL','NULL','NULL','NULL','0.511','0.511','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.000','NULL','NULL','NULL','0','FG',0,'11:43:51',1),
(11,2,0,1,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','SHR05','None','None','21','shruti','2025-10-03','16:49:44','2025-10-03','16:49:56',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-03','NULL',0,1,0,0,'84.00','4.00','0.560','0.279','NULL','NULL','NULL','NULL','0.080','0.480','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.282','NULL','NULL','NULL','1','tyui',0,'16:50:17',2),
(12,3,0,1,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','SHR05','None','None','21','shruti','2025-10-03','16:50:26','2025-10-03','16:50:31',1,'Single','gm',3,0,0,'0.500','0.000','0.000','0.480','0.520','0.000','0.000','0.020','0.020','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'4.00','4.00','1.920','0.480','NULL','NULL','NULL','NULL','0.480','0.480','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.000','NULL','NULL','NULL','0','NULL',0,'00:00:00',3);

/*Table structure for table `tbl_cap_master2` */


CREATE TABLE `tbl_cap_master2` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master2` */

insert  into `tbl_cap_master2`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(1,1,0,2,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',0,10,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','14:52:24','2025-10-01','14:53:16',1,'NA','gm',3,0,0,'10.000','0.000','0.000','9.750','10.250','0','0','0.250','0.250','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,2,0,0,'88.23','20.71','0.848','8.490','NULL','NULL','NULL','NULL','0.999','10.249','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','43.289','NULL','NULL','NULL','1','NULL',0,'00:00:00',1),
(2,1,0,2,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',0,5,0,110,'SHR05','V001','None','None','21','shruti','2025-10-03','11:48:33','2025-10-03','11:49:16',1,'NA','gm',3,0,0,'10.000','0.000','0.000','9.700','10.300','0','0','0.300','0.300','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','NULL',1,0,0,0,'3.00','5.00','2.000','10.000','NULL','NULL','NULL','NULL','9.700','10.500','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','4.358','NULL','NULL','NULL','1','NULL',0,'00:00:00',1);

/*Table structure for table `tbl_cap_master2_archived` */


CREATE TABLE `tbl_cap_master2_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  UNIQUE KEY `tbl_Cap4_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master2_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master2_archived` */

/*Table structure for table `tbl_cap_master3` */


CREATE TABLE `tbl_cap_master3` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT 'For content-1, content-2 Name',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  `AvgNetFillWeight` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master3` */

insert  into `tbl_cap_master3`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`,`AvgNetFillWeight`) values 
(1,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',5,5,5,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','15:48:12','2025-10-01','16:22:33',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'14','Prakash','2025-10-01','0',0,0,0,0,'0.000','5.000','NULL','0.494','0.086','0.408','NULL','NULL','0.480','0.505','0.080','0.099','0.400','0.420','NULL','NULL','NULL','NULL','0.0110','NULL','NULL','NULL','1','ERTYJ',0,'15:57:12',1,'-1.96'),
(2,2,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',5,5,5,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','16:21:03','2025-10-01','16:22:33',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'14','Prakash','2025-10-01','0',0,0,0,0,'2.000','3.750','NULL','0.497','0.090','0.406','NULL','NULL','0.480','0.510','0.080','0.100','0.392','0.415','NULL','NULL','NULL','NULL','0.0088','NULL','NULL','NULL','1','rghjty',0,'16:23:44',2,'-3.45'),
(3,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,5,5,110,'SHR05','V001','None','None','21','shruti','2025-10-03','12:05:02','2025-10-03','14:55:07',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','0',0,0,0,0,'4.750','129587.500','NULL','104.198','0.129','104.068','NULL','NULL','0.480','519.000','0.080','0.250','0.381','518.750','NULL','NULL','NULL','NULL','231.8141','NULL','NULL','NULL','1','test',0,'12:50:34',1,'-99.63'),
(4,2,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,5,5,110,'SHR05','V001','None','None','21','shruti','2025-10-03','12:50:53','2025-10-03','14:55:07',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','0',0,0,0,0,'7.500','6.250','NULL','0.498','0.097','0.401','NULL','NULL','0.480','0.520','0.075','0.130','0.370','0.425','NULL','NULL','NULL','NULL','0.0225','NULL','NULL','NULL','1','tesr',0,'13:54:09',2,'-7.73'),
(5,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,5,5,101,'SHR05','V001','None','None','21','shruti','2025-10-03','14:44:54','2025-10-03','14:55:07',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','0',0,0,0,0,'0.000','5.000','NULL','0.499','0.090','0.409','NULL','NULL','0.481','0.530','0.070','0.130','0.400','0.420','NULL','NULL','NULL','NULL','0.0087','NULL','NULL','NULL','1','dfg',0,'14:53:48',3,'-2.20'),
(6,2,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',2,2,2,101,'SHR05','V001','None','None','21','shruti','2025-10-03','14:54:32','2025-10-03','14:55:07',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','0',0,0,0,0,'0.000','0.000','NULL','0.490','0.090','0.400','NULL','NULL','0.480','0.500','0.080','0.100','0.400','0.400','NULL','NULL','NULL','NULL','0.0000','NULL','NULL','NULL','1','test',0,'14:57:30',4,'0.00'),
(7,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-CHK-REG','22 THOUSAND','216512WR','0',5,5,5,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','10:29:49','2025-10-04','11:16:11',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','0',0,0,0,0,'1.250','6.250','NULL','0.499','0.086','0.413','NULL','NULL','0.490','0.510','0.080','0.095','0.405','0.425','NULL','NULL','NULL','NULL','0.0076','NULL','NULL','NULL','0','NULL',0,'00:00:00',1,'-1.93'),
(8,2,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-CHK-REG','22 THOUSAND','216512WR','0',2,2,2,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','10:35:42','2025-10-04','11:16:11',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','0',0,0,0,0,'3.750','7.500','NULL','0.505','0.082','0.422','NULL','NULL','0.500','0.510','0.080','0.085','0.415','0.430','NULL','NULL','NULL','NULL','0.0106','NULL','NULL','NULL','0','NULL',0,'00:00:00',2,'-1.65'),
(9,3,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-CHK-REG','22 THOUSAND','216512WR','0',2,2,2,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','10:48:32','2025-10-04','11:16:11',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','0',0,0,0,0,'3.750','3.750','NULL','0.502','0.087','0.415','NULL','NULL','0.495','0.510','0.080','0.095','0.415','0.415','NULL','NULL','NULL','NULL','0.0000','NULL','NULL','NULL','0','NULL',0,'00:00:00',3,'0.00'),
(10,4,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-CHK-REG','22 THOUSAND','216512WR','0',3,3,3,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','11:15:38','2025-10-04','11:16:11',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'13','Devendra','2025-10-04','0',0,0,0,0,'3.750','5.000','NULL','0.510','0.093','0.417','NULL','NULL','0.500','0.520','0.085','0.100','0.415','0.420','NULL','NULL','NULL','NULL','0.0029','NULL','NULL','NULL','1','rtyjk',0,'11:20:26',4,'-0.47'),
(11,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','11:55:15','2025-10-04','16:18:43',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'62.500','0.000','NULL','0.444','0.108','0.337','NULL','NULL','0.300','0.530','0.070','0.150','0.150','0.400','NULL','NULL','NULL','NULL','0.1057','NULL','NULL','NULL','1','GHJ',0,'12:20:47',1,'-55.48'),
(12,2,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','12:21:16','2025-10-04','16:18:43',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'29.000','22.000','NULL','0.479','0.117','0.362','NULL','NULL','0.450','0.520','0.011','0.190','0.284','0.488','NULL','NULL','NULL','NULL','0.0853','NULL','NULL','NULL','1','BNH',0,'12:47:38',2,'-21.54'),
(13,3,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','12:48:26','2025-10-04','16:18:43',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'30.000','2.500','NULL','0.544','0.174','0.370','NULL','NULL','0.440','0.780','0.070','0.500','0.280','0.410','NULL','NULL','NULL','NULL','0.0524','NULL','NULL','NULL','1','test',0,'15:10:03',3,'-24.32'),
(14,4,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',2,2,2,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','15:59:09','2025-10-04','16:18:43',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'5.000','5.000','NULL','0.510','0.110','0.400','NULL','NULL','0.500','0.520','0.100','0.120','0.380','0.420','NULL','NULL','NULL','NULL','0.0283','NULL','NULL','NULL','0','NULL',0,'16:09:39',4,'-5.00'),
(15,5,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NULL','NULL','MID_03','NULL','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',2,2,2,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','16:17:04','2025-10-04','16:18:43',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-06','0',0,0,0,0,'2.500','0.000','NULL','0.490','0.095','0.395','NULL','NULL','0.480','0.500','0.090','0.100','0.390','0.400','NULL','NULL','NULL','NULL','0.0071','NULL','NULL','NULL','0','NULL',0,'11:18:13',5,'-1.26'),
(16,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NULL','NULL','asa12','NULL','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','BT-CAP-1','12 LAKH','BMR_212','0',5,5,5,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','17:00:13','2025-10-04','17:03:03',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'13','Devendra','2025-10-04','0',0,0,0,0,'0.000','5.000','NULL','0.500','0.086','0.414','NULL','NULL','0.485','0.515','0.080','0.095','0.400','0.420','NULL','NULL','NULL','NULL','0.0089','NULL','NULL','NULL','0','NULL',0,'17:03:16',1,'-3.38');

/*Table structure for table `tbl_cap_master3_archived` */


CREATE TABLE `tbl_cap_master3_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT 'For content-1, content-2 Name',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `BRepSerNo` int(11) DEFAULT NULL,
  `AvgNetFillWeight` varchar(100) DEFAULT 'NULL',
  UNIQUE KEY `tbl_Cap5_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master3_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master3_archived` */

/*Table structure for table `tbl_cap_master3_incomplete` */


CREATE TABLE `tbl_cap_master3_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT 'For content-1, content-2 Name',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  `AvgNetFillWeight` varchar(100) DEFAULT 'NULL',
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master3_incomplete` */

insert  into `tbl_cap_master3_incomplete`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`,`AvgNetFillWeight`) values 
(1,0,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',5,5,5,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','15:26:22','2025-10-01','15:27:06',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,0,'14','Prakash','2025-10-01','0',0,0,0,0,'0.000','2.500','0','0.485','0.080','0.405','NULL','NULL','0.480','0.490','0.080','0.080','0.400','0.410','NULL','NULL','NULL','NULL','0.0071','0','NULL','NULL','NA','ghj',0,'15:47:58',1,'-1.23'),
(6,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,5,5,101,'SHR05','V001','None','None','21','shruti','2025-10-03','14:41:41','2025-10-03','14:43:01',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-03','0',0,2,0,0,'21.250','12.500','0','0.432','0.100','0.333','NULL','NULL','0.420','0.445','0.070','0.130','0.315','0.350','NULL','NULL','NULL','NULL','0.0247','0','NULL','NULL','NA','dsd',0,'14:43:40',1,'-5.40'),
(9,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',3,3,3,101,'SHR05','V001','None','None','21','shruti','2025-10-03','16:43:23','2025-10-03','16:43:36',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-03','0',0,0,0,0,'0.000','0.000','0','0.480','0.080','0.400','NULL','NULL','0.480','0.480','0.080','0.080','0.400','0.400','NULL','NULL','NULL','NULL','0.0000','0','NULL','NULL','NA','test',0,'16:47:11',2,'0.00'),
(14,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','11:53:34','2025-10-04','11:54:21',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,1,0,0,'20.000','20.000','0','0.480','0.000','0.480','NULL','NULL','0.480','0.480','0.000','0.000','0.480','0.480','NULL','NULL','NULL','NULL','0.0000','0','NULL','NULL','NA','JKOL',0,'11:54:44',1,'0.00'),
(17,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','QC','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','BT-CAP-1','12 LAKH','BMR_212','0',5,5,5,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','12:34:43','2025-10-04','12:36:28',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'13','Devendra','2025-10-04','0',1,1,0,0,'7.500','6.250','0','0.495','0.097','0.397','NULL','NULL','0.490','0.500','0.075','0.120','0.370','0.425','NULL','NULL','NULL','NULL','0.0389','0','NULL','NULL','NA','fgh',0,'12:36:57',1,'-6.80'),
(19,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','15:14:54','2025-10-04','15:19:15',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'0.000','4.000','0','0.459','0.051','0.408','NULL','NULL','0.419','0.500','0.003','0.100','0.400','0.416','NULL','NULL','NULL','NULL','0.0113','0','NULL','NULL','NA','test',0,'15:19:37',2,'-1.96'),
(20,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',2,2,2,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','15:20:50','2025-10-04','15:56:23',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'0.000','0.000','0','0.500','0.100','0.400','NULL','NULL','0.500','0.500','0.100','0.100','0.400','0.400','NULL','NULL','NULL','NULL','0.0000','0','NULL','NULL','0','fhj',0,'15:57:15',3,'0.00'),
(23,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',2,2,2,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','16:22:05','2025-10-04','16:24:32',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',1,0,0,0,'12.500','12.500','0','0.550','0.100','0.450','NULL','NULL','0.550','0.550','0.100','0.100','0.450','0.450','NULL','NULL','NULL','NULL','0.0000','0','NULL','NULL','NA','zxcvb',0,'16:39:05',4,'0.00'),
(24,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',2,2,2,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','16:39:26','2025-10-04','16:40:25',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'0.000','0.000','0','0.500','0.100','0.400','NULL','NULL','0.500','0.500','0.100','0.100','0.400','0.400','NULL','NULL','NULL','NULL','0.0000','0','NULL','NULL','NA','ASDF',0,'16:40:49',5,'0.00'),
(25,1,0,3,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','QC','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','BT-CAP-1','12 LAKH','BMR_212','0',5,5,5,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','16:40:43','2025-10-04','16:48:10',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.470','0.530','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'13','Devendra','2025-10-04','0',0,0,0,0,'0.000','5.000','0','0.495','0.084','0.410','NULL','NULL','0.490','0.500','0.080','0.090','0.400','0.420','NULL','NULL','NULL','NULL','0.0141','0','NULL','NULL','NA','345',0,'16:49:38',2,'-2.43'),
(26,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','16:41:23','2025-10-04','16:53:07',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'45','shruti','2025-10-04','0',0,0,0,0,'5.000','0.000','0','0.495','0.100','0.395','NULL','NULL','0.480','0.500','0.100','0.100','0.380','0.400','NULL','NULL','NULL','NULL','0.0100','0','NULL','NULL','NA','drtfy',0,'16:53:22',6,'-3.79'),
(27,1,0,3,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BATCH-04','12','122','0',5,5,5,110,'QWE0524','VER02','None','None','21','shruti','2025-10-04','16:53:45','2025-10-06','09:44:35',0,'NA','gm',3,0,0,'0.500','0.00000','0.00000','0.480','0.520','0','0','0','0','0.100','0','0','0.080','0.120','0.400','0.000','0.000','0.380','0.420','0.00000','0.00000','0.02000','0.02000','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','0',0,2,0,0,'95.250','12.500','0','0.210','0.025','0.184','NULL','NULL','0.020','0.400','0.001','0.050','0.019','0.350','NULL','NULL','NULL','NULL','0.2341','0','NULL','NULL','NA','0',0,'00:00:00',7,'-89.70');

/*Table structure for table `tbl_cap_master4` */


CREATE TABLE `tbl_cap_master4` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) NOT NULL DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master4` */

insert  into `tbl_cap_master4`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(1,1,0,4,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','14:57:25','2025-10-01','14:58:10',0,'Single','mm',2,0,0,'3.50','0.00','0.00','3.30','3.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'5.71','4.28','34.82','3.48','NULL','NULL','NULL','NULL','3.30','3.65','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.12','NULL','NULL','NULL','0','NULL',0,'00:00:00',1),
(2,1,0,4,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','14:57:51','2025-10-01','14:58:10',0,'Single','mm',2,0,0,'3.50','0.00','0.00','3.30','3.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'5.71','5.71','35.37','3.53','NULL','NULL','NULL','NULL','3.30','3.70','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.14','NULL','NULL','NULL','0','NULL',0,'00:00:00',2),
(3,1,0,4,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','V001','None','None','21','shruti','2025-10-03','15:17:40','2025-10-03','15:59:34',0,'Single','mm',2,0,0,'5.00','0.00','0.00','4.70','5.30','0.00','0.00','0.30','0.30','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'4.60','2.20','24.68','4.93','NULL','NULL','NULL','NULL','4.77','5.11','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.14','NULL','NULL','NULL','0','NULL',0,'00:00:00',1),
(4,1,0,4,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','V001','None','None','21','shruti','2025-10-03','15:58:42','2025-10-03','15:59:34',0,'Single','mm',2,0,0,'5.00','0.00','0.00','4.70','5.30','0.00','0.00','0.30','0.30','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'45','shruti','2025-10-03','NULL',1,1,0,0,'19.60','19.80','24.58','4.91','NULL','NULL','NULL','NULL','4.02','5.99','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.70','NULL','NULL','NULL','1','Zxc',0,'17:02:00',2);

/*Table structure for table `tbl_cap_master4_archived` */


CREATE TABLE `tbl_cap_master4_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `BRepSerNo` int(11) DEFAULT NULL,
  UNIQUE KEY `tbl_Cap6_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master4_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master4_archived` */

/*Table structure for table `tbl_cap_master4_incomplete` */


CREATE TABLE `tbl_cap_master4_incomplete` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 NOT NULL DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master4_incomplete` */

insert  into `tbl_cap_master4_incomplete`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(3,1,0,4,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','14:58:15','2025-10-01','14:58:20',1,'Single','mm',2,0,0,'3.50','0.00','0.00','3.30','3.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,0,'14','Prakash','2025-10-01','NULL',0,0,0,0,'5.71','5.42','17.09','3.41','NULL','NULL','NULL','NULL','3.30','3.69','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.16','NULL','NULL','NULL','0','dfgnrg',0,'14:58:48',1),
(4,1,0,4,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','15:20:47','2025-10-01','15:20:55',1,'Single','mm',2,0,0,'3.50','0.00','0.00','3.30','3.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,0,'14','Prakash','2025-10-01','NULL',0,0,0,0,'4.28','4.28','17.54','3.50','NULL','NULL','NULL','NULL','3.35','3.65','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.13','NULL','NULL','NULL','0','fghjm',0,'15:21:17',2),
(7,1,0,4,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','V001','None','None','21','shruti','2025-10-03','17:02:59','2025-10-03','17:03:14',1,'Single','mm',2,0,0,'5.00','0.00','0.00','4.70','5.30','0.00','0.00','0.30','0.30','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,0,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'4.00','2.20','20.12','5.02','NULL','NULL','NULL','NULL','4.80','5.11','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.15','NULL','NULL','NULL','0','NULL',0,'00:00:00',1);

/*Table structure for table `tbl_cap_master5` */


CREATE TABLE `tbl_cap_master5` (
  `RepSerNo` int(11) NOT NULL AUTO_INCREMENT,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  PRIMARY KEY (`RepSerNo`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master5` */

insert  into `tbl_cap_master5`(`RepSerNo`,`MstSerNo`,`InstruId`,`WgmtModeNo`,`ProductType`,`Area`,`CubicalNo`,`CubicleName`,`CubicleType`,`IPQCType`,`CoatingType`,`MachineCode`,`Department`,`BFGCode`,`ProductName`,`PVersion`,`Version`,`GenericName`,`BatchNo`,`BatchSize`,`BMRNo`,`GraphType`,`Qty`,`GrpQty`,`GrpFreq`,`Idsno`,`BalanceId`,`VernierId`,`FriabilityID`,`HardnessID`,`UserId`,`UserName`,`PrDate`,`PrTime`,`PrEndDate`,`PrEndTime`,`SideNo`,`Side`,`Unit`,`DecimalPoint`,`LimitOn`,`T1NMT`,`Nom`,`T1NegTol`,`T1PosTol`,`T2NegTol`,`T2PosTol`,`T1NegTolActual`,`T1PosTolActual`,`T2NegTolActual`,`T2PosTolActual`,`NomEmpty`,`T1NegEmpty`,`T1PosEmpty`,`T2NegEmpty`,`T2PosEmpty`,`NomNet`,`T1NegNet`,`T1PosNet`,`T2NegNet`,`T2PosNet`,`T1NegNetActual`,`T1PosNetActual`,`T2NegNetActual`,`T2PosNetActual`,`NomContent1`,`T1NegContent1`,`T1PosContent1`,`T2NegContent1`,`T2PosContent1`,`NomContent2`,`T1NegContent2`,`T1PosContent2`,`T2NegContent2`,`T2PosContent2`,`ReportType`,`PrintNo`,`PrintNoC`,`IsArchived`,`BatchComplete`,`CheckedByID`,`CheckedByName`,`CheckedByDate`,`Lot`,`NoOfAbove`,`NoOfBelow`,`NoOfAboveContent`,`NoOfBelowContent`,`MinPer`,`MaxPer`,`GroupWeight`,`AvgWeight`,`AvgEmpty`,`AvgNet`,`AvgContent1`,`AvgContent2`,`MinWeight`,`MaxWeight`,`MinWeightEmpty`,`MaxWeightEmpty`,`MinWeightNet`,`MaxWeightNet`,`MinWeightContent1`,`MaxWeightContent1`,`MinWeightContent2`,`MaxWeightContent2`,`StdDev`,`ContainerNo`,`Cont1Remark`,`Cont2Remark`,`Remark`,`FailedRemark`,`Inprocess`,`CheckedByTime`,`BRepSerNo`) values 
(1,1,0,5,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','15:19:27','2025-10-01','15:22:03',0,'Single','mm',2,0,0,'4.50','0.00','0.00','4.30','4.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'4.44','4.22','45.13','4.51','NULL','NULL','NULL','NULL','4.30','4.69','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.14','NULL','NULL','NULL','0','NULL',0,'00:00:00',1),
(2,1,0,5,2,'Capsule Filling',4,'Capsule_01','Capsule Filling','NA','NULL','MID_03','QC1','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','CAPS-DIF-INI1','12 LAKH','BMR_123EW','0',10,0,0,101,'BAL2909','VER02','None','None','D','Dharmesh sakpal','2025-10-01','15:21:49','2025-10-01','15:22:03',0,'Single','mm',2,0,0,'4.50','0.00','0.00','4.30','4.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','1',0,0,0,1,'14','Prakash','2025-10-01','NULL',0,0,0,0,'4.22','4.22','44.63','4.46','NULL','NULL','NULL','NULL','4.31','4.69','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.12','NULL','NULL','NULL','0','erth',0,'15:22:14',2),
(3,1,0,5,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','TESTING','PRODUCT-005','CANDILIX-200','NQT1.0','12345','DULOSYS','BT-24','0001','12345','0',5,0,0,101,'SHR05','V001','None','None','21','shruti','2025-10-03','16:00:37','2025-10-03','16:03:59',0,'Single','mm',2,0,0,'8.00','0.00','0.00','7.55','8.45','0.00','0.00','0.45','0.45','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'NULL','NULL','1992-12-08','NULL',0,0,0,0,'5.62','5.62','39.79','7.95','NULL','NULL','NULL','NULL','7.55','8.45','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.38','NULL','NULL','NULL','0','NULL',0,'00:00:00',1),
(4,1,0,5,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','QC','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','BT-CAP-1','12 LAKH','BMR_212','0',5,0,0,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','11:43:42','2025-10-04','11:44:08',0,'Single','mm',2,0,0,'4.50','0.00','0.00','4.30','4.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'13','Devendra','2025-10-04','NULL',0,0,0,0,'4.44','4.22','22.62','4.52','NULL','NULL','NULL','NULL','4.30','4.69','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.15','NULL','NULL','NULL','0','NULL',0,'11:56:37',1),
(5,1,0,5,2,'Capsule Filling',5,'capsule-02','Capsule Filling','NA','NULL','asa12','QC','ZVX_CAP0110','ZONICEP 25 MG CAPSULE','Z_V2.0','ZCAP0110','ERGO HEALTH','BT-CAP-1','12 LAKH','BMR_212','0',5,0,0,101,'SHR05','V001','None','None','D','Dharmesh sakpal','2025-10-04','11:43:58','2025-10-04','11:44:08',0,'Single','mm',2,0,0,'4.50','0.00','0.00','4.30','4.70','0.00','0.00','0.20','0.20','0','0','0','0','0','0','0','0','0','0','0','0','0','0','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0',0,0,0,1,'13','Devendra','2025-10-04','NULL',1,0,0,0,'3.33','4.66','22.53','4.50','NULL','NULL','NULL','NULL','4.35','4.71','NULL','NULL','NULL','NULL','NULL','NULL','NULL','NULL','0.16','NULL','NULL','NULL','1','fgndf',0,'11:56:55',2);

/*Table structure for table `tbl_cap_master5_archived` */


CREATE TABLE `tbl_cap_master5_archived` (
  `RepSerNo` int(11) DEFAULT NULL,
  `MstSerNo` int(11) DEFAULT '0' COMMENT 'Serial No',
  `InstruId` int(11) DEFAULT '0',
  `WgmtModeNo` smallint(6) DEFAULT '0',
  `ProductType` smallint(6) DEFAULT '0' COMMENT '1:Tablet,2:Capsule',
  `Area` varchar(200) DEFAULT 'NULL',
  `CubicalNo` int(11) DEFAULT '0',
  `CubicleName` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `CubicleType` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `IPQCType` varchar(100) DEFAULT 'NULL' COMMENT 'Cubicle Type from IPQC',
  `CoatingType` varchar(100) DEFAULT 'NULL' COMMENT 'Coated/Uncoated',
  `MachineCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `Department` varchar(100) DEFAULT 'NULL',
  `BFGCode` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `ProductName` varchar(500) CHARACTER SET utf8 DEFAULT 'NULL',
  `PVersion` varchar(50) DEFAULT 'NULL',
  `Version` varchar(50) DEFAULT 'NULL',
  `GenericName` varchar(250) DEFAULT 'NULL',
  `BatchNo` varchar(25) CHARACTER SET utf8 DEFAULT 'NULL',
  `BatchSize` varchar(100) CHARACTER SET utf8 DEFAULT 'NULL',
  `BMRNo` varchar(150) DEFAULT 'NULL',
  `GraphType` varchar(15) DEFAULT 'NULL' COMMENT '0:Standard,1:Average',
  `Qty` smallint(6) DEFAULT '0',
  `GrpQty` smallint(6) DEFAULT '0',
  `GrpFreq` smallint(6) DEFAULT '0',
  `Idsno` int(11) DEFAULT '0',
  `BalanceId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `VernierId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `FriabilityID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `HardnessID` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserId` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL',
  `UserName` varchar(200) CHARACTER SET utf8 DEFAULT 'NULL',
  `PrDate` date DEFAULT '1992-12-08',
  `PrTime` time DEFAULT '00:00:00',
  `PrEndDate` date DEFAULT '1992-12-08',
  `PrEndTime` time DEFAULT '00:00:00',
  `SideNo` int(10) DEFAULT '0' COMMENT 'To check side',
  `Side` varchar(20) CHARACTER SET utf8 DEFAULT 'NULL',
  `Unit` varchar(10) CHARACTER SET utf8 DEFAULT 'NULL',
  `DecimalPoint` smallint(6) DEFAULT '0',
  `LimitOn` int(1) DEFAULT '0' COMMENT '0:Actual,1:Percentage',
  `T1NMT` int(1) DEFAULT '0',
  `Nom` varchar(100) DEFAULT 'NULL',
  `T1NegTol` varchar(100) DEFAULT 'NULL',
  `T1PosTol` varchar(100) DEFAULT 'NULL',
  `T2NegTol` varchar(100) DEFAULT 'NULL',
  `T2PosTol` varchar(100) DEFAULT 'NULL',
  `T1NegTolActual` varchar(100) DEFAULT '0',
  `T1PosTolActual` varchar(100) DEFAULT '0',
  `T2NegTolActual` varchar(100) DEFAULT '0',
  `T2PosTolActual` varchar(100) DEFAULT '0',
  `NomEmpty` varchar(100) DEFAULT 'NULL',
  `T1NegEmpty` varchar(100) DEFAULT 'NULL',
  `T1PosEmpty` varchar(100) DEFAULT 'NULL',
  `T2NegEmpty` varchar(100) DEFAULT 'NULL',
  `T2PosEmpty` varchar(100) DEFAULT 'NULL',
  `NomNet` varchar(100) DEFAULT 'NULL',
  `T1NegNet` varchar(100) DEFAULT 'NULL',
  `T1PosNet` varchar(100) DEFAULT 'NULL',
  `T2NegNet` varchar(100) DEFAULT 'NULL',
  `T2PosNet` varchar(100) DEFAULT 'NULL',
  `T1NegNetActual` varchar(100) DEFAULT '0',
  `T1PosNetActual` varchar(100) DEFAULT '0',
  `T2NegNetActual` varchar(100) DEFAULT '0',
  `T2PosNetActual` varchar(100) DEFAULT '0',
  `NomContent1` varchar(100) DEFAULT 'NULL',
  `T1NegContent1` varchar(100) DEFAULT 'NULL',
  `T1PosContent1` varchar(100) DEFAULT 'NULL',
  `T2NegContent1` varchar(100) DEFAULT 'NULL',
  `T2PosContent1` varchar(100) DEFAULT 'NULL',
  `NomContent2` varchar(100) DEFAULT 'NULL',
  `T1NegContent2` varchar(100) DEFAULT 'NULL',
  `T1PosContent2` varchar(100) DEFAULT 'NULL',
  `T2NegContent2` varchar(100) DEFAULT 'NULL',
  `T2PosContent2` varchar(100) DEFAULT 'NULL',
  `ReportType` varchar(50) CHARACTER SET utf8 DEFAULT 'NULL' COMMENT '1: Initial, 2:Regular',
  `PrintNo` int(11) DEFAULT '0',
  `PrintNoC` int(11) DEFAULT '0' COMMENT 'this is for content2',
  `IsArchived` int(1) DEFAULT '0',
  `BatchComplete` int(1) DEFAULT '0',
  `CheckedByID` varchar(50) DEFAULT 'NULL',
  `CheckedByName` varchar(200) DEFAULT 'NULL',
  `CheckedByDate` date DEFAULT '1992-12-08',
  `Lot` varchar(50) DEFAULT 'NULL',
  `NoOfAbove` int(10) DEFAULT '0',
  `NoOfBelow` int(10) DEFAULT '0',
  `NoOfAboveContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `NoOfBelowContent` int(10) DEFAULT '0' COMMENT 'this is for content2',
  `MinPer` varchar(100) DEFAULT 'NULL',
  `MaxPer` varchar(100) DEFAULT 'NULL',
  `GroupWeight` varchar(100) DEFAULT 'NULL' COMMENT 'Sum of all weights',
  `AvgWeight` varchar(100) DEFAULT 'NULL' COMMENT 'For Diff AvgFilled',
  `AvgEmpty` varchar(100) DEFAULT 'NULL',
  `AvgNet` varchar(100) DEFAULT 'NULL',
  `AvgContent1` varchar(100) DEFAULT 'NULL',
  `AvgContent2` varchar(100) DEFAULT 'NULL',
  `MinWeight` varchar(100) DEFAULT 'NULL',
  `MaxWeight` varchar(100) DEFAULT 'NULL',
  `MinWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MaxWeightEmpty` varchar(100) DEFAULT 'NULL',
  `MinWeightNet` varchar(100) DEFAULT 'NULL',
  `MaxWeightNet` varchar(100) DEFAULT 'NULL',
  `MinWeightContent1` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent1` varchar(100) DEFAULT 'NULL',
  `MinWeightContent2` varchar(100) DEFAULT 'NULL',
  `MaxWeightContent2` varchar(100) DEFAULT 'NULL',
  `StdDev` varchar(100) DEFAULT 'NULL',
  `ContainerNo` varchar(200) DEFAULT 'NULL',
  `Cont1Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Cont2Remark` varchar(200) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `Remark` varchar(100) DEFAULT 'NULL' COMMENT 'Pass/Fail',
  `FailedRemark` varchar(200) DEFAULT 'NULL' COMMENT 'For Not Complies and Incomplete',
  `Inprocess` int(11) DEFAULT '0' COMMENT 'weighment is in process then flag = 1: if not then flag = 0',
  `CheckedByTime` time DEFAULT '00:00:00',
  `BRepSerNo` int(11) DEFAULT NULL,
  UNIQUE KEY `tbl_Cap7_Arch_RepSerNo` (`RepSerNo`),
  KEY `idx_tbl_cap_master5_archived_RepSerNo` (`RepSerNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*Data for the table `tbl_cap_master5_archived` */

/*Table structure for table `tbl_cap_master5_incomplete` */

