i f   n o t   E x i s t s ( S E L E C T   *   F R O M   i n f o r m a t i o n _ s c h e m a . t a b l e s   w h e r e   T a b l e _ n a m e   =   ' V o u c h e r I t e m ' ) 
 
 b e g i n 
 
 	 C R E A T E   T A B L E   [ d b o ] . [ V o u c h e r I t e m ] 
 
 	 ( 
 
 	 	 [ I D ]   [ i n t ]   p r i m a r y   k e y   I D E N T I T Y ( 1 , 1 )   , 
 
 	 	 [ V o u _ I D ]   [ i n t ]   r e f e r e n c e s   d b o . V o u c h e r ( I D )   N O T   N U L L , 
 
 	 	 [ A c c _ I D ]   [ i n t ]   N U L L , 
 
 	 	 [ S e r i a l N o ]   [ i n t ]   N O T   N U L L , 
 
 	 	 [ T i t l e ]   [ n v a r c h a r ] ( 1 0 0 0 )   N U L L , 
 
 	 	 [ D e b i t ]   [ d e c i m a l ] ( 1 9 ,   4 )   N O T   N U L L , 
 
 	 	 [ C r e d i t ]   [ d e c i m a l ] ( 1 9 ,   4 )   N O T   N U L L , 
 
 	 	 [ R e f r e n c e _ I D ]   [ b i g i n t ]   N O T   N U L L , 
 
 	 	 [ D o m _ I D _ M a r j a ]   [ i n t ]   r e f e r e n c e s   d b o . D o m a i n ( I D )   N O T   N U L L , 
 
 	 	 [ G u i d ]   [ n v a r c h a r ] ( 2 0 0 )   N O T   N U L L , 
 
 	 	 [ A I _ I D _ K o l ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N O T   N U L L , 
 
 	 	 [ A I _ I D _ M o i n ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N U L L , 
 
 	 	 [ A I _ I D _ T a f 1 ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N U L L , 
 
 	 	 [ A I _ I D _ T a f 2 ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N U L L , 
 
 	 	 [ A I _ I D _ T a f 3 ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N U L L , 
 
 	 	 [ A I _ I D _ T a f 4 ]   [ i n t ]   r e f e r e n c e s   d b o . A c c o u n t I t e m ( I D )   N U L L , 
 
 	 	 [ A c c _ C o d e ]   [ n v a r c h a r ] ( 1 0 0 )   N U L L , 
 
 	 	 [ A c c _ T i t l e ]   [ n v a r c h a r ] ( 1 0 0 0 )   N U L L 
 
 	 ) 
 
 e n d 