INSERT INTO `user_module_access_details` VALUES (162754,149,149,'DELCNFRM',1,141,'2016-01-18 02:52:44',0,'2016-01-18 02:52:44'),(162755,149,149,'SOQUOT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162756,149,149,'SOTRNWSO',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162757,149,149,'SOTRDO',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162758,149,149,'DELCNFRM',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162759,149,149,'SOTRQOLT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162760,149,149,'SORPPCLT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162761,149,149,'SOTRDOLT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162762,149,149,'SOTRSOLT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162763,149,149,'SORPSOCU',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162764,149,149,'SORPYRSL',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162765,149,149,'SORPSLIT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162766,149,149,'SORPORCT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162767,149,149,'SORPSOIT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162768,149,149,'SORPOROT',1,141,'2016-01-18 02:52:45',0,'2016-01-18 02:52:45'),(162769,149,149,'SOQUOT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162770,149,149,'SOTRNWSO',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162771,149,149,'SOTRDO',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162772,149,149,'DELCNFRM',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162773,149,149,'SOTRQOLT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162774,149,149,'SORPPCLT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162775,149,149,'SOTRDOLT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162776,149,149,'SOTRSOLT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162777,149,149,'SORPSOCU',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162778,149,149,'SORPYRSL',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162779,149,149,'SORPSLIT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162780,149,149,'SORPORCT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162781,149,149,'SORPSOIT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162782,149,149,'SORPOROT',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162783,149,149,'SOSTSLPC',1,141,'2016-01-18 02:52:46',0,'2016-01-18 02:52:46'),(162784,149,149,'TXTRPROC',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162785,149,149,'GSBADRLF',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162786,149,149,'BADBTRLC',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162787,149,149,'GSBADBTR',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162788,149,149,'BDEBRCCO',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162789,149,149,'GTSJNL',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162790,149,149,'GSTJCNF',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162791,149,149,'SUPBDRLF',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162792,149,149,'SPBDRLC',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162793,149,149,'SBDEBRCV',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162794,149,149,'SPBDRCNF',1,141,'2016-01-18 02:52:47',0,'2016-01-18 02:52:47'),(162795,149,149,'TXTRPROC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162796,149,149,'GSBADRLF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162797,149,149,'BADBTRLC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162798,149,149,'GSBADBTR',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162799,149,149,'BDEBRCCO',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162800,149,149,'GTSJNL',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162801,149,149,'GSTJCNF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162802,149,149,'SUPBDRLF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162803,149,149,'SPBDRLC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162804,149,149,'SBDEBRCV',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162805,149,149,'SPBDRCNF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162806,149,149,'GST03',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162807,149,149,'GSTRPT01',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162808,149,149,'BDRETRPT',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162809,149,149,'BDRCVRPT',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162810,149,149,'GSTRTSUM',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162811,149,149,'GST03SUM',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162812,149,149,'TXTRPROC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162813,149,149,'GSBADRLF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162814,149,149,'BADBTRLC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162815,149,149,'GSBADBTR',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162816,149,149,'BDEBRCCO',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162817,149,149,'GTSJNL',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162818,149,149,'GSTJCNF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162819,149,149,'SUPBDRLF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162820,149,149,'SPBDRLC',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162821,149,149,'SBDEBRCV',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162822,149,149,'SPBDRCNF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162823,149,149,'GST03',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162824,149,149,'GSTRPT01',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162825,149,149,'BDRETRPT',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162826,149,149,'BDRCVRPT',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162827,149,149,'GSTRTSUM',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162828,149,149,'GST03SUM',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162829,149,149,'GSTMSTR',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162830,149,149,'GSTCLASS',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162831,149,149,'GSTGROUP',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162832,149,149,'GSTTYPE',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162833,149,149,'GSTTXMP',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162834,149,149,'GSTPREF',1,141,'2016-01-18 02:52:48',0,'2016-01-18 02:52:48'),(162835,149,149,'ZKTTRCAL',1,141,'2016-01-18 02:52:49',0,'2016-01-18 02:52:49'),(162836,149,149,'WKFCAL',1,141,'2016-01-18 02:52:49',0,'2016-01-18 02:52:49'),(162837,149,149,'ZKTTRCAL',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162838,149,149,'WKFCAL',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162839,149,149,'ZKTRGPLT',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162840,149,149,'ZKRPCTRL',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162841,149,149,'ZKRPNBLT',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162842,149,149,'ZKRPSMLT',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162843,149,149,'WKFLST',1,141,'2016-01-18 02:52:50',0,'2016-01-18 02:52:50'),(162844,149,149,'ZKTTRCAL',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162845,149,149,'WKFCAL',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162846,149,149,'ZKTRGPLT',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162847,149,149,'ZKRPCTRL',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162848,149,149,'ZKRPNBLT',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162849,149,149,'ZKRPSMLT',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162850,149,149,'WKFLST',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162851,149,149,'ZKTSTGRP',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162852,149,149,'ZKTSTNSB',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162853,149,149,'ZKTSTNSD',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162854,149,149,'ZKSTCNTR',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162855,149,149,'WKSTMSTR',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162856,149,149,'WCQCNTR',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162857,149,149,'PURORDER',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162858,149,149,'PURRCV',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162859,149,149,'PURORDCF',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162860,149,149,'PURRCVC',1,141,'2016-01-18 02:52:51',0,'2016-01-18 02:52:51'),(162861,149,149,'PURORDER',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162862,149,149,'PURRCV',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162863,149,149,'PURORDCF',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162864,149,149,'PURRCVC',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162865,149,149,'PURORLST',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162866,149,149,'PURRCVLS',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162867,149,149,'PUROUTGR',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162868,149,149,'PUPRRPT',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162869,149,149,'PURCNCL',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162870,149,149,'PURRCVCA',1,141,'2016-01-18 02:52:52',0,'2016-01-18 02:52:52'),(162871,149,149,'PURORDER',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162872,149,149,'PURRCV',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162873,149,149,'PURORDCF',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162874,149,149,'PURRCVC',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162875,149,149,'PURORLST',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162876,149,149,'PURRCVLS',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162877,149,149,'PUROUTGR',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162878,149,149,'PUPRRPT',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162879,149,149,'PURCNCL',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162880,149,149,'PURRCVCA',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162881,149,149,'PURSTSPL',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162882,149,149,'INVPURPR',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162883,149,149,'UMCONVNW',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162884,149,149,'PURUOMLS',1,141,'2016-01-18 02:52:53',0,'2016-01-18 02:52:53'),(162885,149,149,'UM',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162886,149,149,'UML',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162887,149,149,'MUL',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162888,149,149,'LOGRPT',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162889,149,149,'UMACCSS',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162890,149,149,'ADMMENU',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162891,149,149,'USRADD',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162892,149,149,'BACKUP',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162893,149,149,'updversi',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162894,149,149,'upgraden',1,141,'2016-01-18 02:52:54',0,'2016-01-18 02:52:54'),(162895,149,149,'UM',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162896,149,149,'UML',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162897,149,149,'MUL',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162898,149,149,'LOGRPT',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162899,149,149,'UMACCSS',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162900,149,149,'ADMMENU',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162901,149,149,'USRADD',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162902,149,149,'BACKUP',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162903,149,149,'updversi',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162904,149,149,'upgraden',1,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162905,149,149,'UM',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162906,149,149,'UML',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162907,149,149,'MUL',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162908,149,149,'LOGRPT',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162909,149,149,'UMACCSS',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162910,149,149,'ADMMENU',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162911,149,149,'USRADD',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162912,149,149,'BACKUP',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162913,149,149,'updversi',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162914,149,149,'upgraden',0,141,'2016-01-18 02:52:55',0,'2016-01-18 02:52:55'),(162915,149,149,'UM',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162916,149,149,'UML',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162917,149,149,'MUL',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162918,149,149,'LOGRPT',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162919,149,149,'UMACCSS',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162920,149,149,'ADMMENU',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162921,149,149,'USRADD',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162922,149,149,'BACKUP',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162923,149,149,'updversi',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162924,149,149,'upgraden',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162925,149,149,'UM',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162926,149,149,'UML',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162927,149,149,'MUL',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162928,149,149,'LOGRPT',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162929,149,149,'UMACCSS',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162930,149,149,'ADMMENU',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162931,149,149,'USRADD',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162932,149,149,'BACKUP',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162933,149,149,'updversi',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162934,149,149,'upgraden',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162935,149,149,'UM',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162936,149,149,'UML',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162937,149,149,'MUL',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162938,149,149,'LOGRPT',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162939,149,149,'UMACCSS',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162940,149,149,'ADMMENU',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162941,149,149,'USRADD',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162942,149,149,'BACKUP',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162943,149,149,'updversi',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162944,149,149,'upgraden',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162945,149,149,'UM',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162946,149,149,'UML',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162947,149,149,'MUL',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162948,149,149,'LOGRPT',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162949,149,149,'UMACCSS',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162950,149,149,'ADMMENU',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162951,149,149,'USRADD',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162952,149,149,'BACKUP',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162953,149,149,'updversi',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162954,149,149,'upgraden',0,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162955,149,149,'UM',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162956,149,149,'UML',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162957,149,149,'MUL',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162958,149,149,'LOGRPT',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162959,149,149,'UMACCSS',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162960,149,149,'ADMMENU',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162961,149,149,'USRADD',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162962,149,149,'BACKUP',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162963,149,149,'updversi',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162964,149,149,'upgraden',1,141,'2016-01-18 02:52:56',0,'2016-01-18 02:52:56'),(162965,149,149,'MSTRCOMP',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162966,149,149,'PROJECT',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162967,149,149,'TERM',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162968,149,149,'MSMTRCD',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162969,149,149,'EMP',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162970,149,149,'AGENTSTP',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162971,149,149,'BNKSETUP',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162972,149,149,'ShipToST',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162973,149,149,'GRAPHSET',1,141,'2016-01-18 02:52:57',0,'2016-01-18 02:52:57'),(162974,149,149,'MSTRCOMP',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162975,149,149,'PROJECT',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162976,149,149,'TERM',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162977,149,149,'MSMTRCD',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162978,149,149,'EMP',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162979,149,149,'AGENTSTP',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162980,149,149,'BNKSETUP',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162981,149,149,'ShipToST',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162982,149,149,'GRAPHSET',1,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162983,149,149,'MSTRCOMP',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162984,149,149,'PROJECT',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162985,149,149,'TERM',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162986,149,149,'MSMTRCD',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162987,149,149,'EMP',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162988,149,149,'AGENTSTP',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162989,149,149,'BNKSETUP',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162990,149,149,'ShipToST',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162991,149,149,'GRAPHSET',0,141,'2016-01-18 02:52:58',0,'2016-01-18 02:52:58'),(162992,149,149,'MSTRCOMP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162993,149,149,'PROJECT',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162994,149,149,'TERM',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162995,149,149,'MSMTRCD',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162996,149,149,'EMP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162997,149,149,'AGENTSTP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162998,149,149,'BNKSETUP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(162999,149,149,'ShipToST',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163000,149,149,'GRAPHSET',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163001,149,149,'MSTRCOMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163002,149,149,'PROJECT',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163003,149,149,'TERM',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163004,149,149,'MSMTRCD',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163005,149,149,'EMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163006,149,149,'AGENTSTP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163007,149,149,'BNKSETUP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163008,149,149,'ShipToST',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163009,149,149,'GRAPHSET',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163010,149,149,'MSTRCOMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163011,149,149,'PROJECT',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163012,149,149,'TERM',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163013,149,149,'MSMTRCD',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163014,149,149,'EMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163015,149,149,'AGENTSTP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163016,149,149,'BNKSETUP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163017,149,149,'ShipToST',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163018,149,149,'GRAPHSET',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163019,149,149,'MSTRCOMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163020,149,149,'PROJECT',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163021,149,149,'TERM',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163022,149,149,'MSMTRCD',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163023,149,149,'EMP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163024,149,149,'AGENTSTP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163025,149,149,'BNKSETUP',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163026,149,149,'ShipToST',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163027,149,149,'GRAPHSET',0,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163028,149,149,'MSTRCOMP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163029,149,149,'PROJECT',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163030,149,149,'TERM',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163031,149,149,'MSMTRCD',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163032,149,149,'EMP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163033,149,149,'AGENTSTP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163034,149,149,'BNKSETUP',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163035,149,149,'ShipToST',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163036,149,149,'GRAPHSET',1,141,'2016-01-18 02:52:59',0,'2016-01-18 02:52:59'),(163037,148,48,'GLTRJRNL',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163038,148,48,'GLTRJlCY',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163039,148,48,'GLTRJlRV',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163040,148,48,'GLTRPOST',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163041,148,48,'APOPWOI',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163042,148,48,'GLTRYECL',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163043,148,48,'OTRPAY',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163044,148,48,'OTHRCV',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163045,148,48,'OTRCVCON',1,141,'2016-01-21 07:25:25',0,'2016-01-21 07:25:25'),(163046,148,48,'GLTRJRNL',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163047,148,48,'GLTRJlCY',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163048,148,48,'GLTRJlRV',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163049,148,48,'GLTRPOST',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163050,148,48,'APOPWOI',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163051,148,48,'GLTRYECL',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163052,148,48,'OTRPAY',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163053,148,48,'OTHRCV',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163054,148,48,'OTRCVCON',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163055,148,48,'GLRPBS',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163056,148,48,'GLRPTB',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163057,148,48,'GLRPJLPS',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163058,148,48,'GLRPJLUP',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163059,148,48,'GLRPTBFC',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163060,148,48,'GLRPABSM',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163061,148,48,'GLRPPNLM',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163062,148,48,'APRPTOPW',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163063,148,48,'GLRPBGLT',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163064,148,48,'APBANKRE',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163065,148,48,'OTRCVLST',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163066,148,48,'GLBNKRCL',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163067,148,48,'TRSCSUMM',1,141,'2016-01-21 07:25:26',0,'2016-01-21 07:25:26'),(163068,148,48,'GLTRJRNL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163069,148,48,'GLTRJlCY',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163070,148,48,'GLTRJlRV',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163071,148,48,'GLTRPOST',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163072,148,48,'APOPWOI',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163073,148,48,'GLTRYECL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163074,148,48,'OTRPAY',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163075,148,48,'OTHRCV',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163076,148,48,'OTRCVCON',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163077,148,48,'GLRPBS',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163078,148,48,'GLRPTB',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163079,148,48,'GLRPJLPS',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163080,148,48,'GLRPJLUP',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163081,148,48,'GLRPTBFC',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163082,148,48,'GLRPABSM',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163083,148,48,'GLRPPNLM',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163084,148,48,'APRPTOPW',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163085,148,48,'GLRPBGLT',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163086,148,48,'APBANKRE',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163087,148,48,'OTRCVLST',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163088,148,48,'GLBNKRCL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163089,148,48,'TRSCSUMM',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163090,148,48,'GLMCAL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163091,148,48,'GLMCALL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163092,148,48,'GLSTCOA',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163093,148,48,'GLSTBDGT',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163094,148,48,'GLSTCURC',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163095,148,48,'GLOPNBAL',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163096,148,48,'GLUNPRES',1,141,'2016-01-21 07:25:27',0,'2016-01-21 07:25:27'),(163097,148,48,'ARSALINV',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163098,148,48,'ARSDBN',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163099,148,48,'ARDBNC',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163100,148,48,'ARSCN',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163101,148,48,'ARSCNC',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163102,148,48,'ARRCVP',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163103,148,48,'ARRCVPC',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163104,148,48,'ARDSLINV',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163105,148,48,'ARDRSINV',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163106,148,48,'ARCPYSI',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163107,148,48,'ARTRINED',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163108,148,48,'AREDSLDR',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163109,148,48,'AREDCR',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163110,148,48,'ARPAYEDT',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163111,148,48,'ARCASH',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163112,148,48,'ARCASHSC',1,141,'2016-01-21 07:25:28',0,'2016-01-21 07:25:28'),(163113,148,48,'ARSALINV',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163114,148,48,'ARSDBN',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163115,148,48,'ARDBNC',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163116,148,48,'ARSCN',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163117,148,48,'ARSCNC',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163118,148,48,'ARRCVP',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163119,148,48,'ARRCVPC',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163120,148,48,'ARDSLINV',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163121,148,48,'ARDRSINV',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163122,148,48,'ARCPYSI',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163123,148,48,'ARTRINED',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163124,148,48,'AREDSLDR',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163125,148,48,'AREDCR',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163126,148,48,'ARPAYEDT',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163127,148,48,'ARCASH',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163128,148,48,'ARCASHSC',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163129,148,48,'ARINVLST',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163130,148,48,'ARDBNLST',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163131,148,48,'ARCDNLST',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163132,148,48,'ARRCVPLS',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163133,148,48,'ARCUSTST',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163134,148,48,'ARCUSTAG',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163135,148,48,'ARCSHS',1,141,'2016-01-21 07:25:29',0,'2016-01-21 07:25:29'),(163136,148,48,'ARSALINV',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163137,148,48,'ARSDBN',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163138,148,48,'ARDBNC',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163139,148,48,'ARSCN',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163140,148,48,'ARSCNC',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163141,148,48,'ARRCVP',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163142,148,48,'ARRCVPC',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163143,148,48,'ARDSLINV',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163144,148,48,'ARDRSINV',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163145,148,48,'ARCPYSI',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163146,148,48,'ARTRINED',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163147,148,48,'AREDSLDR',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163148,148,48,'AREDCR',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163149,148,48,'ARPAYEDT',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163150,148,48,'ARCASH',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163151,148,48,'ARCASHSC',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163152,148,48,'ARINVLST',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163153,148,48,'ARDBNLST',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163154,148,48,'ARCDNLST',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163155,148,48,'ARRCVPLS',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163156,148,48,'ARCUSTST',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163157,148,48,'ARCUSTAG',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163158,148,48,'ARCSHS',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163159,148,48,'ARSETCUS',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163160,148,48,'ARNWCUST',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163161,148,48,'ARSHIP2L',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163162,148,48,'ARSHIP2N',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163163,148,48,'ARHISTCU',1,141,'2016-01-21 07:25:30',0,'2016-01-21 07:25:30'),(163164,148,48,'APSUPPAY',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163165,148,48,'APPURDN',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163166,148,48,'APPURCN',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163167,148,48,'APPURDNC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163168,148,48,'APPURCNC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163169,148,48,'APPAYCFM',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163170,148,48,'APOPWI',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163171,148,48,'APPAYICM',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163172,148,48,'APPURINV',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163173,148,48,'APDIRINV',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163174,148,48,'APDRINVC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163175,148,48,'APCPYPI',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163176,148,48,'APDRNOTE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163177,148,48,'APTRETCR',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163178,148,48,'APTRPYIE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163179,148,48,'APTRPYOE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163180,148,48,'APSUPPAY',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163181,148,48,'APPURDN',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163182,148,48,'APPURCN',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163183,148,48,'APPURDNC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163184,148,48,'APPURCNC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163185,148,48,'APPAYCFM',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163186,148,48,'APOPWI',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163187,148,48,'APPAYICM',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163188,148,48,'APPURINV',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163189,148,48,'APDIRINV',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163190,148,48,'APDRINVC',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163191,148,48,'APCPYPI',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163192,148,48,'APDRNOTE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163193,148,48,'APTRETCR',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163194,148,48,'APTRPYIE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163195,148,48,'APTRPYOE',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163196,148,48,'APRPTOPW',0,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163197,148,48,'APRPTOPW',0,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163198,148,48,'APSUPPAY',0,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163199,148,48,'APPURINV',0,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163200,148,48,'APPURDNL',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163201,148,48,'APPURCNL',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163202,148,48,'APRPTSTL',1,141,'2016-01-21 07:25:32',0,'2016-01-21 07:25:32'),(163203,148,48,'APSUPPAY',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163204,148,48,'APPURDN',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163205,148,48,'APPURCN',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163206,148,48,'APPURDNC',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163207,148,48,'APPURCNC',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163208,148,48,'APPAYCFM',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163209,148,48,'APOPWI',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163210,148,48,'APPAYICM',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163211,148,48,'APPURINV',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163212,148,48,'APDIRINV',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163213,148,48,'APDRINVC',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163214,148,48,'APCPYPI',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163215,148,48,'APDRNOTE',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163216,148,48,'APTRETCR',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163217,148,48,'APTRPYIE',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163218,148,48,'APTRPYOE',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163219,148,48,'APRPTOPW',0,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163220,148,48,'APRPTOPW',0,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163221,148,48,'APSUPPAY',0,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163222,148,48,'APPURINV',0,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163223,148,48,'APPURDNL',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163224,148,48,'APPURCNL',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163225,148,48,'APRPTSTL',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163226,148,48,'MSTRSUPP',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163227,148,48,'APNEWSUP',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163228,148,48,'APNWSHP2',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163229,148,48,'APHISTSU',1,141,'2016-01-21 07:25:33',0,'2016-01-21 07:25:33'),(163230,148,48,'INVLOCTR',1,141,'2016-01-21 07:25:34',0,'2016-01-21 07:25:34'),(163231,148,48,'INVITEMC',1,141,'2016-01-21 07:25:34',0,'2016-01-21 07:25:34'),(163232,148,48,'INVLOCTC',1,141,'2016-01-21 07:25:34',0,'2016-01-21 07:25:34'),(163233,148,48,'INVITCC',1,141,'2016-01-21 07:25:34',0,'2016-01-21 07:25:34'),(163234,148,48,'INVLOCTR',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163235,148,48,'INVITEMC',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163236,148,48,'INVLOCTC',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163237,148,48,'INVITCC',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163238,148,48,'INVPLNRP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163239,148,48,'INVVALRP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163240,148,48,'INVSTORP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163241,148,48,'INVOUTRP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163242,148,48,'INVMOVRP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163243,148,48,'INVLSTRP',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163244,148,48,'IVSTCKCS',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163245,148,48,'LTL',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163246,148,48,'ICAA',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163247,148,48,'ItemDetR',1,141,'2016-01-21 07:25:35',0,'2016-01-21 07:25:35'),(163248,148,48,'INVLOCTR',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163249,148,48,'INVITEMC',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163250,148,48,'INVLOCTC',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163251,148,48,'INVITCC',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163252,148,48,'INVPLNRP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163253,148,48,'INVVALRP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163254,148,48,'INVSTORP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163255,148,48,'INVOUTRP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163256,148,48,'INVMOVRP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163257,148,48,'INVLSTRP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163258,148,48,'IVSTCKCS',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163259,148,48,'LTL',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163260,148,48,'ICAA',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163261,148,48,'ItemDetR',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163262,148,48,'MSLM',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163263,148,48,'ITEMCAT',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163264,148,48,'ITEMTYP',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163265,148,48,'ITEMSET',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163266,148,48,'INVUM',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163267,148,48,'INEDITEM',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163268,148,48,'INNWITEM',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163269,148,48,'IVUNTMSR',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163270,148,48,'OPNBALIN',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163271,148,48,'SOQUOT',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163272,148,48,'SOTRNWSO',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163273,148,48,'SOTRDO',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163274,148,48,'DELCNFRM',1,141,'2016-01-21 07:25:36',0,'2016-01-21 07:25:36'),(163275,148,48,'SOQUOT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163276,148,48,'SOTRNWSO',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163277,148,48,'SOTRDO',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163278,148,48,'DELCNFRM',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163279,148,48,'SOTRQOLT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163280,148,48,'SORPPCLT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163281,148,48,'SOTRDOLT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163282,148,48,'SOTRSOLT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163283,148,48,'SORPSOCU',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163284,148,48,'SORPYRSL',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163285,148,48,'SORPSLIT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163286,148,48,'SORPORCT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163287,148,48,'SORPSOIT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163288,148,48,'SORPOROT',1,141,'2016-01-21 07:25:37',0,'2016-01-21 07:25:37'),(163289,148,48,'SOQUOT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163290,148,48,'SOTRNWSO',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163291,148,48,'SOTRDO',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163292,148,48,'DELCNFRM',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163293,148,48,'SOTRQOLT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163294,148,48,'SORPPCLT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163295,148,48,'SOTRDOLT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163296,148,48,'SOTRSOLT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163297,148,48,'SORPSOCU',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163298,148,48,'SORPYRSL',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163299,148,48,'SORPSLIT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163300,148,48,'SORPORCT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163301,148,48,'SORPSOIT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163302,148,48,'SORPOROT',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163303,148,48,'SOSTSLPC',1,141,'2016-01-21 07:25:38',0,'2016-01-21 07:25:38'),(163304,148,48,'TXTRPROC',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163305,148,48,'GSBADRLF',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163306,148,48,'BADBTRLC',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163307,148,48,'GSBADBTR',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163308,148,48,'BDEBRCCO',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163309,148,48,'GTSJNL',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163310,148,48,'GSTJCNF',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163311,148,48,'SUPBDRLF',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163312,148,48,'SPBDRLC',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163313,148,48,'SBDEBRCV',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163314,148,48,'SPBDRCNF',1,141,'2016-01-21 07:25:39',0,'2016-01-21 07:25:39'),(163315,148,48,'TXTRPROC',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163316,148,48,'GSBADRLF',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163317,148,48,'BADBTRLC',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163318,148,48,'GSBADBTR',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163319,148,48,'BDEBRCCO',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163320,148,48,'GTSJNL',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163321,148,48,'GSTJCNF',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163322,148,48,'SUPBDRLF',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163323,148,48,'SPBDRLC',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163324,148,48,'SBDEBRCV',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163325,148,48,'SPBDRCNF',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163326,148,48,'GST03',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163327,148,48,'GSTRPT01',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163328,148,48,'BDRETRPT',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163329,148,48,'BDRCVRPT',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163330,148,48,'GSTRTSUM',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163331,148,48,'GST03SUM',1,141,'2016-01-21 07:25:40',0,'2016-01-21 07:25:40'),(163332,148,48,'TXTRPROC',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163333,148,48,'GSBADRLF',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163334,148,48,'BADBTRLC',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163335,148,48,'GSBADBTR',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163336,148,48,'BDEBRCCO',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163337,148,48,'GTSJNL',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163338,148,48,'GSTJCNF',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163339,148,48,'SUPBDRLF',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163340,148,48,'SPBDRLC',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163341,148,48,'SBDEBRCV',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163342,148,48,'SPBDRCNF',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163343,148,48,'GST03',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163344,148,48,'GSTRPT01',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163345,148,48,'BDRETRPT',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163346,148,48,'BDRCVRPT',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163347,148,48,'GSTRTSUM',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163348,148,48,'GST03SUM',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163349,148,48,'GSTMSTR',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163350,148,48,'GSTCLASS',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163351,148,48,'GSTGROUP',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163352,148,48,'GSTTYPE',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163353,148,48,'GSTTXMP',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163354,148,48,'GSTPREF',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163355,148,48,'ZKTTRCAL',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163356,148,48,'WKFCAL',1,141,'2016-01-21 07:25:41',0,'2016-01-21 07:25:41'),(163357,148,48,'ZKTTRCAL',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163358,148,48,'WKFCAL',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163359,148,48,'ZKTRGPLT',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163360,148,48,'ZKRPCTRL',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163361,148,48,'ZKRPNBLT',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163362,148,48,'ZKRPSMLT',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163363,148,48,'WKFLST',1,141,'2016-01-21 07:25:42',0,'2016-01-21 07:25:42'),(163364,148,48,'ZKTTRCAL',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163365,148,48,'WKFCAL',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163366,148,48,'ZKTRGPLT',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163367,148,48,'ZKRPCTRL',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163368,148,48,'ZKRPNBLT',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163369,148,48,'ZKRPSMLT',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163370,148,48,'WKFLST',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163371,148,48,'ZKTSTGRP',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163372,148,48,'ZKTSTNSB',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163373,148,48,'ZKTSTNSD',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163374,148,48,'ZKSTCNTR',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163375,148,48,'WKSTMSTR',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163376,148,48,'WCQCNTR',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163377,148,48,'PURORDER',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163378,148,48,'PURRCV',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163379,148,48,'PURORDCF',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163380,148,48,'PURRCVC',1,141,'2016-01-21 07:25:43',0,'2016-01-21 07:25:43'),(163381,148,48,'PURORDER',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163382,148,48,'PURRCV',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163383,148,48,'PURORDCF',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163384,148,48,'PURRCVC',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163385,148,48,'PURORLST',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163386,148,48,'PURRCVLS',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163387,148,48,'PUROUTGR',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163388,148,48,'PUPRRPT',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163389,148,48,'PURCNCL',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163390,148,48,'PURRCVCA',1,141,'2016-01-21 07:25:44',0,'2016-01-21 07:25:44'),(163391,148,48,'PURORDER',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163392,148,48,'PURRCV',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163393,148,48,'PURORDCF',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163394,148,48,'PURRCVC',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163395,148,48,'PURORLST',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163396,148,48,'PURRCVLS',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163397,148,48,'PUROUTGR',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163398,148,48,'PUPRRPT',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163399,148,48,'PURCNCL',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163400,148,48,'PURRCVCA',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163401,148,48,'PURSTSPL',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163402,148,48,'INVPURPR',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163403,148,48,'UMCONVNW',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163404,148,48,'PURUOMLS',1,141,'2016-01-21 07:25:45',0,'2016-01-21 07:25:45'),(163405,148,48,'UM',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163406,148,48,'UML',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163407,148,48,'MUL',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163408,148,48,'LOGRPT',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163409,148,48,'UMACCSS',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163410,148,48,'ADMMENU',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163411,148,48,'USRADD',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163412,148,48,'BACKUP',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163413,148,48,'updversi',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163414,148,48,'upgraden',1,141,'2016-01-21 07:25:46',0,'2016-01-21 07:25:46'),(163415,148,48,'UM',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163416,148,48,'UML',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163417,148,48,'MUL',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163418,148,48,'LOGRPT',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163419,148,48,'UMACCSS',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163420,148,48,'ADMMENU',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163421,148,48,'USRADD',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163422,148,48,'BACKUP',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163423,148,48,'updversi',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163424,148,48,'upgraden',1,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163425,148,48,'UM',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163426,148,48,'UML',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163427,148,48,'MUL',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163428,148,48,'LOGRPT',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163429,148,48,'UMACCSS',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163430,148,48,'ADMMENU',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163431,148,48,'USRADD',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163432,148,48,'BACKUP',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163433,148,48,'updversi',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163434,148,48,'upgraden',0,141,'2016-01-21 07:25:47',0,'2016-01-21 07:25:47'),(163435,148,48,'UM',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163436,148,48,'UML',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163437,148,48,'MUL',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163438,148,48,'LOGRPT',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163439,148,48,'UMACCSS',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163440,148,48,'ADMMENU',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163441,148,48,'USRADD',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163442,148,48,'BACKUP',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163443,148,48,'updversi',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163444,148,48,'upgraden',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163445,148,48,'UM',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163446,148,48,'UML',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163447,148,48,'MUL',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163448,148,48,'LOGRPT',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163449,148,48,'UMACCSS',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163450,148,48,'ADMMENU',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163451,148,48,'USRADD',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163452,148,48,'BACKUP',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163453,148,48,'updversi',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163454,148,48,'upgraden',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163455,148,48,'UM',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163456,148,48,'UML',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163457,148,48,'MUL',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163458,148,48,'LOGRPT',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163459,148,48,'UMACCSS',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163460,148,48,'ADMMENU',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163461,148,48,'USRADD',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163462,148,48,'BACKUP',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163463,148,48,'updversi',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163464,148,48,'upgraden',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163465,148,48,'UM',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163466,148,48,'UML',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163467,148,48,'MUL',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163468,148,48,'LOGRPT',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163469,148,48,'UMACCSS',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163470,148,48,'ADMMENU',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163471,148,48,'USRADD',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163472,148,48,'BACKUP',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163473,148,48,'updversi',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163474,148,48,'upgraden',0,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163475,148,48,'UM',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163476,148,48,'UML',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163477,148,48,'MUL',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163478,148,48,'LOGRPT',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163479,148,48,'UMACCSS',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163480,148,48,'ADMMENU',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163481,148,48,'USRADD',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163482,148,48,'BACKUP',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163483,148,48,'updversi',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163484,148,48,'upgraden',1,141,'2016-01-21 07:25:48',0,'2016-01-21 07:25:48'),(163485,148,48,'MSTRCOMP',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163486,148,48,'PROJECT',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163487,148,48,'TERM',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163488,148,48,'MSMTRCD',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163489,148,48,'EMP',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163490,148,48,'AGENTSTP',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163491,148,48,'BNKSETUP',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163492,148,48,'ShipToST',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163493,148,48,'GRAPHSET',1,141,'2016-01-21 07:25:49',0,'2016-01-21 07:25:49'),(163494,148,48,'MSTRCOMP',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163495,148,48,'PROJECT',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163496,148,48,'TERM',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163497,148,48,'MSMTRCD',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163498,148,48,'EMP',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163499,148,48,'AGENTSTP',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163500,148,48,'BNKSETUP',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163501,148,48,'ShipToST',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163502,148,48,'GRAPHSET',1,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163503,148,48,'MSTRCOMP',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163504,148,48,'PROJECT',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163505,148,48,'TERM',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163506,148,48,'MSMTRCD',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163507,148,48,'EMP',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163508,148,48,'AGENTSTP',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163509,148,48,'BNKSETUP',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163510,148,48,'ShipToST',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163511,148,48,'GRAPHSET',0,141,'2016-01-21 07:25:50',0,'2016-01-21 07:25:50'),(163512,148,48,'MSTRCOMP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163513,148,48,'PROJECT',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163514,148,48,'TERM',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163515,148,48,'MSMTRCD',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163516,148,48,'EMP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163517,148,48,'AGENTSTP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163518,148,48,'BNKSETUP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163519,148,48,'ShipToST',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163520,148,48,'GRAPHSET',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163521,148,48,'MSTRCOMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163522,148,48,'PROJECT',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163523,148,48,'TERM',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163524,148,48,'MSMTRCD',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163525,148,48,'EMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163526,148,48,'AGENTSTP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163527,148,48,'BNKSETUP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163528,148,48,'ShipToST',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163529,148,48,'GRAPHSET',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163530,148,48,'MSTRCOMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163531,148,48,'PROJECT',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163532,148,48,'TERM',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163533,148,48,'MSMTRCD',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163534,148,48,'EMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163535,148,48,'AGENTSTP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163536,148,48,'BNKSETUP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163537,148,48,'ShipToST',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163538,148,48,'GRAPHSET',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163539,148,48,'MSTRCOMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163540,148,48,'PROJECT',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163541,148,48,'TERM',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163542,148,48,'MSMTRCD',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163543,148,48,'EMP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163544,148,48,'AGENTSTP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163545,148,48,'BNKSETUP',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163546,148,48,'ShipToST',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163547,148,48,'GRAPHSET',0,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163548,148,48,'MSTRCOMP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163549,148,48,'PROJECT',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163550,148,48,'TERM',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163551,148,48,'MSMTRCD',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163552,148,48,'EMP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163553,148,48,'AGENTSTP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163554,148,48,'BNKSETUP',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163555,148,48,'ShipToST',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163556,148,48,'GRAPHSET',1,141,'2016-01-21 07:25:51',0,'2016-01-21 07:25:51'),(163557,85,58,'GLTRJRNL',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163558,85,58,'GLTRJlCY',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163559,85,58,'GLTRJlRV',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163560,85,58,'GLTRPOST',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163561,85,58,'APOPWOI',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163562,85,58,'GLTRYECL',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163563,85,58,'OTRPAY',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163564,85,58,'OTHRCV',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163565,85,58,'OTRCVCON',1,58,'2016-01-22 07:46:10',0,'2016-01-22 07:46:10'),(163566,85,58,'GLTRJRNL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163567,85,58,'GLTRJlCY',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163568,85,58,'GLTRJlRV',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163569,85,58,'GLTRPOST',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163570,85,58,'APOPWOI',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163571,85,58,'GLTRYECL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163572,85,58,'OTRPAY',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163573,85,58,'OTHRCV',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163574,85,58,'OTRCVCON',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163575,85,58,'GLRPBS',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163576,85,58,'GLRPTB',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163577,85,58,'GLRPJLPS',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163578,85,58,'GLRPJLUP',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163579,85,58,'GLRPTBFC',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163580,85,58,'GLRPABSM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163581,85,58,'GLRPPNLM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163582,85,58,'APRPTOPW',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163583,85,58,'GLRPBGLT',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163584,85,58,'APBANKRE',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163585,85,58,'OTRCVLST',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163586,85,58,'GLBNKRCL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163587,85,58,'TRSCSUMM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163588,85,58,'GLTRJRNL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163589,85,58,'GLTRJlCY',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163590,85,58,'GLTRJlRV',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163591,85,58,'GLTRPOST',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163592,85,58,'APOPWOI',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163593,85,58,'GLTRYECL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163594,85,58,'OTRPAY',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163595,85,58,'OTHRCV',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163596,85,58,'OTRCVCON',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163597,85,58,'GLRPBS',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163598,85,58,'GLRPTB',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163599,85,58,'GLRPJLPS',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163600,85,58,'GLRPJLUP',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163601,85,58,'GLRPTBFC',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163602,85,58,'GLRPABSM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163603,85,58,'GLRPPNLM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163604,85,58,'APRPTOPW',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163605,85,58,'GLRPBGLT',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163606,85,58,'APBANKRE',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163607,85,58,'OTRCVLST',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163608,85,58,'GLBNKRCL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163609,85,58,'TRSCSUMM',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163610,85,58,'GLMCAL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163611,85,58,'GLMCALL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163612,85,58,'GLSTCOA',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163613,85,58,'GLSTBDGT',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163614,85,58,'GLSTCURC',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163615,85,58,'GLOPNBAL',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163616,85,58,'GLUNPRES',1,58,'2016-01-22 07:46:12',0,'2016-01-22 07:46:12'),(163617,85,58,'ARSALINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163618,85,58,'ARSDBN',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163619,85,58,'ARDBNC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163620,85,58,'ARSCN',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163621,85,58,'ARSCNC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163622,85,58,'ARRCVP',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163623,85,58,'ARRCVPC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163624,85,58,'ARDSLINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163625,85,58,'ARDRSINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163626,85,58,'ARCPYSI',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163627,85,58,'ARTRINED',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163628,85,58,'AREDSLDR',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163629,85,58,'AREDCR',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163630,85,58,'ARPAYEDT',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163631,85,58,'ARCASH',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163632,85,58,'ARCASHSC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163633,85,58,'ARSALINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163634,85,58,'ARSDBN',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163635,85,58,'ARDBNC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163636,85,58,'ARSCN',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163637,85,58,'ARSCNC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163638,85,58,'ARRCVP',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163639,85,58,'ARRCVPC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163640,85,58,'ARDSLINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163641,85,58,'ARDRSINV',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163642,85,58,'ARCPYSI',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163643,85,58,'ARTRINED',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163644,85,58,'AREDSLDR',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163645,85,58,'AREDCR',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163646,85,58,'ARPAYEDT',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163647,85,58,'ARCASH',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163648,85,58,'ARCASHSC',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163649,85,58,'ARINVLST',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163650,85,58,'ARDBNLST',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163651,85,58,'ARCDNLST',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163652,85,58,'ARRCVPLS',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163653,85,58,'ARCUSTST',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163654,85,58,'ARCUSTAG',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163655,85,58,'ARCSHS',1,58,'2016-01-22 07:46:14',0,'2016-01-22 07:46:14'),(163656,85,58,'ARSALINV',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163657,85,58,'ARSDBN',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163658,85,58,'ARDBNC',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163659,85,58,'ARSCN',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163660,85,58,'ARSCNC',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163661,85,58,'ARRCVP',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163662,85,58,'ARRCVPC',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163663,85,58,'ARDSLINV',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163664,85,58,'ARDRSINV',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163665,85,58,'ARCPYSI',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163666,85,58,'ARTRINED',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163667,85,58,'AREDSLDR',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163668,85,58,'AREDCR',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163669,85,58,'ARPAYEDT',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163670,85,58,'ARCASH',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163671,85,58,'ARCASHSC',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163672,85,58,'ARINVLST',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163673,85,58,'ARDBNLST',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163674,85,58,'ARCDNLST',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163675,85,58,'ARRCVPLS',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163676,85,58,'ARCUSTST',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163677,85,58,'ARCUSTAG',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163678,85,58,'ARCSHS',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163679,85,58,'ARSETCUS',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163680,85,58,'ARNWCUST',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163681,85,58,'ARSHIP2L',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163682,85,58,'ARSHIP2N',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163683,85,58,'ARHISTCU',1,58,'2016-01-22 07:46:15',0,'2016-01-22 07:46:15'),(163684,85,58,'APSUPPAY',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163685,85,58,'APPURDN',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163686,85,58,'APPURCN',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163687,85,58,'APPURDNC',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163688,85,58,'APPURCNC',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163689,85,58,'APPAYCFM',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163690,85,58,'APOPWI',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163691,85,58,'APPAYICM',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163692,85,58,'APPURINV',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163693,85,58,'APDIRINV',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163694,85,58,'APDRINVC',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163695,85,58,'APCPYPI',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163696,85,58,'APDRNOTE',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163697,85,58,'APTRETCR',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163698,85,58,'APTRPYIE',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163699,85,58,'APTRPYOE',1,58,'2016-01-22 07:46:17',0,'2016-01-22 07:46:17'),(163700,85,58,'APSUPPAY',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163701,85,58,'APPURDN',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163702,85,58,'APPURCN',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163703,85,58,'APPURDNC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163704,85,58,'APPURCNC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163705,85,58,'APPAYCFM',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163706,85,58,'APOPWI',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163707,85,58,'APPAYICM',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163708,85,58,'APPURINV',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163709,85,58,'APDIRINV',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163710,85,58,'APDRINVC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163711,85,58,'APCPYPI',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163712,85,58,'APDRNOTE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163713,85,58,'APTRETCR',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163714,85,58,'APTRPYIE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163715,85,58,'APTRPYOE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163716,85,58,'APRPTOPW',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163717,85,58,'APRPTOPW',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163718,85,58,'APSUPPAY',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163719,85,58,'APPURINV',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163720,85,58,'APPURDNL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163721,85,58,'APPURCNL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163722,85,58,'APRPTSTL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163723,85,58,'APSUPPAY',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163724,85,58,'APPURDN',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163725,85,58,'APPURCN',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163726,85,58,'APPURDNC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163727,85,58,'APPURCNC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163728,85,58,'APPAYCFM',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163729,85,58,'APOPWI',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163730,85,58,'APPAYICM',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163731,85,58,'APPURINV',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163732,85,58,'APDIRINV',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163733,85,58,'APDRINVC',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163734,85,58,'APCPYPI',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163735,85,58,'APDRNOTE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163736,85,58,'APTRETCR',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163737,85,58,'APTRPYIE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163738,85,58,'APTRPYOE',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163739,85,58,'APRPTOPW',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163740,85,58,'APRPTOPW',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163741,85,58,'APSUPPAY',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163742,85,58,'APPURINV',0,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163743,85,58,'APPURDNL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163744,85,58,'APPURCNL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163745,85,58,'APRPTSTL',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163746,85,58,'MSTRSUPP',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163747,85,58,'APNEWSUP',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163748,85,58,'APNWSHP2',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163749,85,58,'APHISTSU',1,58,'2016-01-22 07:46:18',0,'2016-01-22 07:46:18'),(163750,85,58,'INVLOCTR',1,58,'2016-01-22 07:46:19',0,'2016-01-22 07:46:19'),(163751,85,58,'INVITEMC',1,58,'2016-01-22 07:46:19',0,'2016-01-22 07:46:19'),(163752,85,58,'INVLOCTC',1,58,'2016-01-22 07:46:19',0,'2016-01-22 07:46:19'),(163753,85,58,'INVITCC',1,58,'2016-01-22 07:46:19',0,'2016-01-22 07:46:19'),(163754,85,58,'INVLOCTR',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163755,85,58,'INVITEMC',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163756,85,58,'INVLOCTC',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163757,85,58,'INVITCC',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163758,85,58,'INVPLNRP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163759,85,58,'INVVALRP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163760,85,58,'INVSTORP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163761,85,58,'INVOUTRP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163762,85,58,'INVMOVRP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163763,85,58,'INVLSTRP',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163764,85,58,'IVSTCKCS',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163765,85,58,'LTL',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163766,85,58,'ICAA',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163767,85,58,'ItemDetR',1,58,'2016-01-22 07:46:20',0,'2016-01-22 07:46:20'),(163768,85,58,'INVLOCTR',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163769,85,58,'INVITEMC',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163770,85,58,'INVLOCTC',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163771,85,58,'INVITCC',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163772,85,58,'INVPLNRP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163773,85,58,'INVVALRP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163774,85,58,'INVSTORP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163775,85,58,'INVOUTRP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163776,85,58,'INVMOVRP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163777,85,58,'INVLSTRP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163778,85,58,'IVSTCKCS',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163779,85,58,'LTL',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163780,85,58,'ICAA',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163781,85,58,'ItemDetR',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163782,85,58,'MSLM',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163783,85,58,'ITEMCAT',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163784,85,58,'ITEMTYP',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163785,85,58,'ITEMSET',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163786,85,58,'INVUM',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163787,85,58,'INEDITEM',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163788,85,58,'INNWITEM',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163789,85,58,'IVUNTMSR',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163790,85,58,'OPNBALIN',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163791,85,58,'SOQUOT',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163792,85,58,'SOTRNWSO',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163793,85,58,'SOTRDO',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163794,85,58,'DELCNFRM',1,58,'2016-01-22 07:46:21',0,'2016-01-22 07:46:21'),(163795,85,58,'SOQUOT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163796,85,58,'SOTRNWSO',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163797,85,58,'SOTRDO',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163798,85,58,'DELCNFRM',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163799,85,58,'SOTRQOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163800,85,58,'SORPPCLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163801,85,58,'SOTRDOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163802,85,58,'SOTRSOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163803,85,58,'SORPSOCU',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163804,85,58,'SORPYRSL',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163805,85,58,'SORPSLIT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163806,85,58,'SORPORCT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163807,85,58,'SORPSOIT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163808,85,58,'SORPOROT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163809,85,58,'SOQUOT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163810,85,58,'SOTRNWSO',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163811,85,58,'SOTRDO',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163812,85,58,'DELCNFRM',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163813,85,58,'SOTRQOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163814,85,58,'SORPPCLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163815,85,58,'SOTRDOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163816,85,58,'SOTRSOLT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163817,85,58,'SORPSOCU',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163818,85,58,'SORPYRSL',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163819,85,58,'SORPSLIT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163820,85,58,'SORPORCT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163821,85,58,'SORPSOIT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163822,85,58,'SORPOROT',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163823,85,58,'SOSTSLPC',1,58,'2016-01-22 07:46:23',0,'2016-01-22 07:46:23'),(163824,85,58,'TXTRPROC',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163825,85,58,'GSBADRLF',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163826,85,58,'BADBTRLC',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163827,85,58,'GSBADBTR',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163828,85,58,'BDEBRCCO',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163829,85,58,'GTSJNL',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163830,85,58,'GSTJCNF',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163831,85,58,'SUPBDRLF',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163832,85,58,'SPBDRLC',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163833,85,58,'SBDEBRCV',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163834,85,58,'SPBDRCNF',1,58,'2016-01-22 07:46:24',0,'2016-01-22 07:46:24'),(163835,85,58,'TXTRPROC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163836,85,58,'GSBADRLF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163837,85,58,'BADBTRLC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163838,85,58,'GSBADBTR',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163839,85,58,'BDEBRCCO',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163840,85,58,'GTSJNL',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163841,85,58,'GSTJCNF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163842,85,58,'SUPBDRLF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163843,85,58,'SPBDRLC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163844,85,58,'SBDEBRCV',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163845,85,58,'SPBDRCNF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163846,85,58,'GST03',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163847,85,58,'GSTRPT01',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163848,85,58,'BDRETRPT',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163849,85,58,'BDRCVRPT',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163850,85,58,'GSTRTSUM',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163851,85,58,'GST03SUM',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163852,85,58,'TXTRPROC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163853,85,58,'GSBADRLF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163854,85,58,'BADBTRLC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163855,85,58,'GSBADBTR',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163856,85,58,'BDEBRCCO',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163857,85,58,'GTSJNL',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163858,85,58,'GSTJCNF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163859,85,58,'SUPBDRLF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163860,85,58,'SPBDRLC',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163861,85,58,'SBDEBRCV',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163862,85,58,'SPBDRCNF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163863,85,58,'GST03',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163864,85,58,'GSTRPT01',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163865,85,58,'BDRETRPT',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163866,85,58,'BDRCVRPT',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163867,85,58,'GSTRTSUM',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163868,85,58,'GST03SUM',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163869,85,58,'GSTMSTR',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163870,85,58,'GSTCLASS',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163871,85,58,'GSTGROUP',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163872,85,58,'GSTTYPE',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163873,85,58,'GSTTXMP',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163874,85,58,'GSTPREF',1,58,'2016-01-22 07:46:25',0,'2016-01-22 07:46:25'),(163875,85,58,'ZKTTRCAL',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163876,85,58,'WKFCAL',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163877,85,58,'ZKTTRCAL',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163878,85,58,'WKFCAL',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163879,85,58,'ZKTRGPLT',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163880,85,58,'ZKRPCTRL',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163881,85,58,'ZKRPNBLT',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163882,85,58,'ZKRPSMLT',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163883,85,58,'WKFLST',1,58,'2016-01-22 07:46:26',0,'2016-01-22 07:46:26'),(163884,85,58,'ZKTTRCAL',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163885,85,58,'WKFCAL',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163886,85,58,'ZKTRGPLT',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163887,85,58,'ZKRPCTRL',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163888,85,58,'ZKRPNBLT',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163889,85,58,'ZKRPSMLT',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163890,85,58,'WKFLST',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163891,85,58,'ZKTSTGRP',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163892,85,58,'ZKTSTNSB',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163893,85,58,'ZKTSTNSD',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163894,85,58,'ZKSTCNTR',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163895,85,58,'WKSTMSTR',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163896,85,58,'WCQCNTR',1,58,'2016-01-22 07:46:27',0,'2016-01-22 07:46:27'),(163897,85,58,'PURORDER',1,58,'2016-01-22 07:46:28',0,'2016-01-22 07:46:28'),(163898,85,58,'PURRCV',1,58,'2016-01-22 07:46:28',0,'2016-01-22 07:46:28'),(163899,85,58,'PURORDCF',1,58,'2016-01-22 07:46:28',0,'2016-01-22 07:46:28'),(163900,85,58,'PURRCVC',1,58,'2016-01-22 07:46:28',0,'2016-01-22 07:46:28'),(163901,85,58,'PURORDER',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163902,85,58,'PURRCV',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163903,85,58,'PURORDCF',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163904,85,58,'PURRCVC',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163905,85,58,'PURORLST',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163906,85,58,'PURRCVLS',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163907,85,58,'PUROUTGR',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163908,85,58,'PUPRRPT',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163909,85,58,'PURCNCL',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163910,85,58,'PURRCVCA',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163911,85,58,'PURORDER',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163912,85,58,'PURRCV',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163913,85,58,'PURORDCF',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163914,85,58,'PURRCVC',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163915,85,58,'PURORLST',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163916,85,58,'PURRCVLS',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163917,85,58,'PUROUTGR',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163918,85,58,'PUPRRPT',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163919,85,58,'PURCNCL',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163920,85,58,'PURRCVCA',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163921,85,58,'PURSTSPL',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163922,85,58,'INVPURPR',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163923,85,58,'UMCONVNW',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163924,85,58,'PURUOMLS',1,58,'2016-01-22 07:46:29',0,'2016-01-22 07:46:29'),(163925,85,58,'UM',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163926,85,58,'UML',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163927,85,58,'MUL',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163928,85,58,'LOGRPT',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163929,85,58,'UMACCSS',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163930,85,58,'ADMMENU',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163931,85,58,'USRADD',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163932,85,58,'BACKUP',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163933,85,58,'updversi',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163934,85,58,'upgraden',1,58,'2016-01-22 07:46:30',0,'2016-01-22 07:46:30'),(163935,85,58,'UM',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163936,85,58,'UML',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163937,85,58,'MUL',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163938,85,58,'LOGRPT',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163939,85,58,'UMACCSS',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163940,85,58,'ADMMENU',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163941,85,58,'USRADD',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163942,85,58,'BACKUP',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163943,85,58,'updversi',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163944,85,58,'upgraden',1,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163945,85,58,'UM',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163946,85,58,'UML',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163947,85,58,'MUL',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163948,85,58,'LOGRPT',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163949,85,58,'UMACCSS',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163950,85,58,'ADMMENU',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163951,85,58,'USRADD',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163952,85,58,'BACKUP',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163953,85,58,'updversi',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163954,85,58,'upgraden',0,58,'2016-01-22 07:46:31',0,'2016-01-22 07:46:31'),(163955,85,58,'UM',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163956,85,58,'UML',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163957,85,58,'MUL',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163958,85,58,'LOGRPT',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163959,85,58,'UMACCSS',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163960,85,58,'ADMMENU',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163961,85,58,'USRADD',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163962,85,58,'BACKUP',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163963,85,58,'updversi',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163964,85,58,'upgraden',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163965,85,58,'UM',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163966,85,58,'UML',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163967,85,58,'MUL',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163968,85,58,'LOGRPT',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163969,85,58,'UMACCSS',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163970,85,58,'ADMMENU',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163971,85,58,'USRADD',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163972,85,58,'BACKUP',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163973,85,58,'updversi',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163974,85,58,'upgraden',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163975,85,58,'UM',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163976,85,58,'UML',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163977,85,58,'MUL',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163978,85,58,'LOGRPT',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163979,85,58,'UMACCSS',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163980,85,58,'ADMMENU',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163981,85,58,'USRADD',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163982,85,58,'BACKUP',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163983,85,58,'updversi',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163984,85,58,'upgraden',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163985,85,58,'UM',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163986,85,58,'UML',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163987,85,58,'MUL',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163988,85,58,'LOGRPT',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163989,85,58,'UMACCSS',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163990,85,58,'ADMMENU',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163991,85,58,'USRADD',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163992,85,58,'BACKUP',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163993,85,58,'updversi',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163994,85,58,'upgraden',0,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163995,85,58,'UM',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163996,85,58,'UML',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163997,85,58,'MUL',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163998,85,58,'LOGRPT',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(163999,85,58,'UMACCSS',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164000,85,58,'ADMMENU',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164001,85,58,'USRADD',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164002,85,58,'BACKUP',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164003,85,58,'updversi',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164004,85,58,'upgraden',1,58,'2016-01-22 07:46:32',0,'2016-01-22 07:46:32'),(164005,85,58,'MSTRCOMP',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164006,85,58,'PROJECT',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164007,85,58,'TERM',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164008,85,58,'MSMTRCD',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164009,85,58,'EMP',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164010,85,58,'AGENTSTP',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164011,85,58,'BNKSETUP',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164012,85,58,'ShipToST',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164013,85,58,'GRAPHSET',1,58,'2016-01-22 07:46:33',0,'2016-01-22 07:46:33'),(164014,85,58,'MSTRCOMP',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164015,85,58,'PROJECT',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164016,85,58,'TERM',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164017,85,58,'MSMTRCD',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164018,85,58,'EMP',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164019,85,58,'AGENTSTP',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164020,85,58,'BNKSETUP',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164021,85,58,'ShipToST',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164022,85,58,'GRAPHSET',1,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164023,85,58,'MSTRCOMP',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164024,85,58,'PROJECT',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164025,85,58,'TERM',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164026,85,58,'MSMTRCD',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164027,85,58,'EMP',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164028,85,58,'AGENTSTP',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164029,85,58,'BNKSETUP',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164030,85,58,'ShipToST',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164031,85,58,'GRAPHSET',0,58,'2016-01-22 07:46:35',0,'2016-01-22 07:46:35'),(164032,85,58,'MSTRCOMP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164033,85,58,'PROJECT',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164034,85,58,'TERM',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164035,85,58,'MSMTRCD',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164036,85,58,'EMP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164037,85,58,'AGENTSTP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164038,85,58,'BNKSETUP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164039,85,58,'ShipToST',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164040,85,58,'GRAPHSET',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164041,85,58,'MSTRCOMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164042,85,58,'PROJECT',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164043,85,58,'TERM',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164044,85,58,'MSMTRCD',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164045,85,58,'EMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164046,85,58,'AGENTSTP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164047,85,58,'BNKSETUP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164048,85,58,'ShipToST',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164049,85,58,'GRAPHSET',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164050,85,58,'MSTRCOMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164051,85,58,'PROJECT',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164052,85,58,'TERM',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164053,85,58,'MSMTRCD',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164054,85,58,'EMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164055,85,58,'AGENTSTP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164056,85,58,'BNKSETUP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164057,85,58,'ShipToST',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164058,85,58,'GRAPHSET',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164059,85,58,'MSTRCOMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164060,85,58,'PROJECT',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164061,85,58,'TERM',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164062,85,58,'MSMTRCD',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164063,85,58,'EMP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164064,85,58,'AGENTSTP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164065,85,58,'BNKSETUP',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164066,85,58,'ShipToST',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164067,85,58,'GRAPHSET',0,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164068,85,58,'MSTRCOMP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164069,85,58,'PROJECT',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164070,85,58,'TERM',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164071,85,58,'MSMTRCD',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164072,85,58,'EMP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164073,85,58,'AGENTSTP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164074,85,58,'BNKSETUP',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164075,85,58,'ShipToST',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164076,85,58,'GRAPHSET',1,58,'2016-01-22 07:46:36',0,'2016-01-22 07:46:36'),(164077,85,16,'ShipToST',1,16,'2016-01-27 03:28:31',0,'2016-01-27 03:28:31'),(164078,85,16,'GRAPHSET',1,16,'2016-01-27 03:28:32',0,'2016-01-27 03:28:32');

--
-- Temporary table structure for view `view_account_balance`
--

/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
/*!50001 CREATE TABLE `view_account_balance` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `closing` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_ar_inventory`
--

/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
/*!50001 CREATE TABLE `view_ar_inventory` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `salesinvoiceDate` tinyint NOT NULL,
  `totalReceivable` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_ar_open_position`
--

/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;
/*!50001 CREATE TABLE `view_ar_open_position` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `due120` tinyint NOT NULL,
  `due90` tinyint NOT NULL,
  `due60` tinyint NOT NULL,
  `due30` tinyint NOT NULL,
  `due0` tinyint NOT NULL,
  `pastDue30` tinyint NOT NULL,
  `pastDue60` tinyint NOT NULL,
  `pastDue90` tinyint NOT NULL,
  `pastDue120` tinyint NOT NULL,
  `pastDue` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_balance_sheet`
--

/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
/*!50001 CREATE TABLE `view_balance_sheet` (
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `currentyeardebit` tinyint NOT NULL,
  `currentyearcredit` tinyint NOT NULL,
  `lastyeardebit` tinyint NOT NULL,
  `lastyearcredit` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_bank_reconcile`
--

/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;
/*!50001 CREATE TABLE `view_bank_reconcile` (
  `ID` tinyint NOT NULL,
  `companyid` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankid` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_bank_reconcile_reverse`
--

/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 CREATE TABLE `view_bank_reconcile_reverse` (
  `bankReconcileID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `bankID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `debitAmount` tinyint NOT NULL,
  `creditAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_chart_of_acct_updateable`
--

/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 CREATE TABLE `view_chart_of_acct_updateable` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctCode` tinyint NOT NULL,
  `acctName` tinyint NOT NULL,
  `acctDesc` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_comp_acc_det`
--

/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;
/*!50001 CREATE TABLE `view_comp_acc_det` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `acctGroupID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `amountdr` tinyint NOT NULL,
  `amountcr` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `is_delete` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_customer_aging`
--

/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;
/*!50001 CREATE TABLE `view_customer_aging` (
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `phoneNumber1` tinyint NOT NULL,
  `email` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_customer_statement`
--

/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
/*!50001 CREATE TABLE `view_customer_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_expence_and_income`
--

/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
/*!50001 CREATE TABLE `view_expence_and_income` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `groupID` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL,
  `balance` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_gaf`
--

/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
/*!50001 CREATE TABLE `view_gaf` (
  `companyID` tinyint NOT NULL,
  `col1` tinyint NOT NULL,
  `col2` tinyint NOT NULL,
  `col3` tinyint NOT NULL,
  `col4` tinyint NOT NULL,
  `col5` tinyint NOT NULL,
  `col6` tinyint NOT NULL,
  `col7` tinyint NOT NULL,
  `col8` tinyint NOT NULL,
  `col9` tinyint NOT NULL,
  `col10` tinyint NOT NULL,
  `col11` tinyint NOT NULL,
  `col12` tinyint NOT NULL,
  `col13` tinyint NOT NULL,
  `col14` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_grn_report`
--

/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
/*!50001 CREATE TABLE `view_grn_report` (
  `companyID` tinyint NOT NULL,
  `unitMesure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `poNo` tinyint NOT NULL,
  `PoDate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityOrder` tinyint NOT NULL,
  `total` tinyint NOT NULL,
  `totalRcv` tinyint NOT NULL,
  `QtyLeft` tinyint NOT NULL,
  `itemID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_gst_03_summary`
--

/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
/*!50001 CREATE TABLE `view_gst_03_summary` (
  `companyID` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `totalA1` tinyint NOT NULL,
  `totalA2` tinyint NOT NULL,
  `totalB5a` tinyint NOT NULL,
  `totalB5b` tinyint NOT NULL,
  `totalB6a` tinyint NOT NULL,
  `totalB6b` tinyint NOT NULL,
  `totalB7` tinyint NOT NULL,
  `totalB8` tinyint NOT NULL,
  `totalC10` tinyint NOT NULL,
  `totalC11` tinyint NOT NULL,
  `totalC12` tinyint NOT NULL,
  `totalC13` tinyint NOT NULL,
  `totalC14` tinyint NOT NULL,
  `totalC15` tinyint NOT NULL,
  `totalC16` tinyint NOT NULL,
  `totalC17` tinyint NOT NULL,
  `totalMonth6` tinyint NOT NULL,
  `totalC18` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_gst_report`
--

/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;
/*!50001 CREATE TABLE `view_gst_report` (
  `companyid` tinyint NOT NULL,
  `gstRegisteredDate` tinyint NOT NULL,
  `taxablePeriod` tinyint NOT NULL,
  `financialYear` tinyint NOT NULL,
  `startDate` tinyint NOT NULL,
  `endDate` tinyint NOT NULL,
  `period` tinyint NOT NULL,
  `A1` tinyint NOT NULL,
  `A2` tinyint NOT NULL,
  `B5a` tinyint NOT NULL,
  `B5b` tinyint NOT NULL,
  `B6a` tinyint NOT NULL,
  `B6b` tinyint NOT NULL,
  `B7` tinyint NOT NULL,
  `B8` tinyint NOT NULL,
  `C10` tinyint NOT NULL,
  `C11` tinyint NOT NULL,
  `C12` tinyint NOT NULL,
  `C13` tinyint NOT NULL,
  `C14` tinyint NOT NULL,
  `C15` tinyint NOT NULL,
  `C16` tinyint NOT NULL,
  `C17` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `C18` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_gst_rpt_summary`
--

/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 CREATE TABLE `view_gst_rpt_summary` (
  `companyID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `month` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL,
  `amtExTax` tinyint NOT NULL,
  `amtTax` tinyint NOT NULL,
  `amtIncTax` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_gst_tax`
--

/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
/*!50001 CREATE TABLE `view_gst_tax` (
  `lineNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `taxClass` tinyint NOT NULL,
  `taxClassName` tinyint NOT NULL,
  `taxGroup` tinyint NOT NULL,
  `taxGroupName` tinyint NOT NULL,
  `taxType` tinyint NOT NULL,
  `taxTypeName` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `ref` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `gst` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_inventory_statement`
--

/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
/*!50001 CREATE TABLE `view_inventory_statement` (
  `companyID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `supplierCustomer` tinyint NOT NULL,
  `transactionCode` tinyint NOT NULL,
  `transactionType` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `quantityIn` tinyint NOT NULL,
  `quantityOut` tinyint NOT NULL,
  `updateable` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_inventory_transaction`
--

/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;
/*!50001 CREATE TABLE `view_inventory_transaction` (
  `indexing` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `um` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `qtyIn` tinyint NOT NULL,
  `qtyOut` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_inventorylist_subtotal`
--

/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 CREATE TABLE `view_inventorylist_subtotal` (
  `companyid` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `category` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `stockValue` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_item_details`
--

/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
/*!50001 CREATE TABLE `view_item_details` (
  `companyid` tinyint NOT NULL,
  `itemid` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `locationid` tinyint NOT NULL,
  `onHandQty` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `location` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_item_quantityonhand`
--

/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
/*!50001 CREATE TABLE `view_item_quantityonhand` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_item_quantityonhand_confirm`
--

/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 CREATE TABLE `view_item_quantityonhand_confirm` (
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantityOnHand` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_journal_table`
--

/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
/*!50001 CREATE TABLE `view_journal_table` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `referenceNo` tinyint NOT NULL,
  `tableName` tinyint NOT NULL,
  `journalID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_open_ar_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
/*!50001 CREATE TABLE `view_open_ar_invoice` (
  `companyID` tinyint NOT NULL,
  `salesInvoiceDate` tinyint NOT NULL,
  `salesYear` tinyint NOT NULL,
  `salesMonth` tinyint NOT NULL,
  `slsMonth` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_salescreditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;
/*!50001 CREATE TABLE `view_salescreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_salesdebitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;
/*!50001 CREATE TABLE `view_salesdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `doID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_search`
--

/*!50001 DROP VIEW IF EXISTS `view_search`*/;
/*!50001 CREATE TABLE `view_search` (
  `ID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `searchLink` tinyint NOT NULL,
  `searchKey` tinyint NOT NULL,
  `transDate` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_cash_sales`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 CREATE TABLE `view_serial_comp_cash_sales` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_delivery_order`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 CREATE TABLE `view_serial_comp_delivery_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_gst_transaction`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 CREATE TABLE `view_serial_comp_gst_transaction` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_historical_customer_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 CREATE TABLE `view_serial_comp_historical_customer_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_historical_supplier_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 CREATE TABLE `view_serial_comp_historical_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_location_transfer`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 CREATE TABLE `view_serial_comp_location_transfer` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_payment`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;
/*!50001 CREATE TABLE `view_serial_comp_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_payment_others`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 CREATE TABLE `view_serial_comp_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_purchase_order`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 CREATE TABLE `view_serial_comp_purchase_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_quotation`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 CREATE TABLE `view_serial_comp_quotation` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_receive_item`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 CREATE TABLE `view_serial_comp_receive_item` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_receive_payment`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_receive_payment_others`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 CREATE TABLE `view_serial_comp_receive_payment_others` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_sales_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 CREATE TABLE `view_serial_comp_sales_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_sales_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 CREATE TABLE `view_serial_comp_sales_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_sales_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 CREATE TABLE `view_serial_comp_sales_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_sales_order`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 CREATE TABLE `view_serial_comp_sales_order` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_supplier_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 CREATE TABLE `view_serial_comp_supplier_creditnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_supplier_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 CREATE TABLE `view_serial_comp_supplier_debitnote` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_comp_supplier_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 CREATE TABLE `view_serial_comp_supplier_invoice` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_serial_zakat`
--

/*!50001 DROP VIEW IF EXISTS `view_serial_zakat`*/;
/*!50001 CREATE TABLE `view_serial_zakat` (
  `companyID` tinyint NOT NULL,
  `nextSerialNo` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_supplier_aging`
--

/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;
/*!50001 CREATE TABLE `view_supplier_aging` (
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `current` tinyint NOT NULL,
  `month1` tinyint NOT NULL,
  `month2` tinyint NOT NULL,
  `month3` tinyint NOT NULL,
  `month4` tinyint NOT NULL,
  `month5` tinyint NOT NULL,
  `month6` tinyint NOT NULL,
  `month7` tinyint NOT NULL,
  `month8` tinyint NOT NULL,
  `month9` tinyint NOT NULL,
  `month10` tinyint NOT NULL,
  `month11` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_supplier_statement`
--

/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
/*!50001 CREATE TABLE `view_supplier_statement` (
  `ID` tinyint NOT NULL,
  `parent` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `transType` tinyint NOT NULL,
  `transDate` tinyint NOT NULL,
  `refNo` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `dr` tinyint NOT NULL,
  `cr` tinyint NOT NULL,
  `seq` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_suppliercreditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;
/*!50001 CREATE TABLE `view_suppliercreditnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `invoiceUm` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_supplierdebitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;
/*!50001 CREATE TABLE `view_supplierdebitnote` (
  `invoiceDetailID` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `receiveID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemname` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxID` tinyint NOT NULL,
  `taxRate` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `amountIncludedTax` tinyint NOT NULL,
  `accountID` tinyint NOT NULL,
  `createdBy` tinyint NOT NULL,
  `createdTS` tinyint NOT NULL,
  `updatedBy` tinyint NOT NULL,
  `updatedTS` tinyint NOT NULL,
  `unitOfMeasure` tinyint NOT NULL,
  `receiveDetailID` tinyint NOT NULL,
  `code` tinyint NOT NULL,
  `itemCode` tinyint NOT NULL,
  `name` tinyint NOT NULL,
  `description` tinyint NOT NULL,
  `exactQty` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_sales_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 CREATE TABLE `view_total_comp_sales_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_sales_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 CREATE TABLE `view_total_comp_sales_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_sales_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 CREATE TABLE `view_total_comp_sales_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_supplier_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 CREATE TABLE `view_total_comp_supplier_creditnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_supplier_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 CREATE TABLE `view_total_comp_supplier_debitnote` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_total_comp_supplier_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 CREATE TABLE `view_total_comp_supplier_invoice` (
  `ID` tinyint NOT NULL,
  `totalTaxAmount` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_transaction_summary`
--

/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
/*!50001 CREATE TABLE `view_transaction_summary` (
  `tableName` tinyint NOT NULL,
  `transID` tinyint NOT NULL,
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `Jan` tinyint NOT NULL,
  `Feb` tinyint NOT NULL,
  `Mar` tinyint NOT NULL,
  `Apr` tinyint NOT NULL,
  `may` tinyint NOT NULL,
  `Jun` tinyint NOT NULL,
  `Jul` tinyint NOT NULL,
  `Aug` tinyint NOT NULL,
  `Sept` tinyint NOT NULL,
  `Oct` tinyint NOT NULL,
  `Nov` tinyint NOT NULL,
  `Dec` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ap_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 CREATE TABLE `view_unpost_ap_creditnote` (
  `supplier` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `supplierInvoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ap_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 CREATE TABLE `view_unpost_ap_debitnote` (
  `supplier` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ap_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 CREATE TABLE `view_unpost_ap_invoice` (
  `supplier` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ar_creditnote`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 CREATE TABLE `view_unpost_ar_creditnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `creditnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ar_debitnote`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 CREATE TABLE `view_unpost_ar_debitnote` (
  `customer` tinyint NOT NULL,
  `salesinvoiceID` tinyint NOT NULL,
  `debitnoteID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `salesInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ar_invoice`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 CREATE TABLE `view_unpost_ar_invoice` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_ar_payment`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 CREATE TABLE `view_unpost_ar_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `customerName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_cash_purchase`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 CREATE TABLE `view_unpost_cash_purchase` (
  `lineNo` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `ID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedTax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxAmount` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `itemTypeID` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_cash_sale`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 CREATE TABLE `view_unpost_cash_sale` (
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `currencyID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_do`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
/*!50001 CREATE TABLE `view_unpost_do` (
  `deliveryOrderID` tinyint NOT NULL,
  `customerID` tinyint NOT NULL,
  `projectID` tinyint NOT NULL,
  `customer` tinyint NOT NULL,
  `invoiceID` tinyint NOT NULL,
  `typeID` tinyint NOT NULL,
  `typeDetailID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `quantity` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL,
  `cogsAcctID` tinyint NOT NULL,
  `inventoriesAcctID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_gst_transaction`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 CREATE TABLE `view_unpost_gst_transaction` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_other_payment`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;
/*!50001 CREATE TABLE `view_unpost_other_payment` (
  `othersPaymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_other_receive`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
/*!50001 CREATE TABLE `view_unpost_other_receive` (
  `projectID` tinyint NOT NULL,
  `receiveFrom` tinyint NOT NULL,
  `otherReceiveID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemdescription` tinyint NOT NULL,
  `amountExcludedtax` tinyint NOT NULL,
  `taxid` tinyint NOT NULL,
  `taxamount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drTaxAccountID` tinyint NOT NULL,
  `crTaxAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_payment`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
/*!50001 CREATE TABLE `view_unpost_payment` (
  `paymentID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `purchaseInvoiceID` tinyint NOT NULL,
  `supplierName` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `paymentDetailID` tinyint NOT NULL,
  `supplierInvoiceNo` tinyint NOT NULL,
  `item` tinyint NOT NULL,
  `amtPaid_amtAppl` tinyint NOT NULL,
  `discount_bankCharges` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL,
  `drDiscountAccountID` tinyint NOT NULL,
  `crDiscountAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_unpost_receive_item`
--

/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
/*!50001 CREATE TABLE `view_unpost_receive_item` (
  `receiveID` tinyint NOT NULL,
  `companyID` tinyint NOT NULL,
  `locationID` tinyint NOT NULL,
  `transactionDate` tinyint NOT NULL,
  `supplierID` tinyint NOT NULL,
  `formNo` tinyint NOT NULL,
  `lineNo` tinyint NOT NULL,
  `itemID` tinyint NOT NULL,
  `itemName` tinyint NOT NULL,
  `exchangeRate` tinyint NOT NULL,
  `unitPrice` tinyint NOT NULL,
  `quantityReceived` tinyint NOT NULL,
  `umID` tinyint NOT NULL,
  `amount` tinyint NOT NULL,
  `drAccountID` tinyint NOT NULL,
  `crAccountID` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_wakaf_accrual`
--

/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
/*!50001 CREATE TABLE `view_wakaf_accrual` (
  `companyID` tinyint NOT NULL,
  `acctID` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `totalAmount` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Temporary table structure for view `view_wakaf_from_profit`
--

/*!50001 DROP VIEW IF EXISTS `view_wakaf_from_profit`*/;
/*!50001 CREATE TABLE `view_wakaf_from_profit` (
  `companyid` tinyint NOT NULL,
  `year` tinyint NOT NULL,
  `acctType` tinyint NOT NULL,
  `totalDr` tinyint NOT NULL,
  `totalCr` tinyint NOT NULL
) ENGINE=MyISAM */;

--
-- Table structure for table `wakaf`
--

CREATE TABLE `wakaf` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `waqifID` int(11) NOT NULL COMMENT 'link to mastercode',
  `wakafCenterID` int(11) NOT NULL,
  `allocation` tinyint(4) NOT NULL COMMENT '0=lumpsum,1=percentage',
  `periodYear` smallint(6) NOT NULL,
  `periodFrom` tinyint(4) NOT NULL,
  `periodTo` tinyint(4) NOT NULL,
  `amountAllocated` double NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `wakaf`
--

INSERT INTO `wakaf` VALUES (16,1,109,31,1,2014,1,12,100,16,'2014-07-23 03:10:23',0,'0000-00-00 00:00:00',0),(17,1,109,31,1,2014,1,12,100,16,'2014-07-23 03:12:30',0,'0000-00-00 00:00:00',0),(18,1,110,4,1,2014,1,12,10,16,'2014-07-23 03:16:34',0,'0000-00-00 00:00:00',0),(19,1,109,39,1,2014,1,12,402,16,'2014-07-23 04:25:08',0,'2014-07-23 07:45:52',0),(20,1,109,39,1,2014,1,12,248,16,'2014-07-23 09:00:23',16,'2014-07-23 09:19:01',0),(21,1,108,31,0,0,0,0,1000,16,'2014-07-24 01:24:32',0,'0000-00-00 00:00:00',0),(22,1,109,31,2,0,0,0,100,1,'2014-08-05 02:18:12',0,'0000-00-00 00:00:00',0),(23,1,109,39,2,0,0,0,500,1,'2014-08-05 02:27:59',0,'0000-00-00 00:00:00',0),(24,1,109,39,2,0,0,0,100,1,'2014-08-05 02:35:54',0,'0000-00-00 00:00:00',0),(25,1,108,31,0,0,0,0,1010,1,'2014-08-05 02:38:03',0,'0000-00-00 00:00:00',0),(26,1,109,31,2,0,0,0,2000,1,'2014-08-05 02:39:15',0,'0000-00-00 00:00:00',0),(27,1,108,39,0,2014,1,12,2000,16,'2014-08-08 02:47:56',0,'2014-08-11 03:00:46',0),(28,82,109,4,0,0,0,0,10000,16,'2014-08-08 04:48:06',0,'0000-00-00 00:00:00',0),(36,84,109,39,0,2014,1,1,12345,33,'2014-08-08 09:12:51',33,'2014-08-11 03:00:15',0),(37,1,108,33,1,2014,1,1,2500,33,'2014-08-11 03:16:45',0,'0000-00-00 00:00:00',0),(38,1,108,31,0,0,0,0,10000,16,'2014-08-11 05:14:40',0,'0000-00-00 00:00:00',0),(39,1,108,4,0,0,0,0,150000,16,'2014-09-08 07:40:04',0,'0000-00-00 00:00:00',0),(40,1,109,31,1,2014,1,12,0,16,'2014-09-08 07:44:25',0,'0000-00-00 00:00:00',0),(41,1,111,39,0,0,0,0,10000000,16,'2014-09-08 07:49:20',0,'0000-00-00 00:00:00',0),(42,15,116,39,0,0,0,0,5000,16,'2014-09-09 05:02:14',0,'0000-00-00 00:00:00',0),(43,1,116,39,0,0,0,0,1000000000,16,'2014-09-15 03:09:11',0,'0000-00-00 00:00:00',0),(44,107,110,39,0,0,0,0,10000,19,'2014-09-29 07:05:06',0,'0000-00-00 00:00:00',0),(45,93,108,4,3,0,0,0,0,16,'2014-10-09 10:26:19',16,'2014-10-10 02:25:17',0),(46,105,110,31,0,0,0,0,50000,51,'2014-10-17 04:30:52',51,'2014-10-17 04:31:57',0),(47,116,110,39,0,0,0,0,100000,19,'2014-12-15 05:08:27',0,'0000-00-00 00:00:00',0),(48,116,110,39,0,0,0,0,10000,19,'2014-12-17 01:03:03',0,'0000-00-00 00:00:00',0),(49,121,110,4,0,0,0,0,100000,19,'2015-01-08 03:57:55',0,'0000-00-00 00:00:00',0),(50,132,110,39,0,0,0,0,100000,19,'2015-01-22 05:34:50',0,'0000-00-00 00:00:00',0),(51,132,110,39,1,2015,1,12,1700,19,'2015-01-22 05:37:57',0,'0000-00-00 00:00:00',0),(52,124,110,39,1,2014,1,12,200,33,'2015-02-09 01:13:49',0,'0000-00-00 00:00:00',0),(53,116,110,39,0,0,0,0,100000,74,'2015-03-17 10:34:09',0,'0000-00-00 00:00:00',0),(54,136,110,39,0,0,0,0,100000,55,'2015-03-18 08:40:52',0,'0000-00-00 00:00:00',0),(55,136,111,39,0,0,0,0,10000,86,'2015-03-18 08:40:54',0,'0000-00-00 00:00:00',0),(56,136,110,39,0,0,0,0,1000,91,'2015-03-18 08:42:32',0,'0000-00-00 00:00:00',0),(57,116,110,32,0,0,0,0,2000,74,'2015-03-19 10:37:37',0,'0000-00-00 00:00:00',0),(58,116,110,35,0,0,0,0,30000,74,'2015-03-19 10:44:59',0,'0000-00-00 00:00:00',0),(59,116,110,39,0,0,0,0,1000,74,'2015-03-20 02:32:27',0,'0000-00-00 00:00:00',0),(60,116,110,39,0,0,0,0,2000,74,'2015-03-24 03:39:30',0,'0000-00-00 00:00:00',0),(61,136,110,33,0,0,0,0,100000,103,'2015-03-31 08:10:12',0,'0000-00-00 00:00:00',0),(62,121,110,35,0,0,0,0,100000,19,'2015-04-01 03:21:32',0,'0000-00-00 00:00:00',0),(63,116,0,33,0,0,0,0,0,79,'2015-04-13 04:15:57',79,'2015-04-13 04:17:08',0),(64,116,110,33,0,0,0,0,1000,79,'2015-04-13 04:20:22',79,'2015-04-13 04:22:42',0),(65,136,110,34,0,0,0,0,10000,80,'2015-06-03 08:18:31',0,'0000-00-00 00:00:00',0),(66,147,110,39,0,0,0,0,100000,19,'2015-06-23 07:19:03',0,'0000-00-00 00:00:00',0),(67,147,110,39,0,0,0,0,100000,19,'2015-07-29 04:22:13',0,'0000-00-00 00:00:00',0),(68,116,110,33,0,0,0,0,10000,79,'2015-07-29 07:25:27',0,'0000-00-00 00:00:00',0),(69,147,110,39,0,0,0,0,10000,19,'2015-08-11 03:57:20',0,'0000-00-00 00:00:00',0),(70,147,110,39,0,0,0,0,100000,19,'2015-08-19 09:49:20',0,'0000-00-00 00:00:00',0),(71,147,110,39,0,0,0,0,100000,19,'2015-09-03 08:04:55',0,'0000-00-00 00:00:00',0),(72,116,110,39,1,2014,1,12,0,79,'2015-10-02 03:28:06',79,'2015-10-08 04:28:36',0),(73,116,108,30,0,0,0,0,1000,79,'2015-10-08 03:47:18',0,'0000-00-00 00:00:00',0),(74,116,108,30,1,2015,1,5,3630.22,79,'2015-10-08 04:24:17',0,'0000-00-00 00:00:00',0),(75,116,108,31,0,0,0,0,5950,79,'2015-11-13 03:39:36',0,'0000-00-00 00:00:00',0),(76,116,110,30,0,0,0,0,1000,79,'2015-11-30 02:40:12',0,'0000-00-00 00:00:00',0),(77,147,110,39,0,0,0,0,10000,19,'2015-12-10 08:00:03',0,'0000-00-00 00:00:00',0),(78,165,110,33,0,0,0,0,1000,103,'2015-12-10 08:01:13',103,'2015-12-10 08:03:21',0),(79,158,110,39,0,0,0,0,1000,86,'2015-12-10 08:03:13',0,'0000-00-00 00:00:00',0),(80,157,110,39,0,0,0,0,10000,83,'2015-12-10 08:04:10',0,'0000-00-00 00:00:00',0),(81,163,110,33,0,0,0,0,10000,98,'2015-12-10 08:04:18',0,'0000-00-00 00:00:00',0),(82,163,109,34,0,0,0,0,10000,98,'2015-12-10 08:06:02',0,'0000-00-00 00:00:00',0),(83,124,110,39,0,0,0,0,12,1,'2016-01-14 07:14:51',0,'0000-00-00 00:00:00',0),(84,124,110,39,0,0,0,0,1222,1,'2016-01-14 07:51:41',0,'0000-00-00 00:00:00',0),(85,124,110,39,0,0,0,0,1,1,'2016-01-14 09:32:35',0,'0000-00-00 00:00:00',0),(86,124,110,39,0,0,0,0,100,1,'2016-01-15 04:04:23',0,'0000-00-00 00:00:00',0),(87,124,111,35,0,0,0,0,123,1,'2016-01-15 04:24:26',0,'0000-00-00 00:00:00',0),(88,147,110,30,0,0,0,0,10000,19,'2016-02-11 03:22:40',0,'0000-00-00 00:00:00',0);

--
-- Table structure for table `wakaf_acrual`
--

CREATE TABLE `wakaf_acrual` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL,
  `salesAccountID` int(11) NOT NULL,
  `from` date NOT NULL,
  `to` date NOT NULL,
  `wakafPercent` decimal(10,0) NOT NULL,
  `createdBy` int(11) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `wakaf_acrual`
--

INSERT INTO `wakaf_acrual` VALUES (1,1,28370,'2014-08-10','2014-08-13',12,1,'2014-08-04 00:56:34',93,'2014-10-02 07:37:05'),(3,1,101,'1970-01-01','1970-01-01',1,1,'2014-08-04 06:35:34',1,'2014-08-04 06:36:39'),(4,1,100,'2014-08-25','1970-01-01',5,1,'2014-08-04 06:44:55',1,'2014-08-11 03:13:41'),(5,1,102,'2014-08-28','2014-08-31',3,1,'2014-08-04 06:45:48',0,'0000-00-00 00:00:00'),(6,1,93,'2014-08-28','2014-08-31',6,1,'2014-08-04 06:46:07',0,'0000-00-00 00:00:00'),(7,1,53,'2014-08-01','2014-08-31',5,1,'2014-08-05 01:55:30',1,'2014-08-11 05:21:28'),(8,1,53,'2014-01-01','2014-12-01',20,1,'2014-08-05 07:22:04',0,'0000-00-00 00:00:00'),(9,1,53,'2014-01-01','2014-12-31',2,1,'2014-08-05 08:10:23',0,'0000-00-00 00:00:00'),(10,1,55,'2014-01-01','2014-12-31',3,1,'2014-08-05 08:10:23',0,'0000-00-00 00:00:00'),(11,1,54,'2014-08-01','2014-08-31',10,1,'2014-08-05 08:13:06',1,'2014-09-23 01:09:23'),(12,1,53,'2014-01-01','2014-12-01',20,1,'2014-08-05 08:42:44',0,'0000-00-00 00:00:00'),(13,93,29558,'2014-11-01','2014-11-01',1,16,'2014-11-07 02:19:22',93,'2014-11-07 02:22:24'),(14,132,32164,'2015-01-01','2015-01-31',10,19,'2015-01-22 05:40:59',0,'0000-00-00 00:00:00'),(18,133,32423,'2015-01-01','2015-02-28',10,33,'2015-02-09 03:50:55',0,'0000-00-00 00:00:00'),(19,124,31317,'2014-12-01','2014-12-31',20,33,'2015-02-09 03:52:40',0,'0000-00-00 00:00:00'),(21,116,30335,'2015-03-01','2015-03-31',10,74,'2015-03-19 10:22:32',116,'2015-04-10 02:40:07'),(22,116,30329,'2015-03-01','2015-03-31',5,74,'2015-03-20 02:17:49',116,'2015-04-10 02:40:14'),(23,116,30330,'2015-03-24','2015-03-08',10,74,'2015-03-24 03:28:37',0,'0000-00-00 00:00:00'),(24,116,30330,'2015-03-24','2015-03-01',10,74,'2015-03-24 03:31:50',0,'0000-00-00 00:00:00'),(25,116,30330,'2015-03-24','2015-03-24',10,74,'2015-03-24 03:33:50',0,'0000-00-00 00:00:00'),(26,116,30330,'2015-03-24','2015-03-23',10,74,'2015-03-24 03:35:35',0,'0000-00-00 00:00:00'),(27,116,30330,'2015-04-10','2015-04-11',15,79,'2015-04-10 02:43:05',0,'0000-00-00 00:00:00'),(28,124,31372,'2018-06-01','2018-06-01',35,1,'2015-06-22 03:18:04',0,'0000-00-00 00:00:00');

--
-- Table structure for table `wakaf_beneficiaries`
--

CREATE TABLE `wakaf_beneficiaries` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `wakaf_beneficiaries`
--

INSERT INTO `wakaf_beneficiaries` VALUES (1,'School','School/Madrasa','2014-07-09 01:04:49',1,0,'2014-07-09 01:04:49'),(2,'Mosque','Masjid/Surau','2014-07-09 01:05:27',1,0,'2014-07-09 01:05:27'),(3,'Hospital','Hospital','2014-07-09 01:05:43',1,0,'2014-07-09 01:05:43'),(4,'Orphanage','Orphanage','2014-07-09 01:05:51',0,0,'2014-07-09 01:05:51'),(5,'Quran','Quran/Books','2014-07-09 01:06:12',0,0,'2014-07-09 01:06:12'),(6,'Others','Others (please specify)','2014-07-09 01:06:27',0,0,'2014-07-09 01:06:27');

--
-- Table structure for table `wakaf_center`
--

CREATE TABLE `wakaf_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ,
  `is_delete` smallint(16) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `wakaf_center`
--

INSERT INTO `wakaf_center` VALUES (1,'MAIPS','Baitulmal Unit Wakaf, Majlis Agama Islam dan Adat Istiadat Melayu Perlis','A2,','Taman Pengkalan Asam,','Jalan Kangar- Alor Setar','Kangar','01000',1928,458,'','','','','2014-07-09 00:36:51',0,0,'2014-07-09 00:36:51',0),(2,'MAIKS','Bahagian Wakaf, Majlis Agama Islam Negeri Kedah','','Bangunan Wan Mat Saman','','Alor Setar','05000',1923,458,'','','','','2014-07-09 00:40:15',0,0,'2014-07-09 00:40:15',0),(3,'MAINPP','Bahagian Wakaf, Majlis Agama Islam Pulau Pinang','Tingkat 8 & 9','Menara UMNO,','128 Jalan Macalister','','10400',1929,458,'','','','','2014-07-09 00:42:02',0,0,'2014-07-09 00:42:02',0),(4,'MAIAMP','Majlis Agama Islam dan Adat Melayu Perak','Tingkat 1','Kompleks Islam Darul Ridzuan,','Jalan Panglima BUkit Gantang Wahab','Ipoh','30000',0,458,'034567894','','','','2014-07-09 00:43:46',0,1,'2014-07-09 00:43:46',0),(30,'MAIWP','Bahagian Baitulmal Majlis Agama Islam Wilayah Persekutuan ','Bangunan Daruzzakah Lorong Haji Hussein 2 ','','',' KUALA LUMPUR','50676',1933,458,'603-2617 5222','603-2617 5252','baitulmal@maiwp.gov.my','http://www.maiwp.gov.my/','2014-07-17 02:23:07',0,16,'2014-07-17 02:23:07',0),(31,'MAIS(PWS)','Perbadanan Wakaf Selangor Majlis Agama Islam Selangor','Tingkat 10 Menara Selatan,',' Bangunan Sultan Idris Shah','','Shah Alam',' 40000 ',1931,458,'603-5514 3758 / 3759','603-5514 3759','wakaf@wakafselangor.gov.my','www.wakafselangor.gov.my','2014-07-17 02:28:23',0,16,'2014-09-08 09:14:37',0),(32,'MAIM','Majlis Agama Islam Melaka','Pusat Islam Melaka ','Bukit Palah','','Melaka','75400 ',1924,458,'606-283 7416, 283 2077, 284 9809','606-282 6033','admin@maim.gov.my','www.maim.gov.my','2014-07-17 02:34:11',0,16,'2014-07-17 02:34:11',0),(33,'MAIJ','Pejabat Wakaf Majlis Agama Islam Negeri Johor','Jalan Abdul Rahman Andak','','','Johor Bahru','80100',1921,458,'607-2221655','607-2221677','wakaf@maij.gov.my','www.maij.gov.my','2014-07-17 02:44:43',0,16,'2014-07-17 02:44:43',0),(34,'MAIK','Majlis Agama Islam Dan Adat Istiadat Melayu Kelantan','Kompleks Balai Islam  Lundang','','','Kota Bharu','15200',1923,458,'609-7481512 ','609-7485512','maik@e-maik.my','www.e-maik.my','2014-07-17 02:46:37',0,16,'2014-07-17 02:46:37',0),(35,'MAIDAM','Majlis Agama Islam dan Adat Melayu Terengganu','Pusat Pentadbiran Islam Negeri','Kompleks Seri Iman','Jalan Sultan Mohamad','Kuala Terengganu','20676 ',1932,458,'609-6303030 / 6252525','609-6248134 / 6235185',' info@maidam.gov.my','www.maidam.gov.my','2014-07-17 03:00:34',0,16,'2014-07-17 03:00:34',0),(36,'MUIP','Majlis Ugama Islam Dan Adat Resam Melayu Pahang','Kompleks Islam Sultan Haji Ahmad Shah',' Jalan Istana Permai','',' Pekan','26600',1926,458,'609-4221311','609-4221885','info@muip.gov.my','www.muip.gov.my','2014-07-17 03:04:39',0,16,'2014-07-17 03:04:39',0),(37,'TBS','Tabung Baitulmal Majlis Islam Sarawak','Tabung Baitulmal Sarawak Bangunan Baitulmal',' Lot 71, Seksyen 8, KTLD',' Jalan Haji Muhamad Kassim','Kuching','93400 ',1930,458,' 6082-415563',' 6082-253786','','www.tbs.org.my','2014-07-17 03:10:33',0,16,'2014-07-17 03:10:33',0),(38,'MUIS','Pusat Zakat Sabah Majlis Ugama Islam Sabah','Tingkat 1, Blok A & B','Wisma MUIS','Peti Surat 11666','Kota Kibabalu','88818',1935,458,'6088-240 160','6088-260 246','','www.zakat@sabah.gov.my','2014-07-17 03:31:14',0,16,'2014-07-17 03:31:14',0),(39,'JWM','Yayasan Waqaf Malaysia','No. 13, Jalan Diplomatik 2/2','Presint Diplomatik Putrajaya','',' Putrajaya',' 62050',0,458,'603-8890 4071 / 72 / 73','603-8890 1010 / 2091',' info@ywm.gov.my','www.ywm.gov.my','2014-07-17 03:35:37',0,29,'2015-02-05 07:28:24',0),(40,'MAIJ','e-wakaf Johor Majlis Agama Islam Negeri Johor','PEJABAT BAHAGIAN WAKAF, ','Jalan Abdul Rahman Andak, ','Johor Bahru','Johor Bahru','80100 ',1921,458,'07 222 1655 ','07 222 1677','admin@e-wakafjohor.gov.my','http://www.e-wakafjohor.gov.my/','2015-04-10 01:30:48',0,79,'0000-00-00 00:00:00',0);

--
-- Table structure for table `wakaf_details_allocation`
--

CREATE TABLE `wakaf_details_allocation` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `accountID` int(11) NOT NULL,
  `saleAmount` double NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `wakaf_details_allocation`
--

INSERT INTO `wakaf_details_allocation` VALUES (16,'17',101,200,20,40,'2014-07-23 03:12:30',16,0,'2014-07-23 03:12:30'),(17,'17',1,1000000,0.006,60,'2014-07-23 03:12:30',16,0,'2014-07-23 03:12:30'),(19,'18',101,200,2,4,'2014-07-23 03:16:34',16,0,'2014-07-23 03:16:34'),(20,'18',1,1000000,1,10000,'2014-07-23 03:16:34',16,0,'2014-07-23 03:16:34'),(21,'18',0,0,0,0,'2014-07-23 03:16:34',16,0,'2014-07-23 03:16:34'),(23,'19',1,1000000,0.01,100,'2014-07-23 04:25:08',16,0,'2014-07-23 04:25:08'),(24,'0',101,200,12,24,'2014-07-23 06:02:00',16,0,'2014-07-23 06:02:00'),(25,'0',101,200,1,2,'2014-07-23 06:02:58',16,0,'2014-07-23 06:02:58'),(26,'0',101,200,12,24,'2014-07-23 06:08:53',16,0,'2014-07-23 06:08:53'),(32,'19',101,200,50,100,'2014-07-23 07:45:52',16,0,'2014-07-23 07:45:52'),(38,'20',101,200,112,224,'2014-07-23 09:19:01',16,0,'2014-07-23 09:19:01'),(41,'37',1217,100000,2.5,2500,'2014-08-11 03:16:45',33,0,'2014-08-11 03:16:45'),(42,'51',32164,17000,10,1700,'2015-01-22 05:37:57',19,0,'2015-01-22 05:37:57'),(43,'52',31371,2000,10,200,'2015-02-09 01:13:49',33,0,'2015-02-09 01:13:49');

--
-- Table structure for table `wakaf_details_distribution`
--

CREATE TABLE `wakaf_details_distribution` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `wakafID` varchar(64) NOT NULL DEFAULT '0',
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `contributionPercentage` double NOT NULL,
  `amount` double NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `wakaf_details_distribution`
--

INSERT INTO `wakaf_details_distribution` VALUES (59,'16',4,'fg d gh dgh dgh',20,20,'2014-07-23 03:10:23',16,0,'2014-07-23 03:10:23'),(60,'16',3,'errrrrrrr',70,70,'2014-07-23 03:10:23',16,0,'2014-07-23 03:10:23'),(61,'16',6,'re sf sdf',10,10,'2014-07-23 03:10:23',16,0,'2014-07-23 03:10:23'),(62,'17',4,'fg d gh dgh dgh',20,20,'2014-07-23 03:12:30',16,0,'2014-07-23 03:12:30'),(63,'17',3,'errrrrrrr',70,70,'2014-07-23 03:12:30',16,0,'2014-07-23 03:12:30'),(64,'17',6,'re sf sdf',10,10,'2014-07-23 03:12:30',16,0,'2014-07-23 03:12:30'),(65,'18',4,'ererc ewwwwww',12,1200.48,'2014-07-23 03:16:34',16,0,'2014-07-23 03:16:34'),(66,'18',3,'wsdcwerv vs',88,8803.52,'2014-07-23 03:16:34',16,0,'2014-07-23 03:16:34'),(68,'0',1,'qw',100,0,'2014-07-23 03:23:34',16,0,'2014-07-23 03:23:34'),(69,'19',3,'ghfr',12,48.24,'2014-07-23 04:25:08',16,0,'2014-07-23 04:25:08'),(70,'19',2,'rere',34,136.68,'2014-07-23 04:25:08',16,0,'2014-07-23 04:25:08'),(71,'19',5,'ereer',54,217.08,'2014-07-23 04:25:08',16,0,'2014-07-23 04:25:08'),(72,'20',3,'dsds',1,2.48,'2014-07-23 09:00:23',16,0,'2014-07-23 09:00:23'),(73,'20',4,'ewqe',99,245.52,'2014-07-23 09:00:23',16,0,'2014-07-23 09:00:23'),(75,'21',5,'sds',22,220,'2014-07-24 01:24:32',16,0,'2014-07-24 01:24:32'),(76,'21',4,'wew',59,590,'2014-07-24 01:24:32',16,0,'2014-07-24 01:24:32'),(77,'21',2,'sds',19,190,'2014-07-24 01:27:09',16,0,'2014-07-24 01:27:09'),(78,'22',4,'ghgf',12,12,'2014-08-05 02:18:12',1,0,'2014-08-05 02:18:12'),(79,'22',5,'dfsf sf',88,88,'2014-08-05 02:18:12',1,0,'2014-08-05 02:18:12'),(80,'23',4,'gj',40,200,'2014-08-05 02:27:59',1,0,'2014-08-05 02:27:59'),(81,'23',3,'u0u',60,300,'2014-08-05 02:27:59',1,0,'2014-08-05 02:27:59'),(82,'24',4,'mjplgkf',100,100,'2014-08-05 02:35:54',1,0,'2014-08-05 02:35:54'),(83,'25',4,'jph',100,1010,'2014-08-05 02:38:03',1,0,'2014-08-05 02:38:03'),(84,'26',4,'khvm',100,2000,'2014-08-05 02:39:15',1,0,'2014-08-05 02:39:15'),(85,'28',1,'hghj',50,5000,'2014-08-08 04:48:06',16,0,'2014-08-08 04:48:06'),(86,'28',5,'',50,5000,'2014-08-08 04:48:06',16,0,'2014-08-08 04:48:06'),(89,'27',6,'General',0,0,'2014-08-08 09:30:03',16,0,'2014-08-08 09:30:03'),(90,'36',2,'sfasfdasdf',50,6172.5,'2014-08-08 09:35:07',33,0,'2014-08-08 09:35:07'),(91,'36',1,'afdfasdfasfd',50,6172.5,'2014-08-08 09:35:17',33,0,'2014-08-08 09:35:17'),(92,'37',1,'asdfasdfasdf',100,2500,'2014-08-11 03:16:45',33,0,'2014-08-11 03:16:45'),(93,'38',2,'masjid taman samudera',100,10000,'2014-08-11 05:14:40',16,0,'2014-08-11 05:14:40'),(94,'41',1,'IIS',40,4000000,'2014-09-08 07:49:20',16,0,'2014-09-08 07:49:20'),(95,'41',1,'IIC',10,1000000,'2014-09-08 07:49:20',16,0,'2014-09-08 07:49:20'),(96,'41',3,'Tawakal',30,3000000,'2014-09-08 07:49:20',16,0,'2014-09-08 07:49:20'),(97,'41',4,'Ana Yatim',20,2000000,'2014-09-08 07:49:20',16,0,'2014-09-08 07:49:20'),(98,'42',2,'surau melewar',20,1000,'2014-09-09 05:02:14',16,0,'2014-09-09 05:02:14'),(99,'42',5,'surau melewar',80,4000,'2014-09-09 05:02:14',16,0,'2014-09-09 05:02:14'),(100,'44',1,'',10,1000,'2014-09-29 07:05:06',19,0,'2014-09-29 07:05:06'),(101,'44',3,'',40,4000,'2014-09-29 07:05:06',19,0,'2014-09-29 07:05:06'),(102,'44',5,'',50,5000,'2014-09-29 07:05:06',19,0,'2014-09-29 07:05:06'),(103,'45',1,'sds',22,0,'2014-10-09 10:26:19',16,0,'2014-10-09 10:26:19'),(104,'45',1,'fsdsa',78,0,'2014-10-09 10:26:19',16,0,'2014-10-09 10:26:19'),(105,'0',0,'',0,0,'2014-10-10 00:34:48',16,0,'2014-10-10 00:34:48'),(108,'46',5,'Surau Ar Rahman',50,25000,'2014-10-17 04:30:52',51,0,'2014-10-17 04:30:52'),(109,'48',1,'Sekolah Tahfiz',20,2000,'2014-12-17 01:03:03',19,0,'2014-12-17 01:03:03'),(110,'48',2,'Surau Taufiq',30,3000,'2014-12-17 01:03:03',19,0,'2014-12-17 01:03:03'),(111,'48',3,'Hospital Seremban',20,2000,'2014-12-17 01:03:03',19,0,'2014-12-17 01:03:03'),(112,'48',5,'Books',10,1000,'2014-12-17 01:03:03',19,0,'2014-12-17 01:03:03'),(113,'48',4,'',20,2000,'2014-12-17 01:03:03',19,0,'2014-12-17 01:03:03'),(114,'49',3,'gf',20,20000,'2015-01-08 03:57:55',19,0,'2015-01-08 03:57:55'),(115,'49',4,'fgf',80,80000,'2015-01-08 03:57:55',19,0,'2015-01-08 03:57:55'),(116,'50',1,'SMKGS',20,20000,'2015-01-22 05:34:50',19,0,'2015-01-22 05:34:50'),(117,'50',2,'Sri Gombak',80,80000,'2015-01-22 05:34:50',19,0,'2015-01-22 05:34:50'),(118,'51',2,'',100,1700,'2015-01-22 05:37:57',19,0,'2015-01-22 05:37:57'),(119,'52',1,'afasdf',50,100,'2015-02-09 01:13:49',33,0,'2015-02-09 01:13:49'),(120,'52',3,'sadfasdf',50,100,'2015-02-09 01:13:49',33,0,'2015-02-09 01:13:49'),(121,'53',2,'Construction',60,60000,'2015-03-17 10:34:09',74,0,'2015-03-17 10:34:09'),(122,'53',4,'Sadakah',20,20000,'2015-03-17 10:34:09',74,0,'2015-03-17 10:34:09'),(123,'53',5,'School',20,20000,'2015-03-17 10:34:09',74,0,'2015-03-17 10:34:09'),(124,'54',1,'',20,20000,'2015-03-18 08:40:53',55,0,'2015-03-18 08:40:53'),(125,'54',2,'',40,40000,'2015-03-18 08:40:53',55,0,'2015-03-18 08:40:53'),(126,'54',5,'',40,40000,'2015-03-18 08:40:53',55,0,'2015-03-18 08:40:53'),(127,'55',1,'',20,2000,'2015-03-18 08:40:55',86,0,'2015-03-18 08:40:55'),(128,'55',6,'',40,4000,'2015-03-18 08:40:55',86,0,'2015-03-18 08:40:55'),(129,'55',5,'',40,4000,'2015-03-18 08:40:55',86,0,'2015-03-18 08:40:55'),(130,'56',1,'',20,200,'2015-03-18 08:42:32',91,0,'2015-03-18 08:42:32'),(131,'56',2,'',80,800,'2015-03-18 08:42:32',91,0,'2015-03-18 08:42:32'),(132,'59',2,'Surau An Nur Gombak',10,100,'2015-03-20 02:32:27',74,0,'2015-03-20 02:32:27'),(133,'60',2,'surau an nur',10,200,'2015-03-24 03:39:30',74,0,'2015-03-24 03:39:30'),(134,'61',1,'',20,20000,'2015-03-31 08:10:12',103,0,'2015-03-31 08:10:12'),(135,'61',2,'',40,40000,'2015-03-31 08:10:12',103,0,'2015-03-31 08:10:12'),(136,'61',3,'',40,40000,'2015-03-31 08:10:12',103,0,'2015-03-31 08:10:12'),(137,'62',1,'',100,100000,'2015-04-01 03:21:32',19,0,'2015-04-01 03:21:32'),(140,'64',1,'SMA Al Azim',50,500,'2015-04-13 04:20:22',79,0,'2015-04-13 04:20:22'),(141,'65',1,'',10,1000,'2015-06-03 08:18:31',80,0,'2015-06-03 08:18:31'),(142,'65',2,'',40,4000,'2015-06-03 08:18:31',80,0,'2015-06-03 08:18:31'),(143,'65',5,'',50,5000,'2015-06-03 08:18:31',80,0,'2015-06-03 08:18:31'),(144,'66',1,'SMKGS',20,20000,'2015-06-23 07:19:03',19,0,'2015-06-23 07:19:03'),(145,'66',3,'selayang',30,30000,'2015-06-23 07:19:03',19,0,'2015-06-23 07:19:03'),(146,'66',4,'Gombak',30,30000,'2015-06-23 07:19:03',19,0,'2015-06-23 07:19:03'),(147,'66',5,'',20,20000,'2015-06-23 07:19:03',19,0,'2015-06-23 07:19:03'),(148,'67',1,'SKMGS',20,0,'2015-07-29 04:22:13',19,0,'2015-07-29 04:22:13'),(149,'67',3,'Banting',40,40000,'2015-07-29 04:22:13',19,0,'2015-07-29 04:22:13'),(150,'67',5,'',40,40000,'2015-07-29 04:22:13',19,0,'2015-07-29 04:22:13'),(151,'69',1,'gfdg',20,2000,'2015-08-11 03:57:20',19,0,'2015-08-11 03:57:20'),(152,'69',2,'',80,8000,'2015-08-11 03:57:20',19,0,'2015-08-11 03:57:20'),(153,'70',1,'',20,20000,'2015-08-19 09:49:20',19,0,'2015-08-19 09:49:20'),(154,'70',3,'',80,80000,'2015-08-19 09:49:20',19,0,'2015-08-19 09:49:20'),(155,'71',1,'smkgs',20,20000,'2015-09-03 08:04:55',19,0,'2015-09-03 08:04:55'),(156,'71',2,'',80,80000,'2015-09-03 08:04:55',19,0,'2015-09-03 08:04:55'),(157,'73',0,'',0,0,'2015-10-08 03:47:18',79,0,'2015-10-08 03:47:18'),(158,'75',2,'',35,2082.5,'2015-11-13 03:39:36',79,0,'2015-11-13 03:39:36'),(159,'75',4,'',16,952,'2015-11-13 03:39:36',79,0,'2015-11-13 03:39:36'),(160,'75',6,'For homeless',49,2915.5,'2015-11-13 03:39:36',79,0,'2015-11-13 03:39:36'),(161,'76',3,'HKL',50,500,'2015-11-30 02:40:12',79,0,'2015-11-30 02:40:12'),(162,'76',2,'MASJID KL',50,500,'2015-11-30 02:40:12',79,0,'2015-11-30 02:40:12'),(163,'77',1,'fdsf',50,5000,'2015-12-10 08:00:03',19,0,'2015-12-10 08:00:03'),(164,'77',3,'dgfd',50,5000,'2015-12-10 08:00:03',19,0,'2015-12-10 08:00:03'),(166,'79',1,'QWERTY',100,1000,'2015-12-10 08:03:13',86,0,'2015-12-10 08:03:13'),(167,'78',4,'Rumah Anak-anak Yatim',100,1000,'2015-12-10 08:03:14',103,0,'2015-12-10 08:03:14'),(168,'80',1,'dsbds',50,5000,'2015-12-10 08:04:10',83,0,'2015-12-10 08:04:10'),(169,'80',3,'giiv',50,5000,'2015-12-10 08:04:10',83,0,'2015-12-10 08:04:10'),(170,'81',0,'',0,0,'2015-12-10 08:04:18',98,0,'2015-12-10 08:04:18'),(171,'82',5,'Derma',1,100,'2015-12-10 08:06:02',98,0,'2015-12-10 08:06:02'),(172,'84',1,'fad',12,146.64,'2016-01-14 07:51:41',1,0,'2016-01-14 07:51:41'),(173,'84',4,'fad2',13,158.86,'2016-01-14 07:51:41',1,0,'2016-01-14 07:51:41'),(174,'84',0,'',0,0,'2016-01-14 07:51:41',1,0,'2016-01-14 07:51:41'),(175,'84',3,'fad3',14,171.08,'2016-01-14 08:12:30',1,0,'2016-01-14 08:12:30'),(176,'87',2,'fad',12,14.76,'2016-01-15 04:24:26',1,0,'2016-01-15 04:24:26'),(177,'88',1,'',10,1000,'2016-02-11 03:22:40',19,0,'2016-02-11 03:22:40'),(178,'88',3,'dfsdf',90,9000,'2016-02-11 03:22:40',19,0,'2016-02-11 03:22:40');

--
-- Table structure for table `wakaf_master`
--

CREATE TABLE `wakaf_master` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `waqif` varchar(64) NOT NULL DEFAULT '0',
  `category` varchar(24) NOT NULL,
  `allocationID` int(11) NOT NULL,
  `beneficiariesID` int(11) NOT NULL,
  `description` varchar(128) NOT NULL,
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `wakaf_master`
--

INSERT INTO `wakaf_master` VALUES (4,1,'Founder','specific',0,0,'','2014-07-16 04:34:56',16,0,'2014-07-16 04:34:56'),(8,1,'Owner','specific',0,0,'','2014-07-16 05:19:10',16,0,'2014-07-16 05:19:10'),(10,1,'Other','specific',0,0,'','2014-07-16 05:24:21',16,0,'2014-07-16 05:24:21'),(13,1,'Director','specific',0,0,'','2014-07-16 05:50:10',1,0,'2014-07-16 05:50:10');

--
-- Table structure for table `zakat_center`
--

CREATE TABLE `zakat_center` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `shortName` varchar(12) NOT NULL DEFAULT '0',
  `name` varchar(128) NOT NULL,
  `line1` varchar(128) NOT NULL,
  `line2` varchar(128) NOT NULL,
  `line3` varchar(128) NOT NULL,
  `city` varchar(64) NOT NULL,
  `postCode` varchar(8) NOT NULL,
  `stateID` int(11) NOT NULL,
  `countryID` int(11) NOT NULL,
  `noTel` varchar(50) NOT NULL,
  `noFax` varchar(50) NOT NULL,
  `email` varchar(128) NOT NULL,
  `website` varchar(128) NOT NULL,
  `is_delete` tinyint(4) NOT NULL DEFAULT '0',
  `createdTS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `createdBy` int(11) NOT NULL,
  `updatedBy` int(11) NOT NULL,
  `updatedTS` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_center`
--

INSERT INTO `zakat_center` VALUES (1,'LZS','Lembaga Zakat Selangor','3-01-1, Presint ALAMi,','Pusat Perniagaan Worldwide 2, ','Persiaran Akuatik, Seksyen 13, ','Shah Alam','40100',1931,458,'03-5522 7700','03-5522 7722','','http://www.e-zakat.com.my',0,'2014-06-25 01:40:07',1,74,'2015-03-19 10:15:55'),(2,'PPZ','Pusat Pungutan Zakat, Majlis Agama Islam Wilayah Persekutuan','xx','','','Kuala Lumpur','12345678',1933,458,'+603.9289.5757','+603.9289.5758','info@zakat.com.my','http://www.zakat.com.my/',0,'2014-06-25 01:43:12',1,0,'2014-06-25 01:43:12'),(3,'1','1','1','11','1','1','1',1925,458,'1','1','1','1',1,'2014-07-16 05:04:24',1,0,'2014-10-02 07:12:50'),(6,'177','fanatest','555, JALAN SAMUDRA UTARA 1','TAMAN SAMUDRA','','WILAYAH PERSEKUTUAN','53100',1933,458,'603 67898766','603 67898766','bee@gmail.com','www.bee.com.my',1,'2014-07-17 00:16:28',1,0,'2014-08-26 02:09:52'),(7,'MAIPS','Majlis Agama Islam & Adat Istiadat Melayu Perlis','A2, Taman Pengkalan Asam','Jalan Kangar- Alor Setar','','Kangar','01000',1928,458,'04-9794439','04-9782400','','http://www.maips.gov.my',0,'2014-08-26 02:47:04',1,1,'2015-03-20 02:15:32'),(8,'JZNK','Jabatan Zakat Negeri Kedah','Jabatan Zakat Negeri Kedah Darulaman Aras 3',' Menara Zakat','Jalan Teluk Wanjah','Alor Setar','05000',1922,458,'04-733 1740','','','',0,'2014-08-26 03:39:56',1,0,'0000-00-00 00:00:00'),(9,'MAIK','Majlis Agama Islam Dan Adat Istiadat Melayu Kelantan','Kompleks Balai Islam Lundang','','','Kota Bharu','15200',1923,458,'09 7481512','09 7485512','maik@e-maik.my','http://www.e-maik.my',0,'2014-08-26 03:43:30',1,1,'2015-03-20 02:10:32'),(10,'PZM','Pusat Zakat Melaka','No. 1 & 3,Jalan KPAA 1',' Kompleks Perniagaan Al-Azim ','','Bukit Baru','75150',1924,458,'1-300-88-0233','06-2818154','',' http://www.izakat.com',0,'2014-08-26 04:05:36',1,1,'2015-03-20 02:16:20'),(11,'MAINS','Pusat Zakat Negeri Sembilan','No. 25, Betaria Business Centre','Jalan Durian Emas 4','Off Jalan Dato\' Siamang Gagap','Seremban','70100 ',1925,458,'06-765 1402 ','06-765 1407','info@zakatns.com.my','http://www.zakatns.com.my',0,'2014-08-26 04:41:13',1,1,'2015-03-20 02:10:57'),(12,'MAIPk',' MAJLIS AGAMA ISLAM DAN ADAT MELAYU PERAK','Tingkat 1, Kompleks Islam Darul Ridzuan','Jalan Panglima BUkit Gantang Wahab','','Ipoh','30000',1927,458,'05-208 400',' 05-241 4257','korporat@maiamp.gov.my','http://www.maiamp.gov.my',0,'2014-08-26 07:23:55',1,1,'2015-03-20 02:15:16'),(13,'MUIP','Majlis Ugama Islam Dan Adat Resam Melayu Pahang','No.111A, Tingkat 1 ','Bangunan MUIP','Jalan Mahkota','Kuantan','25000 ',1926,458,'09-5131515',' 09-5152541','info@muip.gov.my','http://www.zakatpahang.my/v2',0,'2014-08-26 07:33:18',1,1,'2015-03-20 02:15:47'),(14,'ZPP','Zakat Pulau Pinang','No.4 Jalan Perda Selatan','Bandar Perda','','Bukit Mertajam','14000 ',1929,458,'04-549 8088','04 530 6466','admin@zakatpenang.com','http://www.zakatpenang.com',0,'2014-08-26 07:36:44',1,1,'2015-03-20 02:17:20'),(15,'MAIDAM','Majlis Agama Islam dan Adat Melayu Terengganu','Pusat Pentadbiran Islam Negeri','Kompleks Seri Iman',' Jalan Sultan Mohamad',' Kuala Terengganu','20676 ',1932,458,'09-6303030 / 09-6252525','09-6248134 / 09-6235185','info@maidam.gov.my','http://www.maidam.gov.my',0,'2014-08-26 07:40:07',1,1,'2015-03-20 02:09:16'),(16,'MUIS','Pusat Zakat Sabah','Tingkat 1, Blok A & B','Wisma MUIS','Peti Surat 11666','Kota Kinabalu','88818 ',1935,458,'088-240 160','088-260 246','www.zakat@sabah.gov.my','http://www.zakat.sabah.gov.my',0,'2014-08-26 07:43:41',1,1,'2015-03-20 02:16:02'),(17,'TBS','Tabung Baitulmal Sarawak','Bangunan Baitulmal','Lot 71, Seksyen 8, KTLD','Jalan Haji Muhamad Kassim','Kuching','93400 ',1930,458,'082-415563','082-253786','admin@tbs.org.my','http://www.tbs.org.my',0,'2014-08-26 07:53:44',1,1,'2015-03-20 02:16:59'),(18,'MAIJ','Majlis Agama Islam Negeri Johor','Aras 5, Blok ‘B’, Pusat Islam Iskandar Johor',' Jalan Masjid Abu Bakar','Karung Berkunci 725',' Johor Bahru','80990',1921,458,'07-2282929 / 07-2282937','07-2238752 / 07-2275173','zakat@maij.gov.my','http://www.maij.gov.my',1,'2014-08-26 07:59:25',1,1,'2015-04-10 02:30:07'),(19,'sdsd','sdsds','sdsdsf','sdss','sds','sds','sds',1923,458,'','','','',1,'2014-12-09 08:33:40',58,0,'2015-01-26 08:53:15'),(20,'12','asw','121','','','as21','121',0,446,'1','','','',1,'2014-12-09 08:49:19',58,58,'2014-12-10 01:02:16'),(21,'efgrverc','sfdgbf ','dfss cx','','','dfd','dfd',0,438,'','','','',1,'2014-12-09 09:10:29',58,0,'2014-12-10 01:07:22'),(22,'111','1111111111111','111','11','','111','111',0,458,'','','','',1,'2014-12-09 09:23:42',58,0,'2014-12-10 01:04:55'),(23,'MAIJ','Majlis Agama Islam Negeri Johor','Aras 5, Blok ‘B’, Pusat Islam Iskandar Johor,',' Jalan Masjid Abu Bakar, Karung Berkunci 725, ','Johor Bahru, Johor Darul Takzim.','Johor Bahru','80990',1921,458,'07-2282929','07-2238752','zakat@maij.gov.my','http://www.maij.gov.my/',1,'2015-04-10 02:24:45',79,0,'2015-04-10 02:25:53'),(24,'MAIJ','Majlis Agama Islam Negeri Johor','Aras 5, Blok ‘B’, Pusat Islam Iskandar Johor, ','Jalan Masjid Abu Bakar,',' Karung Berkunci 725','Johor Bahru','80990',1921,458,'07-2282929 / 07-2282937','07-2238752 / 07-2275173','zakat@maij.gov.my','http://www.maij.gov.my/',0,'2015-04-10 02:36:49',79,0,'0000-00-00 00:00:00');

--
-- Table structure for table `zakat_details`
--

CREATE TABLE `zakat_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `zakatSummaryID` int(11) NOT NULL,
  `compAcctDetailID` int(11) NOT NULL,
  `acctGroup` varchar(64) DEFAULT NULL,
  `desc` varchar(64) DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updateddTS` timestamp NULL ,
  `checkAble` tinyint(1) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5712 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_details`
--

INSERT INTO `zakat_details` VALUES (66,19,0,'Current Assets','2200-200-00 [Cash in Hand]',5000,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(67,19,0,'Current Assets','2300-000-00 [Inventories]',-19615,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(68,19,0,'Current Assets','2600-100-00 [GST Input Tax]',60,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(69,19,0,'Current Assets','2200-100-00 [Bank]',5000,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(70,19,0,'Current Assets','2100-000-00 [Trade Receivable]',-56983.74,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(71,19,0,'Current Liabilities','3000-000-00 [Trade Payable]',-42400,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(72,19,0,'Current Liabilities','3100-000-00 [AP Accrual Inventory]',-209170,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(73,19,0,'Current Liabilities','3300-100-00 [GST Output Tax]',2400,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(74,19,0,'Current Liabilities','3000-300-00 [Supplier 03 Berhad]',-1060,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0),(75,19,0,'Current Liabilities','3300-100-00 [GST Output Tax]',3328.74,16,'2014-10-02 07:36:32',NULL,'2014-10-02 07:36:32',0),(76,19,0,'Current Liabilities','3400-400-00 [Commission Payable]',-91.2,16,'2014-10-02 07:36:32',NULL,'2014-10-02 07:36:32',0),(77,19,0,'Adjustment Current Assets (Minus)','1200-000-00 [Retained Earnings-Prior Year]',0,16,'2014-10-02 07:36:32',NULL,'2014-10-02 07:36:32',0),(78,19,0,'Adjustment Current Liabilities (Add)','2000-100-10 [Bldgs & Imprv at Cost]',0,16,'2014-10-02 07:36:32',NULL,'2014-10-02 07:36:32',0),(79,20,0,'Current Assets','2200-300-00 [Petty Cash]',1000,51,'2014-10-17 04:27:34',NULL,'2014-10-17 04:27:34',0),(80,20,0,'Current Assets','2200-100-00 [Bank]',1000000,51,'2014-10-17 04:27:34',NULL,'2014-10-17 04:27:34',0),(81,20,0,'Current Assets','2300-000-00 [Inventories]',-67924,51,'2014-10-17 04:27:34',NULL,'2014-10-17 04:27:34',0),(82,20,0,'Current Assets','2500-000-00 [Prepayments and Deposits]',15000,51,'2014-10-17 04:27:34',NULL,'2014-10-17 04:27:34',0),(83,20,0,'Current Assets','2600-100-00 [GST Input Tax]',24600,51,'2014-10-17 04:27:34',NULL,'2014-10-17 04:27:34',0),(84,21,0,'Current Liabilities','3100-000-00 [Invoice/(Goods) not receive]',200,19,'2014-11-14 03:02:47',NULL,'2014-11-14 03:02:47',0),(85,21,0,'Current Liabilities','3400-400-00 [Commission Payable]',-200,19,'2014-11-14 03:02:47',NULL,'2014-11-14 03:02:47',0),(86,22,0,'Current Liabilities','3300-100-00 [GST Output Tax]',-20360,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0),(87,22,0,'Current Liabilities','3300-100-00 [GST Output Tax]',3000,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0),(88,22,0,'Current Liabilities','3100-000-00 [AP Accrual Inventory]',-38000,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0),(89,22,0,'Current Liabilities','3000-000-00 [Trade Payable]',-95400,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0),(90,22,0,'Current Liabilities','3000-000-00 [Trade Payable]',-1060,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0),(91,22,0,'Current Assets','2300-000-00 [Inventories]',-780988,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(92,22,0,'Current Assets','2600-100-00 [GST Input Tax]',5400,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(93,22,0,'Current Assets','2100-000-00 [Trade Receivable]',47000,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(94,22,0,'Current Assets','2200-100-10 [Maybank]',500000,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(95,22,0,'Current Assets','2300-000-00 [Inventories]',989000,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(96,22,0,'Current Assets','2200-100-10 [Maybank]',1450300,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(97,22,0,'Current Assets','2600-100-00 [GST Input Tax]',60,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(98,22,0,'Current Assets','2100-000-00 [Trade Receivable]',6360,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(99,22,0,'Current Assets','2300-000-00 [Inventories]',-2000,19,'2014-11-17 02:18:27',NULL,'2014-11-17 02:18:27',0),(100,23,0,'Current Assets','2100-001-00 [Pekema Sdn Bhd]',131228,16,'2014-12-10 09:14:07',NULL,'2014-12-10 09:14:07',0),(101,23,0,'Current Assets','2110-000-00 [Goods No Bill/(Bill No Goods)]',25000,16,'2014-12-10 09:14:07',NULL,'2014-12-10 09:14:07',0),(134,0,0,'0','0',0,33,'2015-01-08 09:28:17',NULL,'2015-01-08 09:28:17',0),(260,38,0,'Current Assets','2100-100-00 [Customer 01 Sdn Bhd]',4995,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(261,38,0,'Current Assets','2110-000-00 [Goods No Bill/(Bill No Goods)]',0,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(262,38,0,'Current Assets','2300-000-00 [Inventories]',7000,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(263,38,0,'Current Assets','2200-100-10 [Maybank-1232131233]',-1085,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(264,38,0,'Current Liabilities','3000-100-00 [Supplier 01 Sdn Bhd]',0,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(265,38,0,'Current Assets','2600-100-00 [GST Input Tax]',810,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0),(266,38,0,'Current Liabilities','3100-000-00 [Invoice/(Goods) not receive]',0,19,'2015-01-22 05:31:49',NULL,'2015-01-22 05:31:49',0),(267,38,0,'Current Liabilities','3300-100-00 [GST Output Tax]',720,19,'2015-01-22 05:31:49',NULL,'2015-01-22 05:31:49',0),(268,38,0,'Current Liabilities','3400-400-00 [Commission Payable]',1700,19,'2015-01-22 05:31:49',NULL,'2015-01-22 05:31:49',0),(269,38,0,'Adjustment Current Assets (Minus)','2600-100-00 [GST Input Tax]',-810,19,'2015-01-22 05:31:49',NULL,'2015-01-22 05:31:49',0),(270,38,0,'Adjustment Current Liabilities (Add)','3300-100-00 [GST Output Tax]',-720,19,'2015-01-22 05:31:49',NULL,'2015-01-22 05:31:49',0),(271,39,0,'Current Assets','2100-000-00 [Trade Receivable]',0,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(272,39,0,'Current Assets','2200-100-00 [Bank]',52393.34,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(273,39,0,'Current Assets','2300-000-00 [Inventories]',15736,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(274,39,0,'Current Assets','2500-100-00 [Prepayments]',400,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(275,39,0,'Current Assets','2200-000-00 [Cash and Bank Balances]',-2500,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(276,39,0,'Current Assets','2110-000-00 [Goods No Bill/(Bill No Goods)]',0,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(277,39,0,'Current Liabilities','3000-100-00 [Supplier 01 Sdn Bhd]',-2962.7,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(278,39,0,'Current Assets','2600-100-00 [GST Input Tax]',309.96,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(279,39,0,'Current Liabilities','3000-000-00 [Trade Payable]',0,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(280,39,0,'Current Liabilities','3100-000-00 [Invoice/(Goods) not receive]',12100,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(281,39,0,'Current Liabilities','3300-100-00 [GST Output Tax]',342,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(282,39,0,'Current Liabilities','3400-100-00 [Accrued Payroll]',2000,16,'2015-01-29 08:09:41',NULL,'2015-01-29 08:09:41',0),(283,39,0,'Adjustment Current Assets (Minus)','8500-200-00 [Interest on loan]',5000,16,'2015-01-29 08:09:42',NULL,'2015-01-29 08:09:42',0),(284,39,0,'Adjustment Current Liabilities (Add)','8100-250-00 [Depreciation Expense]',1000,16,'2015-01-29 08:09:42',NULL,'2015-01-29 08:09:42',0),(323,41,0,'Current Assets','2200-100-10 [Maybank Berhad]',1000000,74,'2015-03-19 10:33:58',NULL,'2015-03-19 10:33:58',0),(324,41,0,'Current Assets','2200-100-H1 [Hong Leong Bank]',7000,74,'2015-03-19 10:33:58',NULL,'2015-03-19 10:33:58',0),(325,42,0,'Current Assets','2500-100-00 [Prepayments]',-100,74,'2015-03-19 10:36:47',NULL,'2015-03-19 10:36:47',0),(326,43,0,'Current Assets','2200-100-02 [Bank Islam]',-23620,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(327,43,0,'Current Assets','2200-100-01 [Maybank]',-15040.34,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(328,43,0,'Current Assets','2110-000-00 [Goods No Bill/(Bill No Goods)]',0,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(329,43,0,'Current Assets','2100-001-00 [Alam Megah Sdn Bhd]',77263.36,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(330,43,0,'Current Assets','2100-002-00 [Tropika Sdn Bhd]',31800,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(331,43,0,'Current Assets','2200-000-00 [Cash and Bank Balances]',-42421.2,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(332,43,0,'Current Assets','2300-000-00 [Inventories]',66819,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(333,43,0,'Current Liabilities','3000-001-00 [Supplier 1 Sdn Bhd]',-2014,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(334,43,0,'Current Liabilities','3000-000-00 [Trade Payable]',22220,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(335,43,0,'Current Assets','2600-100-00 [GST Input Tax]',4578.54,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(336,43,0,'Current Liabilities','3000-002-00 [Trader Holdings Sdn Bhd]',0,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(337,43,0,'Current Liabilities','3100-000-00 [Invoice/(Goods) not receive]',-20000,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(338,43,0,'Current Liabilities','3300-100-00 [GST Output Tax]',5607.36,100,'2015-03-25 04:25:50',NULL,'2015-03-25 04:25:50',0),(1753,1,7,'Current Assets','2200-100-00 [Bank]',941750,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',0),(1754,1,4,'Current Assets','2100-000-00 [Trade Receivable]',151800,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',0),(1755,1,222,'Current Assets','2600-100-00 [GST Input Tax]',602,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',0),(1756,1,664,'Current Assets','2200-100-10 [Maybank]',1989999801,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',1),(1757,1,6,'Current Liabilities','3300-100-00 [GST Output Tax]',1800,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',1),(1758,1,3,'Current Liabilities','3000-000-00 [Trade Payable]',50600,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',0),(1759,1,221,'Current Liabilities','3300-200-00 [Suspense GST - Output Tax]',2,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',1),(1760,1,219,'Current Liabilities','3400-000-00 [Accruals]',14,44,'2015-08-28 05:33:54',NULL,'2015-08-28 05:33:54',0),(4778,36,490,'Current Assets','2100-000-00 [Trade Receivable]',-59152,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',0),(4779,36,449,'Current Assets','2200-300-00 [Petty Cash]',880,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4780,36,406,'Current Assets','2600-100-00 [GST Input Tax]',27331.32,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4781,36,424,'Current Assets','2110-000-00 [Goods No Bill/(Bill No Goods)]',35811,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4782,36,473,'Current Assets','2200-100-00 [Bank]',-600,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',0),(4783,36,403,'Current Assets','2300-000-00 [Inventories]',322180.03,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4784,36,412,'Current Assets','2200-100-10 [Maybank Berhad]',195238,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4785,36,474,'Current Assets','2100-000-01 [Nur Raysha Ent]',23595.8,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4786,36,416,'Current Assets','2200-100-H1 [Hong Leong Bank]',-38723.12,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',0),(4787,36,419,'Current Assets','2200-M01-00 [Muamalat Syamil]',67950,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4788,36,414,'Current Assets','2300-200-00 [Inv-Baju Kurung Modern]',10200,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4789,36,425,'Current Assets','2100-300-00 [Penghutang Jumaat Sdn Bhd]',2120,44,'2015-09-22 06:58:03',NULL,'2015-09-22 06:58:03',1),(4790,36,511,'Current Assets','2100-400-00 [Lisa Surihani Ent]',12720,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',1),(4791,36,503,'Current Assets','2300-300-00 [Inv-Rollerblade]',3530,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',1),(4792,36,408,'Current Liabilities','3000-000-00 [Trade Payable]',3035.5,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',1),(4793,36,402,'Current Liabilities','3100-000-00 [Invoice/(Goods) not receive]',-2949.67,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',0),(4794,36,422,'Current Liabilities','3300-100-00 [GST Output Tax]',12583.8,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',1),(4795,36,404,'Current Liabilities','3000-100-00 [Supplier with GST Sdn Bhd]',-74012.8,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',0),(4796,36,409,'Current Liabilities','3000-200-00 [Syazmil Selasa Sdn Bhd]',-16896,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',0),(4797,36,417,'Current Liabilities','3000-300-00 [Jakel Sdn. Bhd.]',-1411.5,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',0),(4798,36,426,'Current Liabilities','3400-400-00 [Commission Payable]',350,44,'2015-09-22 06:58:04',NULL,'2015-09-22 06:58:04',1),(4799,36,415,'Current Liabilities','3000-400-00 [Nagoya Sdn. Bhd.]',5000,44,'2015-09-22 06:58:05',NULL,'2015-09-22 06:58:05',1),(4800,36,475,'Current Liabilities','3000-500-00 [GULATIS SDN. BHD.]',22200.6,44,'2015-09-22 06:58:05',NULL,'2015-09-22 06:58:05',1),(5520,116,33193,'Current Assets','Cash in Hand',50000,79,'2015-11-12 07:45:03',NULL,'2015-11-12 07:45:03',1),(5521,116,33202,'Current Assets','GST Input Tax',185.89,79,'2015-11-12 07:45:03',NULL,'2015-11-12 07:45:03',1),(5558,119,34012,'Current Assets','GST Input Tax',187.02,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',0),(5559,119,34645,'Current Assets','customer B S/B',2120,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',1),(5560,119,34496,'Current Assets','CIMB-1236546',1100830,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',0),(5561,119,34005,'Current Assets','Inventories',-3200,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',1),(5562,119,34504,'Current Liabilities','SUPPLIER 1',-2108,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',1),(5563,119,34004,'Current Assets','Petty Cash',-5182,86,'2015-12-10 07:58:44',NULL,'2015-12-10 07:58:44',0),(5564,119,34019,'Current Liabilities','GST Output Tax',180,86,'2015-12-10 07:58:45',NULL,'2015-12-10 07:58:45',0),(5565,119,34028,'Current Liabilities','Commission Payable',100,86,'2015-12-10 07:58:45',NULL,'2015-12-10 07:58:45',1),(5566,119,34016,'Current Liabilities','Invoice/(Goods) not receive',-3750,86,'2015-12-10 07:58:45',NULL,'2015-12-10 07:58:45',1),(5567,119,34025,'Current Liabilities','Accrued Payroll',3000,86,'2015-12-10 07:58:45',NULL,'2015-12-10 07:58:45',1),(5568,120,33873,'Current Assets','Goods No Bill/(Bill No Goods)',50,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5569,120,34649,'Current Assets','Customer B',106,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5570,120,33885,'Current Assets','GST Input Tax',30,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5571,120,33878,'Current Assets','Inventories',210,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5572,120,34491,'Current Assets','MAYBANK-1231231231231',-69.6,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',0),(5573,120,33892,'Current Liabilities','GST Output Tax',14.06,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5574,120,33889,'Current Liabilities','Invoice/(Goods) not receive',200,83,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:10',1),(5575,120,34635,'Current Liabilities','Supplier B Sdn Bhd',318,83,'2015-12-10 08:03:11',NULL,'2015-12-10 08:03:11',1),(5576,98,33321,'Current Assets','Goods No Bill/(Bill No Goods)',1780,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5577,98,33323,'Current Assets','Bank',25313.8,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5578,98,33434,'Current Assets','RAHIM ENTERPRISE',2067,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5579,98,33452,'Current Assets','ALI-MAJU',11346,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5580,98,33440,'Current Assets','AL-HIJAZI',4240,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5581,98,33334,'Current Assets','Provision for GST Non-Claimable',3,153,'2015-12-23 01:43:57',NULL,'2015-12-23 01:43:57',1),(5582,98,1,'Current Assets','AL-MAKLUMLAH',-893796.94,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5583,98,33333,'Current Assets','GST Input Tax',33780.64,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5584,98,33435,'Current Assets','Deposit-client A',879.1,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5585,98,33326,'Current Assets','Inventories',109880,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5586,98,33320,'Current Assets','Trade Receivable',32975.08,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5587,98,33324,'Current Assets','Cash in Hand',-119498.27,153,'2015-12-23 01:43:59',NULL,'2015-12-23 01:43:59',1),(5588,98,33340,'Current Liabilities','GST Output Tax',14082.14,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5589,98,33337,'Current Liabilities','Invoice/(Goods) not receive',-103820,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5590,98,33336,'Current Liabilities','Trade Payable',120645.6,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5591,98,33346,'Current Liabilities','Accrued Payroll',1500,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5592,98,33341,'Current Liabilities','Suspense GST - Output Tax',-50,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5593,98,33463,'Current Liabilities','Testing Izuwan',53690,153,'2015-12-23 01:44:01',NULL,'2015-12-23 01:44:01',1),(5594,98,33445,'Current Liabilities','Ramli sdn bhd',238713.06,153,'2015-12-23 01:44:03',NULL,'2015-12-23 01:44:03',1),(5595,98,33464,'Current Liabilities','Izuwan Testing Lagi',17225,153,'2015-12-23 01:44:03',NULL,'2015-12-23 01:44:03',1),(5596,94,33012,'Current Assets','Inventories',1214622,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5597,94,33009,'Current Assets','Bank',200,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5598,94,33017,'Current Assets','Deposits Paid',439.55,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5599,94,33438,'Current Assets','Mbb',3000,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5600,94,33006,'Current Assets','Trade Receivable',1536844,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5601,94,33019,'Current Assets','GST Input Tax',33541.5,19,'2016-01-27 08:26:30',NULL,'2016-01-27 08:26:30',1),(5602,94,33128,'Current Liabilities','Supplier Oversea Ltd',342220,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5603,94,33023,'Current Liabilities','Invoice/(Goods) not receive',24075.05,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5604,94,33439,'Current Assets','CIMB',-3000,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5605,94,33127,'Current Liabilities','Supplier Local Sdn Bhd',1331106,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5606,94,33026,'Current Liabilities','GST Output Tax',37944,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5607,94,33129,'Current Liabilities','Supplier NR Sdn Bhd',209000,19,'2016-01-27 08:26:31',NULL,'2016-01-27 08:26:31',1),(5608,124,1,'Current Assets','AL-MAKLUMLAH',-893796.94,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5609,124,33434,'Current Assets','RAHIM ENTERPRISE',11257,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5610,124,33321,'Current Assets','Goods No Bill/(Bill No Goods)',56460,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5611,124,33335,'Current Assets','Suspense GST - Input Tax',235.5,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5612,124,33326,'Current Assets','Inventories',-45970,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5613,124,33440,'Current Assets','AL-HIJAZI',5098.56,149,'2016-01-29 04:21:37',NULL,'2016-01-29 04:21:37',1),(5614,124,33452,'Current Assets','ALI-MAJU',11346,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5615,124,33323,'Current Assets','Bank',368671.88,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5616,124,33325,'Current Assets','Petty Cash',1,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5617,124,33334,'Current Assets','Provision for GST Non-Claimable',3,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5618,124,34778,'Current Assets','AL-AMIN',2650,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5619,124,33320,'Current Assets','Trade Receivable',37807.18,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5620,124,33435,'Current Assets','Deposit-client A',879.1,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5621,124,34780,'Current Assets','JANUARI SDN BHD',10070,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5622,124,33324,'Current Assets','Cash in Hand',-128593.87,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5623,124,33453,'Current Liabilities','Supplier aizat',106000,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5624,124,33464,'Current Liabilities','Izuwan Testing Lagi',17225,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5625,124,33333,'Current Assets','GST Input Tax',400041619.04,149,'2016-01-29 04:21:38',NULL,'2016-02-11 04:23:39',1),(5626,124,33337,'Current Liabilities','Invoice/(Goods) not receive',-102920,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5627,124,33346,'Current Liabilities','Accrued Payroll',1500,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5628,124,33341,'Current Liabilities','Suspense GST - Output Tax',70,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5629,124,33463,'Current Liabilities','Testing Izuwan',48390,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5630,124,33336,'Current Liabilities','Trade Payable',120098.9,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5631,124,33445,'Current Liabilities','Ramli sdn bhd',238713.06,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5632,124,33340,'Current Liabilities','GST Output Tax',40096.88,149,'2016-01-29 04:21:38',NULL,'2016-01-29 04:21:38',1),(5633,125,33438,'Current Assets','Mbb',3000,19,'2016-02-01 07:45:22',NULL,'2016-02-01 07:45:22',1),(5634,125,33439,'Current Assets','CIMB',-3000,19,'2016-02-01 07:45:22',NULL,'2016-02-01 07:45:22',1),(5635,125,33017,'Current Assets','Deposits Paid',-4160.45,19,'2016-02-01 07:45:22',NULL,'2016-02-01 07:45:22',1),(5636,125,33127,'Current Liabilities','Supplier Local Sdn Bhd',-4160.45,19,'2016-02-01 07:45:22',NULL,'2016-02-01 07:45:22',1),(5637,127,33189,'Current Assets','Trade Receivable',529.4,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5638,127,33209,'Current Liabilities','GST Output Tax',25.32,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5639,127,33212,'Current Liabilities','Sales Tax Payable',222.08,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5640,127,33202,'Current Assets','GST Input Tax',197.89,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5641,127,33192,'Current Assets','Bank',318,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5642,127,33205,'Current Liabilities','Trade Payable',212,79,'2016-02-02 05:09:22',NULL,'2016-02-02 05:09:22',1),(5676,129,31280,'Current Assets','Trade Receivable',-264955.9,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5677,129,31394,'Current Assets','Bank Islam Berhad',-16791048.54,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5678,129,31396,'Current Assets','Public Bank Berhad',-81047557.76,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5679,129,31427,'Current Assets','Bank RHB',307046795.4,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5680,129,31398,'Current Assets','Sport Station Sdn Bhd',36155848.84,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5681,129,31846,'Current Assets','Customer Julia',594130,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5682,129,31295,'Current Assets','Suspense GST - Input Tax',202.02,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5683,129,31426,'Current Assets','CIMB Bank cawangan kl sentral',-127329354.11,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5684,129,31293,'Current Assets','GST Input Tax',21625516.08,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5685,129,31393,'Current Assets','Maybank Berhad-Gombak',-59133037.78,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5686,129,31400,'Current Assets','Semangat Perdana Sdn Bhd',325409.4,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5687,129,31286,'Current Assets','Inventories',959907114.29,1,'2016-02-11 04:42:41',NULL,'2016-02-11 04:42:41',0),(5688,129,31395,'Current Assets','Bank Muamalat Berhad',39738580.29,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',1),(5689,129,31281,'Current Assets','Goods No Bill/(Bill No Goods)',3591533.68,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5690,129,31285,'Current Assets','Petty Cash',1655.39,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5691,129,31833,'Current Assets','Client Fisha SB',6865842.6,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5692,129,31397,'Current Assets','Kedai Sukan Serbaneka Sdn Bhd',302481.6,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5693,129,31399,'Current Assets','Perniagaan Maju Sdn Bhd',-21359,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5694,129,31296,'Current Liabilities','Trade Payable',-45682.78,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5695,129,31298,'Current Liabilities','Other Payables',-600,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5696,129,31305,'Current Liabilities','Accruals',1273277089,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5697,129,31389,'Current Liabilities','Nike Malaysia Berhad',3260886.81,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5698,129,31834,'Current Liabilities','Supplier Fisha SB',-62498.47,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5699,129,31307,'Current Liabilities','Payroll Deductions Payable',10419407,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5700,129,31300,'Current Liabilities','GST Output Tax',8181089.63,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5701,129,31391,'Current Liabilities','Bata Malaysia Berhad',1938814.2,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5702,129,31309,'Current Liabilities','Commission Payable',11943195,1,'2016-02-11 04:42:42',NULL,'2016-02-11 04:42:42',0),(5703,129,31297,'Current Liabilities','Invoice/(Goods) not receive',640588222.88,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5704,129,31311,'Current Liabilities','Zakat Payable',24625202,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5705,129,31306,'Current Liabilities','Accrued Payroll',128173357,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5706,129,31390,'Current Liabilities','Reebok Malaysia Berhad',831699.81,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5707,129,31388,'Current Liabilities','Adidas Malaysia Berhad',5336129.43,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5708,129,31308,'Current Liabilities','PAYE Tax Payable',15328419,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5709,129,31301,'Current Liabilities','Suspense GST - Output Tax',-59271.93,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5710,129,31310,'Current Liabilities','Accrual Waqaf',12127405,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0),(5711,129,31392,'Current Liabilities','Umbro Malaysia Berhad',-141971.1,1,'2016-02-11 04:42:43',NULL,'2016-02-11 04:42:43',0);

--
-- Table structure for table `zakat_group`
--

CREATE TABLE `zakat_group` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `name` varchar(50) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `parentID` int(11) DEFAULT '0',
  `sequence` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updateddTS` timestamp NULL ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=105 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_group`
--

INSERT INTO `zakat_group` VALUES (1,1,'Current Assets','Current Assets',0,1,1,'2014-06-24 04:47:41',NULL,'2014-09-10 01:45:20'),(2,1,'Current Liability','Current Liability',0,2,1,'2014-06-24 04:48:46',NULL,'2014-09-10 01:45:20'),(3,1,'Cash','Cash in hand & cash in bank',1,1,1,'2014-06-24 04:49:39',NULL,'2014-09-10 01:45:20'),(4,1,'Receivables','Account Receivables',1,2,1,'2014-06-24 04:50:31',NULL,'2014-09-10 01:45:20'),(5,1,'Inventory','Inventory',1,3,1,'2014-06-24 04:51:09',NULL,'2014-09-10 01:45:20'),(6,1,'Payables','Account Payables',2,1,1,'2014-06-24 04:51:48',NULL,'2014-09-10 01:45:20'),(7,1,'Accruals','Accruals',2,2,1,'2014-06-24 04:52:26',NULL,'2014-09-10 01:45:20'),(8,1,'IncomeTax','Income Tax Not Paid',2,3,1,'2014-06-24 08:26:47',NULL,'2014-09-10 01:45:20'),(9,1,'0','0',0,0,1,'2014-07-11 04:11:35',NULL,'2014-09-10 01:45:20'),(10,1,'0','0',0,0,1,'2014-07-11 04:12:15',NULL,'2014-09-10 01:45:20'),(11,15,'Current Assets','Current Assets',0,10,16,'2014-08-18 04:44:58',NULL,'2014-09-10 01:45:20'),(12,15,'Current Liabilities','Current Liabilities',0,500,16,'2014-08-18 04:49:35',NULL,'2014-09-10 01:45:20'),(14,15,'Cash','Cash',11,20,16,'2014-08-18 04:50:45',NULL,'2014-09-10 01:45:20'),(15,1,'Zakat Expense','Current year zakat',7,1,16,'2014-09-08 04:39:59',NULL,'2014-09-10 01:45:20'),(16,93,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-10 02:12:08',NULL,'2014-09-10 02:29:05'),(17,93,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-10 02:12:08',NULL,'2014-09-10 02:12:08'),(18,1,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-15 03:08:11',NULL,'2014-09-15 03:08:11'),(19,1,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-15 03:08:11',NULL,'2014-09-15 03:08:11'),(21,103,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-15 09:22:30',NULL,'2014-09-15 09:22:30'),(22,103,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-15 09:22:30',NULL,'2014-09-15 09:22:30'),(24,105,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-16 07:56:57',NULL,'2014-09-16 07:56:57'),(25,105,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-16 07:56:57',NULL,'2014-09-16 07:56:57'),(27,15,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-18 01:56:20',NULL,'2014-09-18 01:56:20'),(28,15,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-18 01:56:20',NULL,'2014-09-18 01:56:20'),(30,107,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-29 06:54:38',NULL,'2014-09-29 06:54:38'),(31,107,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-29 06:54:38',NULL,'2014-09-29 06:54:38'),(33,110,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-09-30 09:23:27',NULL,'2014-09-30 09:23:27'),(34,110,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-09-30 09:23:27',NULL,'2014-09-30 09:23:27'),(37,111,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-10-13 04:30:45',NULL,'2014-10-13 04:30:45'),(38,111,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-10-13 04:30:45',NULL,'2014-10-13 04:30:45'),(39,116,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',39,1,NULL,'2014-11-07 02:24:32',60,'2014-11-25 06:49:30'),(42,119,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-11-19 02:22:46',NULL,'2014-11-19 02:22:46'),(43,119,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-11-19 02:22:46',NULL,'2014-11-19 02:22:46'),(45,122,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-11-25 06:02:39',NULL,'2014-11-25 06:02:39'),(46,122,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-11-25 06:02:39',NULL,'2014-11-25 06:02:39'),(48,116,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-11-25 06:49:19',59,'2014-12-09 03:38:03'),(49,116,'CA NFB','Non-business purpose',49,3,44,'2014-12-09 04:21:07',44,'2014-12-18 01:56:49'),(50,117,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-12-10 02:21:58',NULL,'2014-12-10 02:21:58'),(51,117,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-12-10 02:21:58',NULL,'2014-12-10 02:21:58'),(53,126,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2014-12-10 05:29:43',NULL,'2014-12-10 05:29:43'),(54,126,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-12-10 05:29:43',NULL,'2014-12-10 05:29:43'),(56,124,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',56,1,NULL,'2014-12-19 07:17:18',33,'2015-03-04 06:10:17'),(57,124,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2014-12-19 07:17:18',29,'2015-03-04 05:56:22'),(59,121,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-08 03:55:44',NULL,'2015-01-08 03:55:44'),(60,121,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-08 03:55:44',NULL,'2015-01-08 03:55:44'),(62,129,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-08 04:34:50',NULL,'2015-01-08 04:34:50'),(63,129,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-08 04:34:50',NULL,'2015-01-08 04:34:50'),(64,132,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-22 05:24:35',NULL,'2015-01-22 05:24:35'),(65,132,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-22 05:24:35',NULL,'2015-01-22 05:24:35'),(67,131,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-23 06:42:42',NULL,'2015-01-23 06:42:42'),(68,131,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-23 06:42:42',NULL,'2015-01-23 06:42:42'),(69,133,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-26 08:50:58',NULL,'2015-01-26 08:50:58'),(70,133,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-26 08:50:58',NULL,'2015-01-26 08:50:58'),(72,138,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-01-29 09:03:55',NULL,'2015-01-29 09:03:55'),(73,138,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-01-29 09:03:55',NULL,'2015-01-29 09:03:55'),(74,135,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',74,1,NULL,'2015-03-04 06:07:29',16,'2015-03-04 06:07:58'),(75,135,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-03-04 06:07:29',NULL,'2015-03-04 06:07:29'),(76,136,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-03-18 07:19:31',NULL,'2015-03-18 07:19:31'),(77,136,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-03-18 07:19:31',NULL,'2015-03-18 07:19:31'),(79,116,'farah','01',39,1,74,'2015-03-19 10:15:15',NULL,'2015-03-19 10:15:15'),(80,116,'norzihan','nisab group 1',39,1,74,'2015-03-20 02:01:48',NULL,'2015-03-20 02:01:48'),(81,116,'nurul nadia','zakat nisab group 1',39,1,74,'2015-03-24 03:26:03',NULL,'2015-03-24 03:26:03'),(82,116,'Zakat Nisab Example','Zakat Nisab',39,10,79,'2015-04-10 02:45:01',NULL,'2015-04-10 02:45:01'),(83,124,'zakat nisab group name','test zakat nisab group name',56,20,16,'2015-04-10 02:50:59',NULL,'2015-04-10 02:50:59'),(84,147,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-06-18 03:15:00',NULL,'2015-06-18 03:15:00'),(85,147,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-06-18 03:15:00',NULL,'2015-06-18 03:15:00'),(87,3,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-06-18 09:12:54',NULL,'2015-06-18 09:12:54'),(88,3,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-06-18 09:12:54',NULL,'2015-06-18 09:12:54'),(89,148,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-08-28 05:24:12',NULL,'2015-08-28 05:24:12'),(90,148,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-08-28 05:24:12',NULL,'2015-08-28 05:24:12'),(92,149,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-09-28 02:05:12',NULL,'2015-09-28 02:05:12'),(93,149,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-09-28 02:05:12',NULL,'2015-09-28 02:05:12'),(94,165,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-12-10 07:34:55',NULL,'2015-12-10 07:34:55'),(95,165,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-12-10 07:34:55',NULL,'2015-12-10 07:34:55'),(97,158,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-12-10 07:57:32',NULL,'2015-12-10 07:57:32'),(98,158,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-12-10 07:57:32',NULL,'2015-12-10 07:57:32'),(100,157,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-12-10 08:02:40',NULL,'2015-12-10 08:02:40'),(101,157,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-12-10 08:02:40',NULL,'2015-12-10 08:02:40'),(103,163,'AdjustmentMinusCurrentAssets','Adjustment Minus Current Assets',0,1,NULL,'2015-12-10 08:03:01',NULL,'2015-12-10 08:03:01'),(104,163,'AdjustmentAddCurrentLiability','Adjustment Add Current Liabilities',0,2,NULL,'2015-12-10 08:03:01',NULL,'2015-12-10 08:03:01');

--
-- Table structure for table `zakat_group_details`
--

CREATE TABLE `zakat_group_details` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '1',
  `groupID` int(11) DEFAULT NULL,
  `acctID` int(11) DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updateddTS` timestamp NULL ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_group_details`
--

INSERT INTO `zakat_group_details` VALUES (9,1,19,44,1,'2014-06-24 11:25:00',NULL,'2014-09-29 08:33:19'),(10,1,19,43,1,'2014-06-24 11:25:08',NULL,'2014-09-29 08:33:25'),(11,1,19,22,1,'2014-06-25 07:43:10',NULL,'2014-09-29 08:33:32'),(12,93,17,28285,16,'2014-09-10 02:34:44',NULL,'2014-09-10 02:34:44'),(13,93,16,28277,16,'2014-09-10 02:34:57',NULL,'2014-09-10 02:34:57'),(14,93,16,28280,16,'2014-10-01 04:41:49',NULL,'2014-10-01 04:41:49'),(15,93,16,28285,16,'2014-10-01 04:42:01',NULL,'2014-10-01 04:42:01'),(16,93,17,28281,16,'2014-10-01 04:42:22',NULL,'2014-10-01 04:42:22'),(17,93,17,28286,16,'2014-10-01 04:42:32',NULL,'2014-10-01 04:42:32'),(21,117,50,30499,16,'2014-12-10 07:59:11',NULL,'2014-12-10 07:59:11'),(22,117,51,30527,16,'2014-12-10 08:00:20',NULL,'2014-12-10 08:00:20'),(23,116,0,30340,44,'2014-12-18 01:26:55',NULL,'2014-12-18 01:26:55'),(26,124,56,31393,16,'2015-01-08 08:35:51',NULL,'2015-01-08 08:35:51'),(27,124,56,31396,16,'2015-01-08 08:36:13',NULL,'2015-01-08 08:36:13'),(28,124,57,31392,16,'2015-01-08 08:36:41',NULL,'2015-01-08 08:36:41'),(29,124,57,31391,16,'2015-01-08 08:37:18',NULL,'2015-01-08 08:37:18'),(30,124,57,31389,16,'2015-01-08 08:37:53',NULL,'2015-01-08 08:37:53'),(31,132,64,32140,19,'2015-01-22 05:27:04',NULL,'2015-01-22 05:27:04'),(32,132,65,32147,19,'2015-01-22 05:27:18',NULL,'2015-01-22 05:27:18'),(35,116,48,30222,74,'2015-03-19 06:27:45',NULL,'2015-03-19 06:27:45'),(36,116,39,30222,74,'2015-03-19 06:44:10',NULL,'2015-03-19 06:44:10'),(38,116,48,30222,74,'2015-03-19 08:49:18',NULL,'2015-03-19 08:49:18'),(39,116,48,30222,74,'2015-03-19 09:10:07',NULL,'2015-03-19 09:10:07'),(40,116,39,30220,74,'2015-03-19 09:55:36',NULL,'2015-03-19 09:55:36'),(41,116,39,30222,74,'2015-03-20 01:25:08',NULL,'2015-03-20 01:25:08'),(42,116,39,30221,74,'2015-03-24 03:12:30',NULL,'2015-03-24 03:12:30'),(43,136,0,32680,80,'2015-03-25 06:27:06',NULL,'2015-03-25 06:27:06'),(45,136,76,32817,80,'2015-06-03 08:06:54',NULL,'2015-06-03 08:06:54'),(46,147,84,33016,19,'2015-06-18 03:48:28',NULL,'2015-06-18 03:48:28'),(47,147,84,33012,19,'2015-06-18 03:50:16',NULL,'2015-06-18 03:50:16'),(48,136,76,32807,80,'2015-06-30 07:27:35',NULL,'2015-06-30 07:27:35');

--
-- Table structure for table `zakat_nisab`
--

CREATE TABLE `zakat_nisab` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `companyID` int(11) NOT NULL DEFAULT '0',
  `centerID` int(11) DEFAULT NULL,
  `year` year(4) DEFAULT NULL,
  `nisab` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updateddTS` timestamp NULL ,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_nisab`
--

INSERT INTO `zakat_nisab` VALUES (1,1,1,2008,12223,1,'2014-06-25 03:05:21',16,'2014-10-02 06:50:24'),(2,1,1,2009,16548,1,'2014-06-25 03:05:54',16,'2014-10-02 06:53:00'),(3,1,1,2007,10454,16,'2014-07-16 01:26:39',16,'2014-10-02 06:55:26'),(4,93,8,2014,10000,16,'2014-08-15 07:38:33',16,'2014-10-02 06:59:43'),(5,1,1,2010,12421,16,'2014-09-08 04:15:59',16,'2014-10-02 06:54:25'),(6,103,18,2014,15125.23,50,'2014-09-15 09:23:17',16,'2014-10-02 07:00:09'),(7,93,1,2014,11223.45,16,'2014-10-02 07:02:02',NULL,'2014-10-02 07:02:02'),(8,116,1,2013,1000,16,'2014-12-09 03:01:26',74,'2015-03-19 08:23:33'),(9,116,1,2014,11465,44,'2014-12-09 03:05:04',NULL,'2014-12-09 03:05:04'),(10,117,1,2014,11445,16,'2014-12-10 04:18:25',NULL,'2014-12-10 04:18:25'),(11,124,1,2014,14000,43,'2014-12-19 07:19:55',NULL,'2014-12-19 07:19:55'),(12,132,1,2015,3000,19,'2015-01-22 05:25:35',19,'2015-01-22 05:30:33'),(14,121,1,2014,40689,33,'2015-01-29 08:05:07',19,'2015-01-29 09:14:13'),(15,116,1,2014,1000,74,'2015-03-19 10:14:05',NULL,'2015-03-19 10:14:05'),(16,116,8,2011,879,74,'2015-03-19 10:24:02',NULL,'2015-03-19 10:24:02'),(17,116,18,2015,1000,74,'2015-03-20 01:55:08',NULL,'2015-03-20 01:55:08'),(18,116,1,2015,1000,74,'2015-03-24 03:19:17',NULL,'2015-03-24 03:19:17'),(19,116,8,2015,1000,74,'2015-03-24 03:25:16',NULL,'2015-03-24 03:25:16'),(20,116,2,2015,0,79,'2015-04-09 05:14:16',NULL,'2015-04-09 05:14:16'),(21,147,1,2016,8000,19,'2015-08-27 02:49:50',NULL,'2015-08-27 02:49:50'),(22,124,1,2015,10000,1,'2015-09-02 03:28:11',NULL,'2015-09-02 03:28:11'),(23,136,1,2015,11831,16,'2015-09-10 03:58:32',NULL,'2015-09-10 03:58:32'),(24,136,1,2015,11831,127,'2015-09-10 03:58:33',NULL,'2015-09-10 03:58:33'),(25,116,24,2001,3000,79,'2015-11-16 07:21:22',NULL,'2015-11-16 07:21:22'),(26,147,8,2016,800000,19,'2016-01-29 01:27:09',19,'2016-01-29 01:28:06'),(27,147,2,2016,12335,19,'2016-01-29 04:02:07',NULL,'2016-01-29 04:02:07'),(28,149,2,2016,12000,149,'2016-01-29 04:09:32',NULL,'2016-01-29 04:09:32');

--
-- Table structure for table `zakat_summary`
--

CREATE TABLE `zakat_summary` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `serialNo` int(11) NOT NULL DEFAULT '1',
  `companyID` int(11) NOT NULL DEFAULT '1',
  `centerID` int(11) NOT NULL DEFAULT '1',
  `year` varchar(4) DEFAULT NULL,
  `calculationMethod` varchar(32) NOT NULL,
  `muslimOwnershipShare` double NOT NULL,
  `nisab` double NOT NULL,
  `netCurrentAsset` double NOT NULL,
  `totalDueForZakat` double NOT NULL,
  `zakatPayableForTheYear` double NOT NULL,
  `monthlyZakatPayable` double NOT NULL,
  `totalAmount` double DEFAULT NULL,
  `totalZakatPaid` double DEFAULT NULL,
  `createdBy` int(11) DEFAULT NULL,
  `createdTS` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updatedBy` int(11) DEFAULT NULL,
  `updateddTS` timestamp NULL ,
  `is_delete` int(11) NOT NULL DEFAULT '0',
  `updateAble` tinyint(1) NOT NULL DEFAULT '1',
  `journalNo` varchar(32) CHARACTER SET latin1 NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=131 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;

--
-- Dumping data for table `zakat_summary`
--

INSERT INTO `zakat_summary` VALUES (1,1,1,15,'2014','',0,0,0,0,0,0,1042950,26073.75,1,'2014-06-25 09:45:44',16,'2014-08-27 06:50:38',0,1,''),(2,1,75,1,'2013','',0,0,0,0,0,0,0,0,19,'2014-07-22 02:10:11',NULL,'2014-07-22 02:10:11',0,1,''),(3,1,75,2,'2014','',0,0,0,0,0,0,0,0,19,'2014-07-22 02:12:22',NULL,'2014-07-22 02:12:22',0,1,''),(4,1,15,1,'2014','',0,0,0,0,0,0,0,0,16,'2014-08-08 02:17:52',16,'2014-08-15 07:41:02',0,1,''),(5,1,1,1,'2013','',0,0,0,0,0,0,0,0,16,'2014-08-11 08:39:02',1,'2014-08-14 06:45:11',0,1,''),(19,1,93,1,'2014','Working Capital',40,11223.45,180453.72,180453.72,1804.54,150.38,NULL,NULL,16,'2014-10-02 07:36:31',NULL,'2014-10-02 07:36:31',0,1,''),(20,1,105,1,'2014','Working Capital',50,0,2281476,2281476,28518.45,2376.54,NULL,NULL,51,'2014-10-17 04:27:33',NULL,'2014-10-17 04:27:33',0,1,''),(21,1,116,1,'2014','Working Capital',10,0,810271.24,810271.24,2025.68,168.81,NULL,NULL,19,'2014-11-14 03:02:47',NULL,'2014-12-17 00:48:32',1,1,''),(22,1,107,8,'2014','Working Capital',100,0,2366952,2366952,59173.8,4931.15,NULL,NULL,19,'2014-11-17 02:18:26',NULL,'2014-11-17 02:18:26',0,1,''),(23,1,117,1,'2014','Working Capital',10,11445,90301,-28769.9,0,0,NULL,NULL,16,'2014-12-10 09:14:07',NULL,'2014-12-10 09:14:07',0,1,''),(36,1,116,1,'2014','Working Capital',98,11465,655181.1,645218.53,16130.46,1344.21,NULL,NULL,44,'2015-01-08 09:56:32',NULL,'2015-09-22 07:10:50',0,0,''),(38,1,132,1,'2015','Working Capital',100,3000,9300,9390,234.75,19.56,NULL,NULL,19,'2015-01-22 05:31:48',NULL,'2015-01-22 05:31:48',0,1,''),(39,1,121,1,'2014','Working Capital',0,13000,54860,50860,1271.5,105.96,NULL,NULL,16,'2015-01-29 08:09:40',NULL,'2015-01-29 08:09:40',0,1,''),(41,1,116,1,'2013','Working Capital',98,1000,1007000,986860,24671.5,2055.96,NULL,NULL,74,'2015-03-19 10:33:57',NULL,'2015-12-08 03:59:06',1,0,''),(42,1,116,1,'2015','Working Capital',98,0,-100,-98,0,0,NULL,NULL,74,'2015-03-19 10:36:46',NULL,'2015-04-13 04:38:58',1,1,''),(43,1,136,1,'2015','Working Capital',100,0,93566,93566,2339.15,194.93,NULL,NULL,100,'2015-03-25 04:25:49',NULL,'2015-03-25 04:25:49',0,1,''),(94,1,147,1,'2016','Working Capital',100,8000,841302,841302,21032.55,1752.71,NULL,NULL,19,'2015-08-24 09:36:00',NULL,'2016-01-27 08:27:01',0,0,''),(98,1,149,1,'2015','Working Capital',100,0,-1133016.39,-1133016.39,0,0,NULL,NULL,153,'2015-10-05 04:13:54',NULL,'2015-12-23 01:43:56',0,1,''),(104,1,124,1,'2013','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-10-08 12:00:13',NULL,'2016-02-04 07:38:28',0,0,''),(112,1,124,1,'2017','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-10-09 02:44:23',NULL,'2016-02-04 07:42:23',0,0,''),(113,1,124,1,'2012','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-10-09 02:45:46',NULL,'2016-02-04 07:44:52',0,0,''),(114,1,124,1,'2019','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-10-09 03:18:29',NULL,'2015-10-09 03:18:29',0,1,''),(115,1,121,1,'2015','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-11-05 08:21:51',NULL,'2015-11-05 08:21:51',0,1,''),(116,1,148,1,'2015','Working Capital',100,0,50185.89,50185.89,1254.65,104.55,NULL,NULL,79,'2015-11-12 04:27:55',NULL,'2016-02-02 05:09:48',0,0,''),(117,1,116,1,'2015','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-11-13 04:27:27',NULL,'2015-12-08 03:59:01',1,1,''),(118,1,165,1,'2015','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-12-10 07:35:29',NULL,'2015-12-10 07:35:29',0,1,''),(119,1,158,1,'2015','Working Capital',100,0,1097333.02,1678,41.95,3.5,NULL,NULL,86,'2015-12-10 07:57:41',NULL,'2015-12-10 07:58:44',0,1,''),(120,1,157,24,'2015','Working Capital',100,0,-205.66,-136.06,0,0,NULL,NULL,83,'2015-12-10 08:02:49',NULL,'2015-12-10 08:03:10',0,1,''),(121,1,163,1,'2015','Working Capital',100,0,0,0,0,0,NULL,NULL,98,'2015-12-10 08:03:10',NULL,'2015-12-10 08:03:34',0,1,''),(122,1,116,8,'2015','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2015-12-31 03:15:06',NULL,'2015-12-31 03:15:06',0,1,''),(123,1,93,8,'2016','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2016-01-29 02:07:01',NULL,'2016-01-29 02:07:01',0,1,''),(124,1,149,2,'2016','Working Capital',100,12000,-991436.39,-991436.39,0,0,NULL,NULL,149,'2016-01-29 04:09:55',NULL,'2016-01-29 04:21:37',0,1,''),(125,1,147,8,'2015','Working Capital',60,0,0,0,0,0,NULL,NULL,19,'2016-02-01 07:45:10',NULL,'2016-02-01 08:18:39',1,1,''),(126,1,147,1,'2011','Working Capital',0,0,0,0,0,0,NULL,NULL,NULL,'2016-02-01 08:12:11',NULL,'2016-02-01 08:12:11',0,1,''),(127,1,148,1,'2016','Working Capital',100,0,585.89,585.89,14.65,1.22,NULL,NULL,79,'2016-02-02 05:01:03',NULL,'2016-02-02 05:09:22',0,1,''),(129,2,124,1,'2015','Working Capital',50,10000,-1044153095.99,19869290.14,496732.25,41394.35,NULL,NULL,1,'2016-02-11 04:41:55',NULL,'2016-02-11 13:41:49',0,0,'');
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trigger_before_insert_zakat_summary_add_serialNo` BEFORE INSERT ON `zakat_summary`

 FOR EACH ROW set new.serialNo = (select nextSerialNo 

			   from view_serial_zakat 

			   where companyID = new.companyID) */;;
DELIMITER ;

--
-- Final view structure for view `view_account_balance`
--

/*!50001 DROP TABLE IF EXISTS `view_account_balance`*/;
/*!50001 DROP VIEW IF EXISTS `view_account_balance`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_account_balance` AS select `a`.`companyID` AS `companyID`,`a`.`acctID` AS `acctID`,concat(left(`b`.`acctCode`,4),'-',substr(`b`.`acctCode`,4,3),'-',right(`b`.`acctCode`,2),' ',`b`.`acctName`) AS `acctName`,`a`.`year` AS `year`,`a`.`period` AS `period`,sum(`a`.`total`) AS `closing` from (`comp_acc_det` `a` join `comp_chart_of_acct` `b`) where (`b`.`ID` = `a`.`acctID`) group by `a`.`companyID`,`a`.`acctID`,`b`.`acctName`,`a`.`year`,`a`.`period` */;

--
-- Final view structure for view `view_ar_inventory`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_inventory`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_inventory`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_ar_inventory` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,concat(`comp_sales_invoice`.`formNo`,'[',convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesinvoiceDate`,`comp_sales_invoice`.`totalReceivable` AS `totalReceivable` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` > 0) */;

--
-- Final view structure for view `view_ar_open_position`
--

/*!50001 DROP TABLE IF EXISTS `view_ar_open_position`*/;
/*!50001 DROP VIEW IF EXISTS `view_ar_open_position`*/;

--
-- Final view structure for view `view_balance_sheet`
--

/*!50001 DROP TABLE IF EXISTS `view_balance_sheet`*/;
/*!50001 DROP VIEW IF EXISTS `view_balance_sheet`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_balance_sheet` AS select `a`.`acctCode` AS `acctCode`,`a`.`acctName` AS `acctName`,`a`.`acctGroupID` AS `acctGroupID`,sum(`b`.`amountdr`) AS `currentyeardebit`,sum(`b`.`amountcr`) AS `currentyearcredit`,sum(`c`.`amountdr`) AS `lastyeardebit`,sum(`c`.`amountcr`) AS `lastyearcredit` from ((`comp_chart_of_acct` `a` left join `comp_acc_det` `b` on(((`b`.`acctID` = `a`.`ID`) and (`b`.`year` = 2014) and (`b`.`period` <= 9)))) left join `comp_acc_det` `c` on(((`c`.`acctID` = `a`.`ID`) and (`c`.`year` < 2014)))) where (`a`.`companyID` = '110') group by `a`.`acctCode` */;

--
-- Final view structure for view `view_bank_reconcile`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile`*/;

--
-- Final view structure for view `view_bank_reconcile_reverse`
--

/*!50001 DROP TABLE IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 DROP VIEW IF EXISTS `view_bank_reconcile_reverse`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_bank_reconcile_reverse` AS select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_cash_sales' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`salesInvoiceDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`paymentFrom` AS `description`,`a`.`totalAmountIncludeTax` AS `debitAmount`,0 AS `creditAmount` from `comp_cash_sales` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`customerName` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`customerID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_receive_payment_others' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`receivePaymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`receiveFrom` AS `description`,`a`.`totalReceived` AS `debitAmount`,0 AS `creditAmount` from `comp_receive_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`b`.`supplierName` AS `description`,0 AS `debitAmount`,`a`.`totalPaid` AS `creditAmount` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`bankReconcileID` <> 0) and (`a`.`supplierID` = `b`.`ID`)) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_payment_others' AS `tableName`,`a`.`bankId` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`paymentDate` AS `transDate`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`payTo` AS `description`,0 AS `debitAmount`,`a`.`amountPaid` AS `creditAmount` from `comp_payment_others` `a` where (`a`.`bankReconcileID` <> 0) union select `a`.`bankReconcileID` AS `bankReconcileID`,`a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,'comp_unpresented_check' AS `tableName`,`a`.`bankID` AS `bankID`,`a`.`referenceNo` AS `referenceNo`,`a`.`transDate` AS `transDate`,concat(`a`.`transNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`desc` AS `description`,`a`.`debit` AS `debitAmount`,`a`.`credit` AS `creditAmount` from `comp_unpresented_check` `a` where (`a`.`bankReconcileID` <> 0) */;

--
-- Final view structure for view `view_chart_of_acct_updateable`
--

/*!50001 DROP TABLE IF EXISTS `view_chart_of_acct_updateable`*/;
/*!50001 DROP VIEW IF EXISTS `view_chart_of_acct_updateable`*/;

--
-- Final view structure for view `view_comp_acc_det`
--

/*!50001 DROP TABLE IF EXISTS `view_comp_acc_det`*/;
/*!50001 DROP VIEW IF EXISTS `view_comp_acc_det`*/;

--
-- Final view structure for view `view_customer_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_aging`*/;

--
-- Final view structure for view `view_customer_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_customer_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_customer_statement`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_customer_statement` AS select `comp_sales_invoice`.`ID` AS `ID`,`comp_sales_invoice`.`ID` AS `parent`,`comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`customerID` AS `customerID`,'Invoice' AS `transType`,`comp_sales_invoice`.`salesInvoiceDate` AS `transDate`,`comp_sales_invoice`.`customerPoNo` AS `refNo`,concat(concat(concat(`comp_sales_invoice`.`formNo`,'['),convert(lpad(`comp_sales_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`comp_sales_invoice`.`totalamount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_sales_debitnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `a`.`ID` AS `ID`,`a`.`salesInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_sales_creditnote` `a` join `comp_sales_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`b`.`ID` = `a`.`salesInvoiceID`)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`receivePaymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalReceived` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Discount' AS `transType`,`b`.`receivePaymentDate` AS `transDate`,NULL AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`b`.`totalDiscount` AS `cr`,4 AS `seq` from `comp_receive_payment` `b` where ((`b`.`totalDiscount` > 0) and (`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `b`.`ID` AS `ID`,0 AS `parent`,`b`.`companyID` AS `companyID`,`b`.`customerID` AS `customerID`,'Historical Invoice' AS `transType`,`b`.`salesInvoiceDate` AS `transDate`,`b`.`customerPoNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalAmount` AS `dr`,NULL AS `cr`,1 AS `seq` from `comp_historical_customer_invoice` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_expence_and_income`
--

/*!50001 DROP TABLE IF EXISTS `view_expence_and_income`*/;
/*!50001 DROP VIEW IF EXISTS `view_expence_and_income`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_expence_and_income` AS select `a`.`companyID` AS `companyid`,`a`.`year` AS `year`,`a`.`period` AS `period`,`c`.`ID` AS `groupID`,`c`.`acctTypeID` AS `acctType`,coalesce(sum(`a`.`amountdr`),0) AS `totalDr`,coalesce(sum(`a`.`amountcr`),0) AS `totalCr`,if((`c`.`acctTypeID` = 3),(coalesce(sum(`a`.`amountcr`),0) - coalesce(sum(`a`.`amountdr`),0)),(coalesce(sum(`a`.`amountdr`),0) - coalesce(sum(`a`.`amountcr`),0))) AS `balance` from ((`comp_acc_det` `a` join `comp_chart_of_acct` `b`) join `_ref_acct_group` `c`) where ((`b`.`ID` = `a`.`acctID`) and (`c`.`ID` = `b`.`acctGroupID`) and (`c`.`acctTypeID` in (3,4)) and (`c`.`title` = 1) and (`a`.`period` > 0) and (`b`.`companyID` > 0)) group by `a`.`companyID`,`a`.`year`,`a`.`period`,`acctType` */;

--
-- Final view structure for view `view_gaf`
--

/*!50001 DROP TABLE IF EXISTS `view_gaf`*/;
/*!50001 DROP VIEW IF EXISTS `view_gaf`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gaf` AS select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`invoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_invoice` `b`) join `comp_supplier_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_debitnote` `b`) join `comp_supplier_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'P' AS `col1`,`a`.`supplierName` AS `col2`,`a`.`supplierCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,'import declaration number' AS `col6`,`c`.`lineNo` AS `col7`,`c`.`itemdescription` AS `col8`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col9`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col10`,`e`.`code` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((`supplier` `a` join `comp_supplier_creditnote` `b`) join `comp_supplier_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) where ((`a`.`ID` = `b`.`supplierID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`g`.`description` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from ((((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) join `item` `g`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`) and (`g`.`ID` = `c`.`itemID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`salesInvoiceDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`chargeDescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_invoice` `b`) join `comp_sales_invoice_charges` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`invoiceID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`debitNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_debitnote` `b`) join `comp_sales_debitnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`debitnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) union select `a`.`companyID` AS `companyID`,'S' AS `col1`,`a`.`customerName` AS `col2`,`a`.`customerCompanyNo` AS `col3`,`b`.`creditNoteDate` AS `col4`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `col5`,`c`.`lineNo` AS `col6`,`c`.`itemdescription` AS `col7`,(`c`.`amountExcludedTax` * `b`.`exchangeRate`) AS `col8`,(`c`.`taxAmount` * `b`.`exchangeRate`) AS `col9`,`e`.`code` AS `col10`,`f`.`fldcountry` AS `col11`,`d`.`fldcurr_code` AS `col12`,`c`.`amountExcludedTax` AS `col13`,`c`.`taxAmount` AS `col14` from (((((`customer` `a` join `comp_sales_creditnote` `b`) join `comp_sales_creditnote_detail` `c`) join `_ref_currency` `d`) join `tax_master` `e`) join `_ref_country` `f`) where ((`a`.`ID` = `b`.`customerID`) and (`b`.`ID` = `c`.`creditnoteID`) and (`d`.`fldid` = `a`.`currencyID`) and (`e`.`ID` = `c`.`taxID`) and (`f`.`fldid` = `a`.`customerCountryID`)) */;

--
-- Final view structure for view `view_grn_report`
--

/*!50001 DROP TABLE IF EXISTS `view_grn_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_grn_report`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_grn_report` AS select `po`.`companyID` AS `companyID`,`um`.`code` AS `unitMesure`,`podet`.`ID` AS `ID`,`i`.`itemCode` AS `itemCode`,`i`.`name` AS `itemName`,concat(`po`.`formNo`,'[',convert(lpad(`po`.`serialNo`,8,0) using latin1),']') AS `poNo`,date_format(`po`.`poDate`,'%d-%m-%Y') AS `PoDate`,`podet`.`unitPrice` AS `unitPrice`,`podet`.`quantityOrder` AS `quantityOrder`,((`podet`.`quantityOrder` - `podet`.`quantityReceivedTotal`) * `podet`.`unitPrice`) AS `total`,sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)) AS `totalRcv`,(`podet`.`quantityOrder` - ifnull(sum(round((`ridet`.`quantityReceived` / ifnull(`umconv`.`factor`,1)),0)),0)) AS `QtyLeft`,`podet`.`itemID` AS `itemID` from ((((((`comp_purchase_order_detail` `podet` left join `comp_purchase_order` `po` on((`po`.`ID` = `podet`.`purchaseOrderID`))) left join `comp_receive_item_detail` `ridet` on((`ridet`.`poDetailID` = `podet`.`ID`))) left join `comp_receive_item` `ri` on((`ri`.`ID` = `ridet`.`receiveID`))) left join `item` `i` on((`i`.`ID` = `podet`.`itemID`))) left join `_sys_um` `um` on((`um`.`fldid` = `podet`.`umID`))) left join `_sys_um_conv` `umconv` on(((`umconv`.`itemID` = `podet`.`itemID`) and (`umconv`.`from_um` = `ridet`.`standUM`) and (`umconv`.`to_um` = `ridet`.`umID`) and (`umconv`.`companyID` = `po`.`companyID`)))) where ((`po`.`updateAble` = 0) and (`ri`.`updateAble` = 0)) group by `podet`.`ID` */;

--
-- Final view structure for view `view_gst_03_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_03_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_03_summary`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_03_summary` AS select `view_gst_report`.`companyid` AS `companyID`,`view_gst_report`.`financialYear` AS `financialYear`,`view_gst_report`.`period` AS `period`,sum(`view_gst_report`.`A1`) AS `totalA1`,sum(`view_gst_report`.`A2`) AS `totalA2`,sum(`view_gst_report`.`B5a`) AS `totalB5a`,sum(`view_gst_report`.`B5b`) AS `totalB5b`,sum(`view_gst_report`.`B6a`) AS `totalB6a`,sum(`view_gst_report`.`B6b`) AS `totalB6b`,sum(`view_gst_report`.`B7`) AS `totalB7`,sum(`view_gst_report`.`B8`) AS `totalB8`,sum(`view_gst_report`.`C10`) AS `totalC10`,sum(`view_gst_report`.`C11`) AS `totalC11`,sum(`view_gst_report`.`C12`) AS `totalC12`,sum(`view_gst_report`.`C13`) AS `totalC13`,sum(`view_gst_report`.`C14`) AS `totalC14`,sum(`view_gst_report`.`C15`) AS `totalC15`,sum(`view_gst_report`.`C16`) AS `totalC16`,sum(`view_gst_report`.`C17`) AS `totalC17`,sum(`view_gst_report`.`month6`) AS `totalMonth6`,sum(`view_gst_report`.`C18`) AS `totalC18` from `view_gst_report` group by `view_gst_report`.`companyid`,`view_gst_report`.`financialYear`,`view_gst_report`.`period` */;

--
-- Final view structure for view `view_gst_report`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_report`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_report`*/;

--
-- Final view structure for view `view_gst_rpt_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_rpt_summary`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_rpt_summary` AS select `view_gst_tax`.`companyID` AS `companyID`,year(`view_gst_tax`.`transDate`) AS `year`,month(`view_gst_tax`.`transDate`) AS `month`,`view_gst_tax`.`taxID` AS `taxID`,`view_gst_tax`.`gst` AS `gst`,sum(`view_gst_tax`.`amountExcludedTax`) AS `amtExTax`,sum(`view_gst_tax`.`taxAmount`) AS `amtTax`,sum(`view_gst_tax`.`amountIncludedTax`) AS `amtIncTax` from `view_gst_tax` group by `view_gst_tax`.`companyID`,year(`view_gst_tax`.`transDate`),month(`view_gst_tax`.`transDate`),`view_gst_tax`.`taxID`,`view_gst_tax`.`gst` */;

--
-- Final view structure for view `view_gst_tax`
--

/*!50001 DROP TABLE IF EXISTS `view_gst_tax`*/;
/*!50001 DROP VIEW IF EXISTS `view_gst_tax`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_gst_tax` AS select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_sales_invoice` `a` join `comp_sales_invoice_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_sales_invoice` `a` join `comp_sales_invoice_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `taxAmount`,(`b`.`amountIncludedTax` * -(1)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_sales_creditnote` `a` join `comp_sales_creditnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b`) join `customer` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Sales Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`customerID` AS `customerID`,`d`.`customerName` AS `customerName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_charges` `b`) join `customer` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Invoice' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`invoiceDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_supplier_invoice` `a` join `comp_supplier_invoice_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Credit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`creditNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_detail` `b`) join `supplier` `d`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Purchase Debit Note' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`debitNoteDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`d`.`supplierName` AS `supplierName`,`b`.`itemdescription` AS `itemName`,(`b`.`amountExcludedTax` * -(1)) AS `b.amountExcludedTax * -1`,`b`.`taxRate` AS `taxRate`,(`b`.`taxAmount` * -(1)) AS `b.taxAmount * -1`,(`b`.`amountIncludedTax` * -(1)) AS `b.amountIncludedTax * -1`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `supplier` `d`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `d`.`ID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`d`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Payment' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `NULL`,`a`.`payTo` AS `supplierName`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Sales' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`salesInvoiceDate` AS `transDate`,NULL AS `customerID`,`a`.`paymentFrom` AS `customerName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_cash_sales` `a` join `comp_cash_sales_detail` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`invoiceID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Other Receive' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`receivePaymentDate` AS `transDate`,NULL AS `customerID`,`a`.`receiveFrom` AS `customerName`,`b`.`description` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `b`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,`a`.`type` AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`date` AS `transDate`,NULL AS `supplierID`,`a`.`vendor_cust_name` AS `supplierName`,`b`.`description` AS `itemName`,if((`a`.`reverse` > 0),(`a`.`based_amount` * -(1)),`a`.`based_amount`) AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,if((`a`.`reverse` > 0),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) * -(1)),if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`)) AS `taxAmount`,if((`a`.`reverse` > 0),((if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`) * -(1)),(if((`b`.`taxAmountDr` > 0),`b`.`taxAmountDr`,`b`.`taxAmountCr`) + `a`.`based_amount`)) AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from ((((((`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`gstTransID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `b`.`lineNo` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Cash Purchase' AS `transType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `ref`,`a`.`paymentDate` AS `transDate`,NULL AS `supplierID`,`a`.`payTo` AS `supplierName`,concat(`e`.`name`,' / ',`e`.`itemCode`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxRate` AS `taxRate`,`b`.`taxAmount` AS `taxAmount`,`b`.`amountIncludedTax` AS `amountIncludedTax`,`b`.`taxID` AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) join `item` `e`) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`e`.`ID` = `b`.`itemID`) and (`f`.`ID` = `b`.`taxID`) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`f`.`taxClass` = 1) and (`b`.`taxID` > 0) and (`a`.`updateAble` = 0) and (`e`.`companyID` = `a`.`companyID`) and (`f`.`companyID` = `a`.`companyID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8)) and (`j`.`status` = 1)) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`totalReceivable`,2) / round(`b`.`totalamount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`) * 106) / 6) - ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) + ((`b`.`totalReceivable` / `b`.`totalamount`) * `b`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst` from (((((((`comp_sales_bad_debt` `a` join `comp_sales_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`a`.`updateAble` = 0) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,NULL AS `supplierID`,`c`.`customerName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalamount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalamount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_sales_debt_recover` `a` join `comp_receive_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_sales_invoice` `y` on((`y`.`ID` = `b`.`invoiceID`))) join `customer` `c` on((`c`.`ID` = `a`.`custID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt relief' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`supplierID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`b`.`formNo`,'[',convert(lpad(`b`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2) AS `taxAmount`,(round((((((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2)) * 106) / 6) - ((round((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)),2) / round(`b`.`totalAmount`,2)) * round(`b`.`totalTaxAmount`,2))),2) + round((((`b`.`totalPayable` + ifnull(sum(`p`.`amountApplied`),0)) / `b`.`totalAmount`) * `b`.`totalTaxAmount`),2)) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst` from (((((((((`comp_purchase_bad_debt` `a` join `comp_supplier_invoice` `b` on((`b`.`badDebtID` = `a`.`ID`))) join `comp_payment_detail` `p` on((`p`.`purchaseInvoiceID` = `b`.`ID`))) join `comp_payment` `pay` on(((`pay`.`ID` = `p`.`paymentID`) and (`pay`.`paymentDate` > `a`.`transDate`)))) join `supplier` `c` on((`c`.`ID` = `a`.`supplierID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJS') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) group by `p`.`purchaseInvoiceID` union select `a`.`ID` AS `lineNo`,`a`.`companyID` AS `companyID`,`f`.`taxClass` AS `taxClass`,`h`.`description` AS `taxClassName`,`f`.`taxGroup` AS `taxGroup`,`i`.`description` AS `taxGroupName`,`f`.`taxType` AS `taxType`,`g`.`description` AS `taxTypeName`,'Supplier Bad debt Recover' AS `transType`,`a`.`journalNo` AS `ref`,`a`.`transDate` AS `transDate`,`a`.`suppID` AS `supplierID`,`c`.`supplierName` AS `supplierName`,concat(`y`.`formNo`,'[',convert(lpad(`y`.`serialNo`,8,'0') using latin1),']') AS `itemName`,round((((((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2)) * 106) / 6) - ((round(`b`.`amountApplied`,2) / round(`y`.`totalAmount`,2)) * round(`y`.`totalTaxAmount`,2))),2) AS `amountExcludedTax`,`f`.`taxPercentage` AS `taxRate`,round(((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`),2) AS `taxAmount`,round((round((((((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`) * 106) / 6) - ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) + ((`b`.`amountApplied` / `y`.`totalAmount`) * `y`.`totalTaxAmount`)),2) AS `amountIncludedTax`,NULL AS `taxID`,`f`.`code` AS `gst` from ((((((((`comp_purchase_debt_recover` `a` join `comp_payment_detail` `b` on((`b`.`debtRecoverID` = `a`.`ID`))) left join `comp_supplier_invoice` `y` on((`y`.`ID` = `b`.`purchaseInvoiceID`))) join `supplier` `c` on((`c`.`ID` = `a`.`suppID`))) join `tax_master` `f`) join `tax_type` `g`) join `tax_class` `h`) join `tax_group` `i`) join `comp_journal` `j`) where ((`f`.`companyID` = `a`.`companyID`) and (`f`.`code` = 'AJP') and (`a`.`updateAble` = 0) and (`f`.`taxType` = `g`.`ID`) and (`f`.`taxClass` = `h`.`ID`) and (`f`.`taxGroup` = `i`.`ID`) and (`j`.`companyID` = `a`.`companyID`) and (`j`.`journalID` = convert(`a`.`journalNo` using utf8))) */;

--
-- Final view structure for view `view_inventory_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_statement`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventory_statement` AS select `a`.`companyID` AS `companyID`,`a`.`deliveryDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`supplierName` AS `supplierCustomer`,1 AS `transactionCode`,'Purchase' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantityReceived` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on((`a`.`ID` = `b`.`receiveID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `supplier` `g`) where ((`f`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`supplierID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`adjustmentDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,2 AS `transactionCode`,'stockAdjustment' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,if(((`b`.`counted` - `b`.`qtyOnHand`) > 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityIn`,if(((`b`.`counted` - `b`.`qtyOnHand`) < 0),(`b`.`counted` - `b`.`qtyOnHand`),NULL) AS `quantityOut`,`a`.`updateAble` AS `updateable` from (((((`item_adjustment` `a` left join `item_adjustment_detail` `b` on((`a`.`ID` = `b`.`adjustmentID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) left join `tbl_location` `d` on((`d`.`fldid` = `a`.`locationID`))) left join `_sys_um` `e` on((`e`.`fldid` = `b`.`unitOfMeasureID`))) union select `a`.`companyID` AS `companyID`,`a`.`deliveryOrderDate` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`g`.`customerName` AS `supplierCustomer`,3 AS `transactionCode`,'Sale' AS `transactionType`,`a`.`formNo` AS `formNo`,`a`.`locationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantitySent` * -(1)) AS `quantityOut`,`a`.`updateAble` AS `updateable` from ((((((`comp_delivery_order` `a` left join `comp_delivery_detail` `b` on((`a`.`ID` = `b`.`deliveryID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) left join `item_details` `f` on((`c`.`ID` = `f`.`itemID`))) join `tbl_location` `d`) join `_sys_um` `e`) join `customer` `g`) where ((`a`.`locationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`) and (`a`.`customerID` = `f`.`ID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,4 AS `transactionCode`,'TransferOut' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`fromLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,NULL AS `quantityIn`,(`b`.`quantity` * -(1)) AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) union select `a`.`companyID` AS `companyID`,`a`.`dateTransfer` AS `transactionDate`,`b`.`itemID` AS `itemID`,`c`.`name` AS `name`,`d`.`desc` AS `supplierCustomer`,5 AS `transactionCode`,'TransferIn' AS `transactionType`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`ID`,8,'0') using latin1),']') AS `formNo`,`a`.`toLocationID` AS `locationID`,`d`.`desc` AS `location`,`e`.`desc` AS `unitOfMeasure`,`b`.`quantity` AS `quantityIn`,NULL AS `quantityOut`,`a`.`updateable` AS `updateable` from ((((`comp_location_transfer` `a` left join `comp_location_transfer_detail` `b` on((`a`.`ID` = `b`.`locationTransferID`))) left join `item` `c` on((`b`.`itemID` = `c`.`ID`))) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`fromLocationID` = `d`.`fldid`) and (`e`.`fldid` = `c`.`unitOfMeasureID`)) */;

--
-- Final view structure for view `view_inventory_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_inventory_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventory_transaction`*/;

--
-- Final view structure for view `view_inventorylist_subtotal`
--

/*!50001 DROP TABLE IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 DROP VIEW IF EXISTS `view_inventorylist_subtotal`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_inventorylist_subtotal` AS select `a`.`companyID` AS `companyid`,sum(`b`.`balanceItem`) AS `quantity`,`a`.`locationID` AS `locationid`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`d`.`name` AS `category`,`b`.`description` AS `description`,sum((`b`.`balanceItem` * `b`.`unitPrice`)) AS `stockValue` from (((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) join `comp_item_category` `d`) where ((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0) and (`c`.`ID` = `b`.`itemID`) and (`c`.`itemCategoryID` = `d`.`ID`)) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemName`,`category`,`b`.`description` */;

--
-- Final view structure for view `view_item_details`
--

/*!50001 DROP TABLE IF EXISTS `view_item_details`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_details`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_details` AS select `b`.`companyID` AS `companyid`,`a`.`itemID` AS `itemid`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`c`.`description` AS `description`,`b`.`locationID` AS `locationid`,sum(`a`.`balanceItem`) AS `onHandQty`,`a`.`umID` AS `umID`,`c`.`inventoriesID` AS `acctID`,`d`.`code` AS `location`,`e`.`code` AS `unitOfMeasure` from ((((`comp_receive_item_detail` `a` join `comp_receive_item` `b`) join `item` `c`) join `tbl_location` `d`) join `_sys_um` `e`) where ((`a`.`receiveID` = `b`.`ID`) and (`a`.`itemID` = `c`.`ID`) and (`d`.`fldid` = `b`.`locationID`) and (`e`.`fldid` = `a`.`umID`) and (`a`.`balanceItem` > 0)) group by `b`.`companyID`,`a`.`itemID`,`a`.`itemName`,`c`.`description`,`b`.`locationID`,`a`.`umID`,`acctID`,`location`,`unitOfMeasure` */;

--
-- Final view structure for view `view_item_quantityonhand`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on(((`a`.`ID` = `b`.`receiveID`) and (`b`.`balanceItem` > 0)))) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;

--
-- Final view structure for view `view_item_quantityonhand_confirm`
--

/*!50001 DROP TABLE IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 DROP VIEW IF EXISTS `view_item_quantityonhand_confirm`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_item_quantityonhand_confirm` AS select `a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`b`.`itemID` AS `itemID`,`b`.`itemCode` AS `itemCode`,`b`.`itemName` AS `itemName`,`b`.`umID` AS `umID`,sum(`b`.`balanceItem`) AS `quantityOnHand` from (`comp_receive_item` `a` left join `comp_receive_item_detail` `b` on((`a`.`ID` = `b`.`receiveID`))) where ((`a`.`updateAble` = 0) and (`b`.`balanceItem` > 0)) group by `a`.`companyID`,`a`.`locationID`,`b`.`itemID`,`b`.`itemCode`,`b`.`itemName`,`b`.`umID` */;

--
-- Final view structure for view `view_journal_table`
--

/*!50001 DROP TABLE IF EXISTS `view_journal_table`*/;
/*!50001 DROP VIEW IF EXISTS `view_journal_table`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_journal_table` AS select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_cash_sales' AS `tableName`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_cash_sales` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment' AS `comp_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_payment_others' AS `comp_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`formNo` AS `referenceNo`,'comp_purchase_order' AS `comp_purchase_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_purchase_order` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment' AS `comp_receive_payment`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`referenceNo` AS `referenceNo`,'comp_receive_payment_others' AS `comp_receive_payment_others`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_payment_others` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_creditnote' AS `comp_sales_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_sales_debitnote' AS `comp_sales_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`customerPoNo` AS `referenceNo`,'comp_sales_invoice' AS `comp_sales_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_sales_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_creditnote' AS `comp_supplier_creditnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_creditnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_supplier_debitnote' AS `comp_supplier_debitnote`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_debitnote` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierInvoiceNo` AS `referenceNo`,'comp_supplier_invoice' AS `comp_supplier_invoice`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_supplier_invoice` `a` join `comp_journal` `b`) where ((convert(`a`.`journalNo` using utf8) = `b`.`journalID`) and (`a`.`is_delete` = 0)) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`b`.`formNo` AS `referenceNo`,'comp_delivery_order' AS `comp_delivery_order`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_delivery_order` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`reference` AS `referenceNo`,'comp_gst_transaction' AS `comp_gst_transaction`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_gst_transaction` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) union select distinct `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,`a`.`supplierDoNo` AS `referenceNo`,'comp_receive_item' AS `comp_receive_item`,`b`.`journalID` AS `journalID`,`b`.`formNo` AS `formNo` from (`comp_receive_item` `a` join `comp_journal` `b`) where (convert(`a`.`journalNo` using utf8) = `b`.`journalID`) */;

--
-- Final view structure for view `view_open_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_open_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_open_ar_invoice`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_open_ar_invoice` AS select `comp_sales_invoice`.`companyID` AS `companyID`,`comp_sales_invoice`.`salesInvoiceDate` AS `salesInvoiceDate`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `salesYear`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%m') AS `salesMonth`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%b') AS `slsMonth`,(`comp_sales_invoice`.`totalReceivable` * if((`comp_sales_invoice`.`exchangeRate` = 0),1,`comp_sales_invoice`.`exchangeRate`)) AS `totalAmount` from `comp_sales_invoice` where (`comp_sales_invoice`.`totalReceivable` <> 0) */;

--
-- Final view structure for view `view_salescreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salescreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salescreditnote`*/;

--
-- Final view structure for view `view_salesdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_salesdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_salesdebitnote`*/;

--
-- Final view structure for view `view_search`
--

/*!50001 DROP TABLE IF EXISTS `view_search`*/;
/*!50001 DROP VIEW IF EXISTS `view_search`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_search` AS select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'arTransaction/editcashsale/','arReports/cashsalelistDetail/'),`a`.`ID`) AS `searchLink`,concat('Cash Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`paymentFrom`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from `comp_cash_sales` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'sotransaction/SalesDO/','soreport/DeliveryOrderDetail/'),`a`.`ID`) AS `searchLink`,concat('Delivery Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`deliveryOrderDate` AS `transDate` from (`comp_delivery_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateable` = 1),'locationtransfer/edit/','locationtransfer/reportdetail/'),`a`.`ID`) AS `searchLink`,concat('Inventory Transfer&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(`a`.`formNo` using utf8),'[',convert(lpad(`a`.`serialNo`,8,'0') using utf8),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`dateTransfer`,'%d/%m/%Y') using utf8),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`code`,'&nbsp',`b`.`desc`) AS `searchKey`,`a`.`dateTransfer` AS `transDate` from (`comp_location_transfer` `a` join `tbl_location` `b`) where (`a`.`fromLocationID` = `b`.`fldid`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editPayment/','Apreports/supplierpaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'othersPayment/editPayWithoutItem/','othersPayment/otherpaywithoutDetail/'),`a`.`ID`) AS `searchLink`,concat('Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`payTo`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from `comp_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'PO_Transaction/edit/','purchaseReports/PODetails/'),`a`.`ID`) AS `searchLink`,concat('Purchase Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`poDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`poDate` AS `transDate` from (`comp_purchase_order` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesQuotationDetail/',`a`.`ID`) AS `searchLink`,concat('Quotation&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`quotationDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`quotationDate` AS `transDate` from (`comp_quotation` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'receiveItems/editReceiveItem/','receiveItems/ReceiveItemDetails/'),`a`.`ID`) AS `searchLink`,concat('Receive Item&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`deliveryDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`deliveryDate` AS `transDate` from (`comp_receive_item` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editReceivePayment/','arReports/compRecPaymentDetail/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'gltransaction/editotherreceive/','glreports/otherReceiveAdviceRpt/'),`a`.`ID`) AS `searchLink`,concat('Receive Payment Others&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`receiveFrom`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from `comp_receive_payment_others` `a` union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleCreditNote/','arreports/salescreditnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_sales_creditnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'artransaction/editSaleDebitNote/','arreports/salesdebitnoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Sales Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_sales_debitnote` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('arReports/salesInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesInvoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesInvoiceDate` AS `transDate` from (`comp_sales_invoice` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('soreport/SalesOrderDetail/',`a`.`ID`) AS `searchLink`,concat('Sales Order&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`salesOrderDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`customerName`) AS `searchKey`,`a`.`salesOrderDate` AS `transDate` from (`comp_sales_order` `a` join `customer` `b`) where (`a`.`customerID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editCreditNote/','Apreports/creditNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Credit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`creditNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`creditNoteDate` AS `transDate` from (`comp_supplier_creditnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat(if((`a`.`updateAble` = 1),'aptransaction/editDebitNote/','Apreports/debitNoteDetail/'),`a`.`ID`) AS `searchLink`,concat('Supplier Debit Note&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`debitNoteDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`debitNoteDate` AS `transDate` from (`comp_supplier_debitnote` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('apreports/purchaseInvoiceDetail/',`a`.`ID`) AS `searchLink`,concat('Purchase Invoice&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`invoiceDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`supplierName`) AS `searchKey`,`a`.`invoiceDate` AS `transDate` from (`comp_supplier_invoice` `a` join `supplier` `b`) where (`a`.`supplierID` = `b`.`ID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('glreports/otherReceiveAdviceRpt/',`a`.`ID`) AS `searchLink`,concat('Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`receivePaymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`description`) AS `searchKey`,`a`.`receivePaymentDate` AS `transDate` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where (`a`.`ID` = `b`.`receivePaymentOthersID`) union select `a`.`ID` AS `ID`,`a`.`companyID` AS `companyID`,concat('othersPayment/otherpaywithoutDetail/',`a`.`ID`) AS `searchLink`,concat('Sale&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',convert(date_format(`a`.`paymentDate`,'%d/%m/%Y') using latin1),'&nbsp<i class="i-play" aria-hidden="true"></i>&nbsp',`b`.`itemdescription`) AS `searchKey`,`a`.`paymentDate` AS `transDate` from (`comp_payment_others` `a` join `comp_payment_others_without_item` `b`) where (`a`.`ID` = `b`.`otherPaymentID`) */;

--
-- Final view structure for view `view_serial_comp_cash_sales`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_cash_sales`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_cash_sales`*/;

--
-- Final view structure for view `view_serial_comp_delivery_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_delivery_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_delivery_order`*/;

--
-- Final view structure for view `view_serial_comp_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_gst_transaction`*/;

--
-- Final view structure for view `view_serial_comp_historical_customer_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_customer_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_customer_invoice`*/;

--
-- Final view structure for view `view_serial_comp_historical_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_historical_supplier_invoice`*/;

--
-- Final view structure for view `view_serial_comp_location_transfer`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_location_transfer`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_location_transfer`*/;

--
-- Final view structure for view `view_serial_comp_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment`*/;

--
-- Final view structure for view `view_serial_comp_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_payment_others`*/;

--
-- Final view structure for view `view_serial_comp_purchase_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_purchase_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_purchase_order`*/;

--
-- Final view structure for view `view_serial_comp_quotation`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_quotation`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_quotation`*/;

--
-- Final view structure for view `view_serial_comp_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_item`*/;

--
-- Final view structure for view `view_serial_comp_receive_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment`*/;

--
-- Final view structure for view `view_serial_comp_receive_payment_others`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_receive_payment_others`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_receive_payment_others`*/;

--
-- Final view structure for view `view_serial_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_creditnote`*/;

--
-- Final view structure for view `view_serial_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_debitnote`*/;

--
-- Final view structure for view `view_serial_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_invoice`*/;

--
-- Final view structure for view `view_serial_comp_sales_order`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_sales_order`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_sales_order`*/;

--
-- Final view structure for view `view_serial_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_creditnote`*/;

--
-- Final view structure for view `view_serial_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_debitnote`*/;

--
-- Final view structure for view `view_serial_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_comp_supplier_invoice`*/;

--
-- Final view structure for view `view_serial_zakat`
--

/*!50001 DROP TABLE IF EXISTS `view_serial_zakat`*/;
/*!50001 DROP VIEW IF EXISTS `view_serial_zakat`*/;

--
-- Final view structure for view `view_supplier_aging`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_aging`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_aging`*/;

--
-- Final view structure for view `view_supplier_statement`
--

/*!50001 DROP TABLE IF EXISTS `view_supplier_statement`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplier_statement`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_supplier_statement` AS select `comp_supplier_invoice`.`ID` AS `ID`,`comp_supplier_invoice`.`ID` AS `parent`,`comp_supplier_invoice`.`companyID` AS `companyID`,`comp_supplier_invoice`.`supplierID` AS `supplierID`,'Invoice' AS `transType`,`comp_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'DebitNote' AS `transType`,`a`.`debitNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`totalAmount` AS `dr`,NULL AS `cr`,2 AS `seq` from (`comp_supplier_debitnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `a`.`ID` AS `ID`,`a`.`supplierInvoiceID` AS `parent`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,'CreditNote' AS `transType`,`a`.`creditNoteDate` AS `transDate`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `refno`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`a`.`totalAmount` AS `cr`,3 AS `seq` from (`comp_supplier_creditnote` `a` join `comp_supplier_invoice` `b`) where ((`a`.`updateAble` = 0) and (`a`.`is_delete` = 0) and (`a`.`supplierInvoiceID` = `b`.`ID`)) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,if((`b`.`updateAble` = 0),'Payment','** Payment') AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`amountPaid` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where (`b`.`is_delete` = 0) union select `b`.`ID` AS `ID`,NULL AS `parent`,`b`.`companyID` AS `companyID`,`b`.`supplierID` AS `supplierID`,'Discount' AS `transType`,`b`.`paymentDate` AS `transDate`,`b`.`referenceNo` AS `refNo`,concat(concat(concat(`b`.`formNo`,'['),convert(lpad(`b`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`totalDiscount` AS `dr`,NULL AS `cr`,4 AS `seq` from `comp_payment` `b` where ((`b`.`updateAble` = 0) and (`b`.`is_delete` = 0)) union select `comp_historical_supplier_invoice`.`ID` AS `ID`,`comp_historical_supplier_invoice`.`ID` AS `parent`,`comp_historical_supplier_invoice`.`companyID` AS `companyID`,`comp_historical_supplier_invoice`.`supplierID` AS `supplierID`,'Historical Invoice' AS `transType`,`comp_historical_supplier_invoice`.`invoiceDate` AS `transDate`,`comp_historical_supplier_invoice`.`supplierInvoiceNo` AS `refNo`,concat(concat(concat(`comp_historical_supplier_invoice`.`formNo`,'['),convert(lpad(`comp_historical_supplier_invoice`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,NULL AS `dr`,`comp_historical_supplier_invoice`.`totalAmount` AS `cr`,1 AS `seq` from `comp_historical_supplier_invoice` where ((`comp_historical_supplier_invoice`.`updateAble` = 0) and (`comp_historical_supplier_invoice`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_suppliercreditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_suppliercreditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_suppliercreditnote`*/;

--
-- Final view structure for view `view_supplierdebitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_supplierdebitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_supplierdebitnote`*/;

--
-- Final view structure for view `view_total_comp_sales_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_creditnote`*/;

--
-- Final view structure for view `view_total_comp_sales_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_debitnote`*/;

--
-- Final view structure for view `view_total_comp_sales_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_sales_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_sales_invoice`*/;

--
-- Final view structure for view `view_total_comp_supplier_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_creditnote`*/;

--
-- Final view structure for view `view_total_comp_supplier_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_debitnote`*/;

--
-- Final view structure for view `view_total_comp_supplier_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_total_comp_supplier_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_total_comp_supplier_invoice`*/;

--
-- Final view structure for view `view_transaction_summary`
--

/*!50001 DROP TABLE IF EXISTS `view_transaction_summary`*/;
/*!50001 DROP VIEW IF EXISTS `view_transaction_summary`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_transaction_summary` AS select 'comp_purchase_order' AS `tableName`,100 AS `transID`,`comp_purchase_order`.`companyID` AS `companyid`,date_format(`comp_purchase_order`.`poDate`,'%Y') AS `year`,count(if((month(`comp_purchase_order`.`poDate`) = 1),1,NULL)) AS `Jan`,count(if((month(`comp_purchase_order`.`poDate`) = 2),1,NULL)) AS `Feb`,count(if((month(`comp_purchase_order`.`poDate`) = 3),1,NULL)) AS `Mar`,count(if((month(`comp_purchase_order`.`poDate`) = 4),1,NULL)) AS `Apr`,count(if((month(`comp_purchase_order`.`poDate`) = 5),1,NULL)) AS `may`,count(if((month(`comp_purchase_order`.`poDate`) = 6),1,NULL)) AS `Jun`,count(if((month(`comp_purchase_order`.`poDate`) = 7),1,NULL)) AS `Jul`,count(if((month(`comp_purchase_order`.`poDate`) = 8),1,NULL)) AS `Aug`,count(if((month(`comp_purchase_order`.`poDate`) = 9),1,NULL)) AS `Sept`,count(if((month(`comp_purchase_order`.`poDate`) = 10),1,NULL)) AS `Oct`,count(if((month(`comp_purchase_order`.`poDate`) = 11),1,NULL)) AS `Nov`,count(if((month(`comp_purchase_order`.`poDate`) = 12),1,NULL)) AS `Dec` from `comp_purchase_order` where ((`comp_purchase_order`.`updateAble` = 0) and (`comp_purchase_order`.`is_delete` = 0)) group by `comp_purchase_order`.`companyID`,`year` union select 'comp_receive_item' AS `comp_receive_item`,200 AS `200`,`comp_receive_item`.`companyID` AS `companyid`,date_format(`comp_receive_item`.`deliveryDate`,'%Y') AS `year`,count(if((month(`comp_receive_item`.`deliveryDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_item`.`deliveryDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_item`.`deliveryDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_item`.`deliveryDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_item`.`deliveryDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_item`.`deliveryDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_item`.`deliveryDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_item`.`deliveryDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_item`.`deliveryDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_item`.`deliveryDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_item`.`deliveryDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_item`.`deliveryDate`) = 12),1,NULL)) AS `12` from `comp_receive_item` where ((`comp_receive_item`.`updateAble` = 0) and (`comp_receive_item`.`isDelete` = 0)) group by `comp_receive_item`.`companyID`,`year` union select 'comp_supplier_invoice' AS `comp_supplier_invoice`,300 AS `300`,`comp_supplier_invoice`.`companyID` AS `companyid`,date_format(`comp_supplier_invoice`.`invoiceDate`,'%Y') AS `year`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_invoice`.`invoiceDate`) = 12),1,NULL)) AS `12` from `comp_supplier_invoice` where ((`comp_supplier_invoice`.`updateAble` = 0) and (`comp_supplier_invoice`.`is_delete` = 0)) group by `comp_supplier_invoice`.`companyID`,`year` union select 'comp_supplier_debitNote' AS `comp_supplier_debitNote`,400 AS `400`,`comp_supplier_debitnote`.`companyID` AS `companyid`,date_format(`comp_supplier_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_debitnote` where ((`comp_supplier_debitnote`.`updateAble` = 0) and (`comp_supplier_debitnote`.`is_delete` = 0)) group by `comp_supplier_debitnote`.`companyID`,`year` union select 'comp_supplier_creditNote' AS `comp_supplier_creditNote`,500 AS `500`,`comp_supplier_creditnote`.`companyID` AS `companyid`,date_format(`comp_supplier_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_supplier_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_supplier_creditnote` where ((`comp_supplier_creditnote`.`updateAble` = 0) and (`comp_supplier_creditnote`.`is_delete` = 0)) group by `comp_supplier_creditnote`.`companyID`,`year` union select 'comp_payment' AS `comp_payment`,600 AS `600`,`comp_payment`.`companyID` AS `companyid`,date_format(`comp_payment`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment` where ((`comp_payment`.`updateAble` = 0) and (`comp_payment`.`is_delete` = 0)) group by `comp_payment`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,700 AS `700`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 1)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_payment_others' AS `comp_payment_others`,750 AS `750`,`comp_payment_others`.`companyID` AS `companyid`,date_format(`comp_payment_others`.`paymentDate`,'%Y') AS `year`,count(if((month(`comp_payment_others`.`paymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_payment_others`.`paymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_payment_others`.`paymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_payment_others`.`paymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_payment_others`.`paymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_payment_others`.`paymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_payment_others`.`paymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_payment_others`.`paymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_payment_others`.`paymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_payment_others`.`paymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_payment_others`.`paymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_payment_others`.`paymentDate`) = 12),1,NULL)) AS `12` from `comp_payment_others` where ((`comp_payment_others`.`updateAble` = 0) and (`comp_payment_others`.`is_delete` = 0) and (`comp_payment_others`.`otherPaymentType` = 0)) group by `comp_payment_others`.`companyID`,`year` union select 'comp_sales_order' AS `comp_sales_order`,800 AS `800`,`comp_sales_order`.`companyID` AS `companyid`,date_format(`comp_sales_order`.`salesOrderDate`,'%Y') AS `year`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_order`.`salesOrderDate`) = 12),1,NULL)) AS `12` from `comp_sales_order` where (`comp_sales_order`.`is_delete` = 0) group by `comp_sales_order`.`companyID`,`year` union select 'comp_delivery_order' AS `comp_delivery_order`,900 AS `900`,`comp_delivery_order`.`companyID` AS `companyid`,date_format(`comp_delivery_order`.`deliveryOrderDate`,'%Y') AS `year`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_delivery_order`.`deliveryOrderDate`) = 12),1,NULL)) AS `12` from `comp_delivery_order` where ((`comp_delivery_order`.`updateAble` = 0) and (`comp_delivery_order`.`isDelete` = 0)) group by `comp_delivery_order`.`companyID`,`year` union select 'comp_sales_invoice' AS `comp_sales_invoice`,1000 AS `1000`,`comp_sales_invoice`.`companyID` AS `companyid`,date_format(`comp_sales_invoice`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_invoice`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_sales_invoice` where ((`comp_sales_invoice`.`updateAble` = 0) and (`comp_sales_invoice`.`is_delete` = 0)) group by `comp_sales_invoice`.`companyID`,`year` union select 'comp_sales_debitNote' AS `comp_sales_debitNote`,1100 AS `1100`,`comp_sales_debitnote`.`companyID` AS `companyid`,date_format(`comp_sales_debitnote`.`debitNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_debitnote`.`debitNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_debitnote` where ((`comp_sales_debitnote`.`updateAble` = 0) and (`comp_sales_debitnote`.`is_delete` = 0)) group by `comp_sales_debitnote`.`companyID`,`year` union select 'comp_sales_creditNote' AS `comp_sales_creditNote`,1200 AS `1200`,`comp_sales_creditnote`.`companyID` AS `companyid`,date_format(`comp_sales_creditnote`.`creditNoteDate`,'%Y') AS `year`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_sales_creditnote`.`creditNoteDate`) = 12),1,NULL)) AS `12` from `comp_sales_creditnote` where ((`comp_sales_creditnote`.`updateAble` = 0) and (`comp_sales_creditnote`.`is_delete` = 0)) group by `comp_sales_creditnote`.`companyID`,`year` union select 'comp_receive_payment' AS `comp_receive_payment`,1300 AS `1300`,`comp_receive_payment`.`companyID` AS `companyid`,date_format(`comp_receive_payment`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment` where ((`comp_receive_payment`.`updateAble` = 0) and (`comp_receive_payment`.`is_delete` = 0)) group by `comp_receive_payment`.`companyID`,`year` union select 'comp_receive_payment_others' AS `comp_receive_payment_others`,1400 AS `1400`,`comp_receive_payment_others`.`companyID` AS `companyid`,date_format(`comp_receive_payment_others`.`receivePaymentDate`,'%Y') AS `year`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_receive_payment_others`.`receivePaymentDate`) = 12),1,NULL)) AS `12` from `comp_receive_payment_others` where ((`comp_receive_payment_others`.`updateAble` = 0) and (`comp_receive_payment_others`.`is_delete` = 0)) group by `comp_receive_payment_others`.`companyID`,`year` union select 'comp_cash_sales' AS `comp_cash_sales`,1500 AS `1500`,`comp_cash_sales`.`companyID` AS `companyid`,date_format(`comp_cash_sales`.`salesInvoiceDate`,'%Y') AS `year`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 1),1,NULL)) AS `1`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 2),1,NULL)) AS `2`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 3),1,NULL)) AS `3`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 4),1,NULL)) AS `4`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 5),1,NULL)) AS `5`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 6),1,NULL)) AS `6`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 7),1,NULL)) AS `7`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 8),1,NULL)) AS `8`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 9),1,NULL)) AS `9`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 10),1,NULL)) AS `10`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 11),1,NULL)) AS `11`,count(if((month(`comp_cash_sales`.`salesInvoiceDate`) = 12),1,NULL)) AS `12` from `comp_cash_sales` where ((`comp_cash_sales`.`updateAble` = 0) and (`comp_cash_sales`.`is_delete` = 0)) group by `comp_cash_sales`.`companyID`,`year` union select 'comp_journal' AS `comp_journal`,1600 AS `1600`,`comp_journal`.`companyID` AS `companyid`,date_format(`comp_journal`.`effective_date`,'%Y') AS `year`,count(if((month(`comp_journal`.`effective_date`) = 1),1,NULL)) AS `1`,count(if((month(`comp_journal`.`effective_date`) = 2),1,NULL)) AS `2`,count(if((month(`comp_journal`.`effective_date`) = 3),1,NULL)) AS `3`,count(if((month(`comp_journal`.`effective_date`) = 4),1,NULL)) AS `4`,count(if((month(`comp_journal`.`effective_date`) = 5),1,NULL)) AS `5`,count(if((month(`comp_journal`.`effective_date`) = 6),1,NULL)) AS `6`,count(if((month(`comp_journal`.`effective_date`) = 7),1,NULL)) AS `7`,count(if((month(`comp_journal`.`effective_date`) = 8),1,NULL)) AS `8`,count(if((month(`comp_journal`.`effective_date`) = 9),1,NULL)) AS `9`,count(if((month(`comp_journal`.`effective_date`) = 10),1,NULL)) AS `10`,count(if((month(`comp_journal`.`effective_date`) = 11),1,NULL)) AS `11`,count(if((month(`comp_journal`.`effective_date`) = 12),1,NULL)) AS `12` from `comp_journal` where ((`comp_journal`.`is_delete` = 0) and isnull(`comp_journal`.`formNo`)) group by `comp_journal`.`companyID`,`comp_journal`.`year` */;

--
-- Final view structure for view `view_unpost_ap_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_creditnote`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_creditnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`d`.`name`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join (`comp_supplier_creditnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `creditnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,`a`.`supplierInvoiceID` AS `supplierInvoiceID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `crTaxAccountID` from (((`comp_supplier_creditnote` `a` join `comp_supplier_creditnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`e`.`ID` = `a`.`supplierID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_ap_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_debitnote`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ap_debitnote` AS select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,if((`c`.`purchaseInvoiceCodeID` = 1),(select `cri`.`locationID` from (`comp_receive_item_detail` `crid` left join `comp_receive_item` `cri` on((`cri`.`ID` = `crid`.`receiveID`))) where (`crid`.`ID` = `g`.`receiveID`)),`c`.`locationID`) AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,`b`.`itemID` AS `itemID`,concat('[',`d`.`itemCode`,']',`b`.`itemdescription`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join (`comp_supplier_debitnote_detail` `b` left join `item` `d` on((`b`.`itemID` = `d`.`ID`)))) join (`comp_supplier_invoice` `c` left join `comp_supplier_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`)))) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `e`.`supplierName` AS `supplier`,`a`.`ID` AS `debitnoteID`,`b`.`lineNo` AS `lineNo`,`c`.`projectID` AS `projectID`,4 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,`c`.`locationID` AS `locationID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,NULL AS `itemID`,`b`.`itemdescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from (((`comp_supplier_debitnote` `a` join `comp_supplier_debitnote_charges` `b`) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`supplierID` = `e`.`ID`) and (`a`.`supplierInvoiceID` = `c`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_ap_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ap_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ap_invoice`*/;

--
-- Final view structure for view `view_unpost_ar_creditnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_creditnote`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_creditnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`a`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `dord`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `dord` on((`dord`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,(select `item`.`cogsID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `cogsAcctID`,(select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `inventoriesAcctID` from ((((((`comp_sales_creditnote` `a` left join `comp_sales_creditnote_detail` `b` on((`a`.`ID` = `b`.`creditnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`creditnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `creditnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`b`.`accountNoID` AS `drAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drTaxAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_creditnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_creditnote_charges` `b`) where ((`a`.`ID` = `b`.`creditNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`creditNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_ar_debitnote`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_debitnote`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_debitnote` AS select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,3 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,if((`c`.`invoiceCodeID` = 1),(select `do`.`locationID` from (`comp_delivery_detail` `ddet` left join `comp_delivery_order` `do` on((`do`.`ID` = `ddet`.`deliveryID`))) where (`ddet`.`ID` = `g`.`doID`)),`c`.`locationID`) AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`quantity` AS `quantity`,concat('[',`d`.`itemCode`,']',`b`.`itemname`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,(select `item`.`incomeID` from `item` where (`item`.`ID` = `b`.`itemID`)) AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`d`.`cogsID` AS `cogsAcctID`,`d`.`inventoriesID` AS `inventoriesAcctID` from ((((((`comp_sales_debitnote` `a` join `comp_sales_debitnote_detail` `b` on((`a`.`ID` = `b`.`debitnoteID`))) left join `item` `d` on((`b`.`itemID` = `d`.`ID`))) left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) left join `comp_sales_invoice_detail` `g` on((`c`.`ID` = `g`.`invoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) where ((`a`.`ID` = `b`.`debitnoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `f`.`customerName` AS `customer`,`a`.`salesInvoiceID` AS `salesinvoiceID`,`a`.`ID` AS `debitnoteID`,`c`.`projectID` AS `projectID`,0 AS `typeID`,`b`.`ID` AS `typeDetailID`,concat(`a`.`formNo`,'[',convert(lpad(`a`.`serialNo`,8,'0') using latin1),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`c`.`locationID` AS `locationID`,concat(`c`.`formNo`,'[',convert(lpad(`c`.`serialNo`,8,'0') using latin1),']') AS `salesInvoiceNo`,`b`.`lineNo` AS `lineNo`,NULL AS `itemID`,NULL AS `umID`,1 AS `quantity`,`b`.`chargeDescription` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,`c`.`currencyID` AS `currencyID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,ifnull(`f`.`linkedAPAccountID`,`e`.`accountID`) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,NULL AS `cogsAcctID`,NULL AS `inventoriesAcctID` from ((((`comp_sales_debitnote` `a` left join `comp_sales_invoice` `c` on((`c`.`ID` = `a`.`salesInvoiceID`))) join `customer` `f`) join `comp_control_acct_setup` `e`) join `comp_sales_debitnote_charges` `b`) where ((`a`.`ID` = `b`.`debitNoteID`) and (`a`.`customerID` = `f`.`ID`) and (`e`.`companyID` = `a`.`companyID`) and (`e`.`accountCode` = 'rcvacct') and (`a`.`ID` = `b`.`debitNoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_ar_invoice`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_invoice`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_invoice`*/;

--
-- Final view structure for view `view_unpost_ar_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_ar_payment`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_ar_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,NULL AS `purchaseInvoiceID`,`b`.`customerName` AS `customerName`,0 AS `lineNo`,NULL AS `paymentDetailID`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_receive_payment` `a` join `customer` `b`) where ((`a`.`customerID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`invoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail` `b` left join `comp_sales_invoice` `d` on((`d`.`ID` = `b`.`invoiceID`)))) join `comp_sales_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`receivePaymentID`) and (`c`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`historicalinvoiceID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_historical_invoice` `b` left join `comp_historical_customer_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_customer_invoice` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`customerID` AS `customerID`,`b`.`debitnoteID` AS `invoiceID`,`e`.`customerName` AS `customerName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'saledisacct'))) AS `drDiscountAccountID`,(select `customer`.`linkedAPAccountID` from `customer` where (`customer`.`ID` = `a`.`customerID`)) AS `crDiscountAccountID` from (((`comp_receive_payment` `a` join (`comp_receive_payment_detail_debitnote` `b` left join `comp_sales_debitnote` `d` on((`d`.`ID` = `b`.`debitnoteID`)))) join `comp_sales_debitnote` `c`) join `customer` `e`) where ((`a`.`customerID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`debitnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_cash_purchase`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_purchase`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_purchase` AS select `b`.`lineNo` AS `lineNo`,`b`.`quantity` AS `quantity`,`b`.`unitPrice` AS `unitPrice`,`b`.`itemID` AS `itemID`,`b`.`itemdescription` AS `itemdescription`,`b`.`umID` AS `umID`,`a`.`locationID` AS `locationID`,`a`.`ID` AS `othersPaymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`ID`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`ID` AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`b`.`lineNo` AS `ID`,`b`.`itemname` AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedTax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxAmount`,`a`.`projectID` AS `projectID`,`c`.`itemTypeID` AS `itemTypeID`,if((`c`.`itemTypeID` = 23),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'uninvoiceAP')))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `drDiscountAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankId`)) AS `crDiscountAccountID` from ((`comp_payment_others` `a` join `comp_payment_others_with_item` `b`) left join `item` `c` on((`c`.`ID` = `b`.`itemID`))) where ((`a`.`ID` = `b`.`otherPaymentID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_cash_sale`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_cash_sale`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_cash_sale` AS select `a`.`projectID` AS `projectID`,`a`.`paymentFrom` AS `customer`,`a`.`ID` AS `invoiceID`,5 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantity` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,`b`.`umID` AS `umID`,`b`.`lineNo` AS `lineNo`,`d`.`currencyID` AS `currencyID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`c`.`incomeID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID`,`c`.`cogsID` AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from ((`comp_cash_sales` `a` join (`comp_cash_sales_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) join `company` `d`) where ((`a`.`ID` = `b`.`invoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0) and (`a`.`companyID` = `d`.`ID`)) */;

--
-- Final view structure for view `view_unpost_do`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_do`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_do`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_do` AS select `a`.`ID` AS `deliveryOrderID`,`a`.`customerID` AS `customerID`,NULL AS `projectID`,NULL AS `customer`,`a`.`ID` AS `invoiceID`,1 AS `typeID`,`b`.`ID` AS `typeDetailID`,`a`.`locationID` AS `locationID`,`b`.`quantitySent` AS `quantity`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`description`) AS `itemName`,0 AS `amountExcludedtax`,NULL AS `taxid`,0 AS `taxamount`,NULL AS `drAccountID`,NULL AS `crAccountID`,NULL AS `drTaxAccountID`,NULL AS `crTaxAccountID`,if((`b`.`invoiceID` > 0),`c`.`cogsID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAR')))) AS `cogsAcctID`,`c`.`inventoriesID` AS `inventoriesAcctID` from (`comp_delivery_order` `a` join (`comp_delivery_detail` `b` left join `item` `c` on((`b`.`itemID` = `c`.`ID`)))) where ((`a`.`ID` = `b`.`deliveryID`) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0)) */;

--
-- Final view structure for view `view_unpost_gst_transaction`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_gst_transaction`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_gst_transaction` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,NULL AS `supplierID`,NULL AS `purchaseInvoiceID`,concat(`a`.`Description`,'[',`a`.`vendor_cust_name`,']') AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`reference` AS `item`,`b`.`taxAmountDr` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,`b`.`accountID` AS `drAccountID`,(select `comp_gst_transaction_detail`.`accountID` from `comp_gst_transaction_detail` where ((`comp_gst_transaction_detail`.`gstTransID` = `a`.`ID`) and (`comp_gst_transaction_detail`.`taxAmountCr` > 0))) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_gst_transaction` `a` join `comp_gst_transaction_detail` `b`) where ((`a`.`ID` = `b`.`gstTransID`) and (`b`.`taxAmountDr` > 0) and (`a`.`updateAble` = 1) and (`a`.`isDelete` = 0)) */;

--
-- Final view structure for view `view_unpost_other_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_payment`*/;

--
-- Final view structure for view `view_unpost_other_receive`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_other_receive`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_other_receive`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_other_receive` AS select `a`.`projectID` AS `projectID`,`a`.`receiveFrom` AS `receiveFrom`,`a`.`ID` AS `otherReceiveID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`b`.`lineNo` AS `lineNo`,`b`.`description` AS `itemdescription`,`b`.`amountExcludedTax` AS `amountExcludedtax`,`b`.`taxID` AS `taxid`,`b`.`taxAmount` AS `taxamount`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drAccountID`,`b`.`accountNoID` AS `crAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `drTaxAccountID`,(select `tax_master`.`taxAccount` from `tax_master` where (`tax_master`.`ID` = `b`.`taxID`)) AS `crTaxAccountID` from (`comp_receive_payment_others` `a` join `comp_receive_payment_others_detail` `b`) where ((`a`.`ID` = `b`.`receivePaymentOthersID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_payment`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_payment`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_payment`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_payment` AS select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,NULL AS `purchaseInvoiceID`,`b`.`supplierName` AS `supplierName`,0 AS `lineNo`,NULL AS `paymentDetailID`,NULL AS `supplierInvoiceNo`,`a`.`referenceNo` AS `item`,`a`.`bankCharges` AS `amtPaid_amtAppl`,0 AS `discount_bankCharges`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'bankchargesAccount'))) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,NULL AS `drDiscountAccountID`,NULL AS `crDiscountAccountID` from (`comp_payment` `a` join `supplier` `b`) where ((`a`.`supplierID` = `b`.`ID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`purchaseInvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`lineNo` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,(`b`.`amountApplied` - `b`.`discount`) AS `amtPaid_amtAppl`,`b`.`discount` AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail` `b` left join `comp_supplier_invoice` `d` on((`d`.`ID` = `b`.`purchaseInvoiceID`)))) join `comp_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`purchaseInvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`historicalinvoiceID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceNo` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_historical_invoice` `b` left join `comp_historical_supplier_invoice` `d` on((`d`.`ID` = `b`.`historicalinvoiceID`)))) join `comp_historical_supplier_invoice` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`historicalinvoiceID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) union select `a`.`ID` AS `paymentID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`a`.`companyID` AS `companyID`,`a`.`supplierID` AS `supplierID`,`b`.`creditnoteID` AS `purchaseInvoiceID`,`e`.`supplierName` AS `supplierName`,`b`.`ID` AS `lineNo`,`b`.`ID` AS `paymentDetailID`,`c`.`supplierInvoiceID` AS `supplierInvoiceNo`,concat(concat(concat(`d`.`formNo`,'['),convert(lpad(`d`.`serialNo`,8,'0') using latin1)),']') AS `item`,`b`.`amountApplied` AS `amtPaid_amtAppl`,NULL AS `discount_bankCharges`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drAccountID`,(select `comp_bank`.`linkAccountID` from `comp_bank` where (`comp_bank`.`ID` = `a`.`bankID`)) AS `crAccountID`,(select `supplier`.`linkedAPAccountID` from `supplier` where (`supplier`.`ID` = `a`.`supplierID`)) AS `drDiscountAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'payDisc'))) AS `crDiscountAccountID` from (((`comp_payment` `a` join (`comp_payment_detail_creditnote` `b` left join `comp_supplier_creditnote` `d` on((`d`.`ID` = `b`.`creditnoteID`)))) join `comp_supplier_creditnote` `c`) join `supplier` `e`) where ((`a`.`supplierID` = `e`.`ID`) and (`a`.`ID` = `b`.`paymentID`) and (`c`.`ID` = `b`.`creditnoteID`) and (`a`.`updateAble` = 1) and (`a`.`is_delete` = 0)) */;

--
-- Final view structure for view `view_unpost_receive_item`
--

/*!50001 DROP TABLE IF EXISTS `view_unpost_receive_item`*/;
/*!50001 DROP VIEW IF EXISTS `view_unpost_receive_item`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_unpost_receive_item` AS select `a`.`ID` AS `receiveID`,`a`.`companyID` AS `companyID`,`a`.`locationID` AS `locationID`,`a`.`deliveryDate` AS `transactionDate`,`a`.`supplierID` AS `supplierID`,concat(concat(concat(`a`.`formNo`,'['),convert(lpad(`a`.`serialNo`,8,'0') using latin1)),']') AS `formNo`,`b`.`lineNo` AS `lineNo`,`b`.`itemID` AS `itemID`,concat('[',`c`.`itemCode`,']',`c`.`name`) AS `itemName`,`a`.`exchangeRate` AS `exchangeRate`,`b`.`unitPrice` AS `unitPrice`,`b`.`quantityReceived` AS `quantityReceived`,`b`.`umID` AS `umID`,`b`.`amount` AS `amount`,ifnull((select `item`.`inventoriesID` from `item` where (`item`.`ID` = `b`.`itemID`)),(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'invAcct')))) AS `drAccountID`,(select `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where ((`comp_control_acct_setup`.`companyID` = `a`.`companyID`) and (`comp_control_acct_setup`.`accountCode` = 'unInvoiceAP'))) AS `crAccountID` from ((`comp_receive_item` `a` join `comp_receive_item_detail` `b`) join `item` `c`) where ((`a`.`updateAble` = 1) and (`a`.`ID` = `b`.`receiveID`) and (`b`.`itemID` = `c`.`ID`)) */;

--
-- Final view structure for view `view_wakaf_accrual`
--

/*!50001 DROP TABLE IF EXISTS `view_wakaf_accrual`*/;
/*!50001 DROP VIEW IF EXISTS `view_wakaf_accrual`*/;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `view_wakaf_accrual` AS select `b`.`companyID` AS `companyID`,`b`.`acctID` AS `acctID`,`b`.`year` AS `year`,sum(`b`.`total`) AS `totalAmount` from (`company` `a` join `comp_acc_det` `b`) where ((`a`.`ID` = `b`.`companyID`) and `b`.`acctID` in (select distinct `comp_control_acct_setup`.`accountID` from `comp_control_acct_setup` where (`comp_control_acct_setup`.`accountCode` = 'wakafAcrual'))) group by `b`.`companyID`,`b`.`acctID`,`b`.`year` */;

--
-- Final view structure for view `view_wakaf_from_profit`
--

