ÿÿ  CHHVBScriptEngine       ÿþÿ( A l l g e m e i n )    ÿþÿ( D e k l a r a t i o n e n ) ÿþÿ' ( D e k l a r a t i o n e n )  
 ÿþÿÿ&J' R e m a r k :   D i g i t a l   D a t a   -   W e b S e r v i c e   A u f r u f   z u r   U m b u c h u n g   v o n   A u s p r ä g u n g e n   b e i   W a r e n   ( B s p :   A u s p r ä g u n g   " A "   z u   " B " ) .  
 ' V B   S c r i p t   D o c u m e n t  
 '  
 ' D i g i t a l   D a t a  
 ' L u d w i g - R i n n - S t r a ß e   1 6  
 ' 3 5 4 5 2   H e u c h e l h e i m  
 ' T e l . :   0 6 4 1   /   2 0 2 3 6 0  
 ' E - M a i l :   i n f o - f l o w ( a t ) d i g i t a l d a t a . w o r k s  
 '  
 ' V e r s i o n   N u m b e r :   1 . 1 . 0 . 0  
 ' V e r s i o n   D a t e :   3 1 . 0 8 . 2 0 2 0  
  
 O n   E r r o r   R e s u m e   N e x t  
  
 ' # # # # # # # # # #   g e t   p a r a m e t e r   # # # # # # # # #  
  
 	 ' N e c e s s a r y   t o   g e t   p a r a m e t e r s   i n   t h e   c o d e .   D o   n o t   c h a n g e !  
 	 p a r a m s   =   M P a r a m e t e r s  
  
 	 ' F i r s t   c a l l   p a r a m e t e r   =   A r t i k e l n u m m e r   i n k l   S e r i e n n u m m e r  
 	 p a r a m P r o d u c t N u m b e r   =   p a r a m s ( 2 0 )  
  
 	 ' S e c o n d   c a l l   p a r a m e t e r   =   Z i e l a u s p r ä g u n g  
 	 p a r a m P r o d u c t T a r g e t S h a p e   =   p a r a m s ( 2 1 )  
  
 ' # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #  
  
 ' # # # # # # # # # #   s e t   c o n s t a n t s   # # # # # # # # #  
  
 	 ' G e t   c u r r e n t   M a n d a n t o r N r ,   l i k e   " 5 0 0 M " .  
 	 M a n d a t o r N r     =   C W L S t a r t . C u r r e n t C o m p a n y . N r  
  
 	 ' G e t   c u r r e n t   m e s o   y e a r ,   l i k e   1 4 4 0   ( ( 2 0 2 0   -   1 9 0 0 )   *   1 2   =   1 4 4 0 ) .  
 	 C u r r e n t Y e a r   =   C W L S t a r t . C u r r e n t C o m p a n y . C o m p a n y Y e a r  
  
 	 ' G e t   c u r r e n t   u s e r n a m e   l i k e   " m e s o " .  
 	 C u r r e n t U s e r   =   C W L S t a r t . C u r r e n t U s e r . A c c o u n t  
  
 	 ' G e t   c u r r e n t   W i n L i n e   e x e   p a t h  
 	 W i n L i n e A p p P a t h   =   C W L S t a r t . A p p l i c a t i o n . A p p P a t h  
  
 	 ' G e t   c u r r e n t   d a t e   a n d   t i m e .  
 	 T i m e s t a m p   =   N o w  
  
 	 ' B a s i c   S Q L   w h e r e   f o r   m a n d a t o r   a n d   c u r r u e n t   m e s o y e a r  
 	 S Q L Q u e r y _ B a s i c W h e r e     =   "   a n d   ( m e s o c o m p   =   ' "   &   M a n d a t o r N r   & " ' )   a n d   ( m e s o y e a r   =   "   &   C u r r e n t Y e a r   &   " ) "  
  
 	 ' P r ä f i x   f ü r   d i e   L a u f n u m m e r   d e s   e r z e u g t e n   B e l e g s  
 	 R U N N I N G _ N U M B E R _ P R E F I X   =   " I U - "  
  
 ' # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #  
  
 ' # # # # # # # # # #   s e t   v a r i a b l e s   # # # # # # # # #  
  
 	 ' D e b u g   ( D e b u g   M e l d u n g e n   a n z e i g e n )  
 	 D E B U G _ O N   =   f a l s e  
 	 D E B U G _ M E S S A G E   =   " "  
 	 D e b u g M o d e       =   " d i s E n a b l e d " 	  
  
 	 ' M e s s a g e b o x e n  
 	 D E F A U L T _ T I T L E   =   " U m b u c h u n g s - V o r g a n g "  
 	 D E B U G _ T I T L E   =   " D E B U G   -   "   &   D E F A U L T _ T I T L E  
 	  
 	 ' S e t   p a t h   f o r   D i g i t a l   D a t a   M o d u l e s .   D e f a u l t :   M a n d a t o r   a d d i t i o n a l   f i e l d   1 0   ( I F - M o d u l P f a d - D i g i t a l D a t a )   =   C W L S t a r t . C u r r e n t C o m p a n y . V a l u e ( 2 0 9 )  
 	 M o d u l e D e f a u l t S o u r c e P a t h   =   C W L S t a r t . C u r r e n t C o m p a n y . V a l u e ( 2 0 9 ) 	  
 	  
 	 ' S e t   t o   " E n a b l e d "   i f   S c r i p t   s h o u l d   a s k ,   b e f o r e   s e n d i n g   W e b S e r v i c e   R e q u e s t    
 	 S u m m a r y Q u e s t i o n   =   " E n a b l e d "  
  
 	 ' S e t   c r e d i t o r   ( v e n d o r )   a c c o u n t   n u m b e r  
 	 A c c o u n t N r   =   7 1 4 0 2 1  
  
 	 ' S e t   " B e l e g a r t "   f o r   t h e   d o c u m e n t  
 	 D o c u m e n t T y p e   =   7 0 1  
  
 	 ' S e t   t h e   S e p e r a t o r   f o r   a   f u l l   p r o d u c t   n u m b e r   ( e g   t h e   " ~ "   f o r   W A R E ~ B ~ 0 0 0 0 0 0 3 )  
 	 P r o d u c t S h a p e S e p e r a t o r   =   " ~ "  
  
 	 ' Ü b e r   d a s   A t t r i b u t   o p t i o n =   k a n n   g e s t e u e r t   w e r d e n ,   w i e   d e r   B e l e g   I n   d e r   W i n L i n e   b e h a n d e l t   w e r d e n   s o l l ,   w o b e i   e s   f o l g e n d e   M ö g l i c h k e i t e n   g i b t :    
 	 ' 0   =   n e u e n   B e l e g   e r s t e l l e n ;   1   =   L i e f e r s c h e i n   z u   A u f t r a g s b e s t ä t i g u n g ;   2   =   R e c h n u n g   z u   L i e f e r s c h e i n ;   3   =   B e l e g   e d i t i e r e n ;   4   =   B e l e g   s t o r n i e r e n    
 	 W E B _ O P T I O N   =   " 0 "  
  
 	 ' D i e s e s   A t t r i b u t   s t e u e r t   d i e   O p t i o n   " A u s p r ä g u n g e n   a n l e g e n " .   D a b e i   g i b t   e s   f o l g e n d e   M ö g l i c h k e i t e n :  
 	 ' 0   =   N e i n ;   1   =   J a ,   w e n n   n i c h t   v o r h a n d e n ;   2   =   J a ,   a u c h   w e n n   v o r h a n d e n   i n k l   I d e n t   u n d   C h a r g e n   A u s p r ä g u n g e n .  
 	 W E B _ E X T E N T R Y   =   " 2 "  
  
 	 ' D a m i t   k a n n   d e f i n i e r t   w e r d e n ,   o b   u n d   i n   w e l c h e r   S t u f e   e i n   i m p o r t i e r t e r   B e l e g   g e d r u c k t   w e r d e n   s o l l .   G ü l t i g e   W e r t e   s i n d :    
 	 ' 0   =   n i c h t   d r u c k e n ;   1   =   A n g e b o t ;   2   =   A u f t r a g ;   3   =   L i e f e r s c h e i n ; 	 4   =   R e c h n u n g    
 	 W E B _ P R I N T   =   " 3 "  
  
 	 ' S e r v e r   &   A u t h e n t i c a t i o n  
 	 W E B _ S E R V E R 	 =   C W L S t a r t . C u r r e n t C o m p a n y . V a l u e ( 2 1 0 )  
 	 W E B _ U S E R 	 =   C W L S t a r t . C u r r e n t C o m p a n y . V a l u e ( 2 1 1 )  
 	 W E B _ P A S S 	 =   C W L S t a r t . C u r r e n t C o m p a n y . V a l u e ( 2 1 2 )  
 	 W E B _ C O M P A N Y   =   M a n d a t o r N r  
  
 	 ' I m p o r t   T e m p l a t e   N a m e  
 	 W E B _ V O R L A G E   =   " E X I M - I n t e r n e U m b u c h u n g "  
  
 	 ' T y p e   o f   T e m p l a t e  
 	 ' 1   =   P e r s o n e n k o n t e n ;   2   =   S a c h k o n t e n ;   3   =   I n t e r e s s e n t e n ;   4   =   A r t i k e l ;   5   =   P r e i s e ;   6   =   A r b e i t n e h m e r   A ;   7   =   K o n t a k t e ;   8   =   A n l a g e n ;   9   =   K o s t e n s t e l l e n ;   1 0   =   K o s t e n a r t e n  
 	 ' 1 1   =   K o s t e n t r ä g e r ;   1 4   =   A r b e i t n e h m e r   D ;   1 5   =   P r o j e k t e ;   1 7   =   B a n k v e r b i n d u n g e n ;   1 9   =   L a g e r o r t   -   Z u o r d n u n g ;   3 0   =   B e l e g e ;   3 1   =   B u c h u n g s s t a p e l ;   3 4   =   C R M ;   3 8   =   L a g e r b u c h u n g e n  
 	 ' 3 9   =   K o m m i s s i o n i e r u n g ;   4 0   =   P r o d u k t i o n s a u f t r a g ;   4 1   =   I n v e n t u r  
 	 W E B _ T Y P E   =   " 3 0 "  
  
 	 ' P o s s i b l e   V a l u e s :  
 	 ' 1   =   I m p o r t ;   0   =   C h e c k   o n l y  
 	 W E B _ A C T I O N C O D E   =   " 1 "  
  
 ' # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #  
  
 ' # # # # # # # # # #   f u n c t i o n s   a n d   s u b s   # # # # # # # # #  
  
 ' F u n c t i o n   t o   l o a d   V B S   m o d u l e s    
 P u b l i c   F u n c t i o n   L o a d V B S M o d u l e ( V B S M o d u l e P a r a m s )  
  
 	 ' S Y N O P S I S  
 	 	 ' F u n c t i o n   w i l l   l o a d   e x t e r n a l   -   a d d i t i o n a l   -   V B S   M o d u l e s   i n t o   c u r r e n t   S c r i p t .  
  
 	 ' D E S C R I P T I O N  
 	 	 ' B y   w o r k i n g   W i t h   M o d u l e s ,   t h i s   F u n c t i o n   I s   n e c e s s a r y   T o   l o a d   e x t e r n a l   M o d u l   F u n c t i o n s   i n t o   t h e   c u r r e n t   V B - S c r i p t .  
 	 	 ' C a l l   p a r a m e t e r   m u s t   b e   a n   a r r a y ,   b e c a u s e   V B - S c r i p t   f u n c t i o n s   c a n n o t   h a n d l e   o p t i o n a l   P a r a m e t e r s .  
 	 	 ' I n   d e v e l e p m e n t   a n d   T e s t   E n v i r o m e n t   i t   i s   p o s s i b l e ,   t o   w o r k   w i t h   d i s t r i b u t e d   F o l d e r s   w i t h   d i f f e r e n t   M o d u l e s .   T h e r e f o r   t h e   P a r a m e t e r  
 	 	 ' " V B S M o d u l e P a r a m s ( 1 ) "   ( w h i c h   i s   t h e   M o d u l e O v e r r i d e S o u r c e P a t h )   a n d   t h e   p r e s e t   V a r i a b l e   " M o d u l e D e f a u l t S o u r c e P a t h "   a r e   m a d e   f o r .  
                 ' A f t e r   a   s u c c e s s f u l   I m p o r t   o f   a   M o d u l e ,   F u n c t i o n   w i l l   R e t u r n   T r u e ,   o t h e r w i s e   a   F a l s e .  
  
 	 ' R E Q U I R E M E N T   G e n e r a l  
 	 	 ' V B S   m u s t   b e   e n a b l e d  
  
 	 ' R E Q U I R E M E N T   A s s e m b l y  
 	 	 ' < N O N E >  
  
 	 ' R E Q U I R E M E N T   V a r i a b l e s  
 	 	 ' F S O M o d u l e ,   M o d u l e ,   M o d u l e C o d e  
  
 	 ' R E Q U I R E M E N T   V a r i a b l e s   p r e S e t  
 	 	 ' < N O N E >  
  
 	 ' R E Q U I R E M E N T   F u n c t i o n s  
 	 	 ' < N O N E >  
  
 	 ' V E R S I O N  
 	 	 ' N u m b e r :   1 . 3 . 0 . 0   /   D a t e :   2 5 . 0 8 . 2 0 2 0  
  
 	 ' P A R A M E T E R   V B S M o d u l e P a r a m s ( 0 )   =   M o d u l e N a m e  
 	 	 ' G i v e   t h e   M o d u l e   N a m e ,   y o u   w a n t   t o   l o a d   i n t o   t h e   c u r r e n t   V B - S c r i p t .  
  
 	 ' P A R A M E T E R   V B S M o d u l e P a r a m s ( 1 )   =   M o d u l e O v e r r i d e S o u r c e P a t h  
 	 	 ' O p t i o n a l   P a r a m e t e r .   B y   g i v i n g   t h e   M o d u l e O v e r r i d e S o u r c e P a t h ,   F u n c t i o n   w i l l   n o t   c h e c k   o t h e r   P a t h s   f o r   t h e   F u n c t i o n   y o u   w a n t   t o   l o a d . 	 	  
  
 	 ' E X A M P L E  
 	 	 ' D i m   V B S M o d u l e P a r a m s  
 	 	 ' R e d i m   V B S M o d u l e P a r a m s ( 0 )  
 	 	 ' V B S M o d u l e P a r a m s ( 0 )   =   M o d u l e  
 	 	 ' L o a d V B S M o d u l e ( V B S M o d u l e P a r a m s )  
  
 	 ' E X A M P L E  
 	 	 ' D i m   V B S M o d u l e P a r a m s  
 	 	 ' R e d i m   V B S M o d u l e P a r a m s ( 1 )  
 	 	 ' V B S M o d u l e P a r a m s ( 0 )   =   M o d u l e  
 	 	 ' V B S M o d u l e P a r a m s ( 1 )   =   " D : \ S c r i p t F i l e s \ M o d u l e s " 	 	  
 	 	 ' L o a d V B S M o d u l e ( V B S M o d u l e P a r a m s )  
  
 	 O n   E r r o r   R e s u m e   N e x t  
  
 	 ' C l e a r   E r r o r   V a r i a b l e  
 	 E r r . C l e a r  
  
     	 D i m   F S O M o d u l e ,   M o d u l e ,   M o d u l e N a m e ,   M o d u l e C o d e ,   M o d u l e P a t h ,   W s h S h e l l ,   M o d u l e A u t o S o u r c e P a t h  
 	 S e t   F S O M o d u l e   =   C r e a t e O b j e c t ( " S c r i p t i n g . F i l e S y s t e m O b j e c t " ) 	  
  
 	 ' H o w   m a n y   p a r a m e t e r s   a r e   g i v e n   i n   t h e   a r r a y  
 	 I f   ( U B o u n d ( V B S M o d u l e P a r a m s )   =   0 )   T h e n  
  
 	 	 M o d u l e N a m e   =   V B S M o d u l e P a r a m s ( 0 )  
  
 	 	 I f   F S O M o d u l e . F o l d e r E x i s t s ( M o d u l e D e f a u l t S o u r c e P a t h )   T h e n  
 	 	  
 	 	 	 ' I f   g l o b a l   v a r   i s   s e t ,   t a k e   i t !  
 	 	 	 M o d u l e P a t h   =   M o d u l e D e f a u l t S o u r c e P a t h  
 	 	  
 	 	 E L S E  
  
 	 	 	 ' G e t t i n g   t h e   c u r r e n t   d i r ,   w h e n   M o d u l e D e f a u l t S o u r c e P a t h   d o e s   n o t   e x i s t  
 	 	 	 S e t   W s h S h e l l   =   C r e a t e O b j e c t ( " W S c r i p t . S h e l l " )  
 	 	 	 M o d u l e A u t o S o u r c e P a t h   =   W s h S h e l l . C u r r e n t D i r e c t o r y  
  
 	 	 	 ' B y   t h i s   p a r a m e t e r   w a y   t h e   p a t h   i s   m o r e   v a r i a b l e  
 	 	 	 M o d u l e P a t h   =   M o d u l e A u t o S o u r c e P a t h   &   " \ "   &   " M o d u l e s "  
  
 	 	 	 I f   ( D E B U G _ O N   =   T r u e )   O r   ( D e b u g M o d e   =   " E n a b l e d " )   T h e n  
 	 	 	 	 M S G B O X 	 " P a r a m e t e r 1   =   "   &   V B S M o d u l e P a r a m s ( 0 )   &   v b C r l f   &   _  
 	 	 	 	 	 	 " M o d u l e D e f a u l t S o u r c e P a t h   =   "   &   M o d u l e D e f a u l t S o u r c e P a t h , , " D E B U G   I n f o :   P a r a m e t e r   V a l u e s   i n   A r r a y   -   V B S M o d u l e P a r a m s "  
 	 	 	 E n d   I f  
 	 	  
 	 	 E n d   i f  
  
 	 E l s e I f   ( U B o u n d ( V B S M o d u l e P a r a m s )   =   1 )   T h e n  
  
 	 	 M o d u l e N a m e   =   V B S M o d u l e P a r a m s ( 0 )  
 	 	 M o d u l e P a t h   =   V B S M o d u l e P a r a m s ( 1 )  
  
 	 	 I f   ( D E B U G _ O N   =   T r u e )   O r   ( D e b u g M o d e   =   " E n a b l e d " )   T h e n  
 	 	 	 M S G B O X 	 " P a r a m e t e r 1   =   "   &   V B S M o d u l e P a r a m s ( 0 )   &   v b C r l f   &   _  
 	 	 	 	 	 " P a r a m e t e r 2   =   "   &   V B S M o d u l e P a r a m s ( 1 ) , , " D E B U G   I n f o :   P a r a m e t e r   V a l u e s   i n   A r r a y   -   V B S M o d u l e P a r a m s "  
 	 	 E n d   I f  
 	  
 	 E l s e  
  
 	 	 m s g b o x 	 " I n v a l i d   f u n c t i o n   c a l l ! "   	 	 &   v b C r l f   &   _  
 	 	 	 	 " P l e a s e   c h e c k   t h e   p a r a m e t e r s ! " 	 &   v b C r l f   &   _    
 	 	 	 	 " . . . t h e n   r e s t a r t   t h i s   S c r i p t ! " , v b E x c l a m a t i o n   , " L o a d V B S M o d u l e :   P a r a m e t e r   E r r o r ! "  
  
 	 E n d   i f  
  
 	 ' C h e c k i n g   f o l d e r   p a t h s 	 ' C h e c k   i f   g i v e n   p a t h   i s   v a l i d ,   i f   n o t   c r e a t e   i t  
 	 I f   N o t   F S O M o d u l e . F o l d e r E x i s t s ( M o d u l e P a t h )   T h e n  
  
 	 	 F S O M o d u l e . C r e a t e F o l d e r ( M o d u l e P a t h )  
 	 	 m s g b o x 	 " T h e   M o d u l e P a t h   d o e s n t   e x i s t ,   t r y i n g   t o   c r e a t e ! "   &   v b C r l f   &   _  
 	 	 	 	 " P l e a s e   p l a c e   y o u r   M o d u l e s   t h e r e :   "   &   v b C r l f   &   _    
 	 	 	 	 M o d u l e P a t h   &   v b C r l f   &   v b C r l f   &   _  
 	 	 	 	 " . . . t h e n   r e s t a r t   t h i s   S c r i p t ! " , v b E x c l a m a t i o n   , " L o a d V B S M o d u l e :   M o d u l e s   /   M o d u l e P a t h   i s   m i s s i n g ! "  
 	 E l s e  
  
 	 	 ' C l e a r   E r r o r   V a r i a b l e  
 	 	 E r r . C l e a r  
  
 	 	 ' B u i l d i n g   f u l l   m o d u l e   p a t h   a n d   n a m e  
 	 	 M o d u l e F u l l N a m e   =   M o d u l e P a t h   &   " \ "   &   M o d u l e n a m e   &   " . v b s "  
  
 	 	 ' d o e s   t h e   f i l e   e x i s t ?  
 	 	 I f   N o t   F S O M o d u l e . F i l e E x i s t s ( M o d u l e F u l l N a m e )   T h e n  
 	 	 	 I f   E r r . N u m b e r   < >   0   T h e n  
 	 	 	 	 M S G B O X   	 " E r r o r   C o d e :   " &   E r r . N u m b e r   &   v b C r l f   &   _  
 	 	 	 	 	 	 " E r r o r   D e s c r i p t i o n :   " &   E r r . D e s c r i p t i o n , , " E R R O R :   M o d u l e   d o e s   n o t   e x i s t !   "  
 	 	 	 	 E r r . C l e a r  
 	 	 	 	 L o a d V B S M o d u l e   =   " F a l s e "  
 	 	 	 E n d   I f  
  
 	 	 E l s e  
  
 	 	 	 ' O p e n   f i l e  
 	 	 	 S e t   M o d u l e   =   F S O M o d u l e . O p e n T e x t F i l e ( M o d u l e F u l l N a m e ,   1 )  
  
 	 	 	 ' G e t   f i l e   c o n t e n t  
 	 	 	 M o d u l e C o d e   =   M o d u l e . R e a d A l l  
  
 	 	 	 ' C l o s e   f i l e   h a n d l e  
 	 	 	 M o d u l e . C l o s e  
  
 	 	 	 ' E x e c u t e   t h e   f i l e   c o n t e n t  
 	 	 	 E x e c u t e G l o b a l   M o d u l e C o d e  
  
 	 	 	 I f   E r r . N u m b e r   < >   0   T h e n  
 	 	 	 	 M S G B O X   	 " E r r o r   C o d e :   " &   E r r . N u m b e r   &   v b C r l f   &   _  
 	 	 	 	 	 	 " E r r o r   D e s c r i p t i o n :   " &   E r r . D e s c r i p t i o n , , " E R R O R :   M o d u l e   c a n n o t   b e   l o a d e d ! "  
 	 	 	 	 E r r . C l e a r  
 	 	 	 	 L o a d V B S M o d u l e   =   " F a l s e "  
 	 	 	 E l s e  
 	 	 	 	 L o a d V B S M o d u l e   =   " T r u e "  
 	 	 	 E n d   I f  
  
 	 	 E n d   I f  
  
 	 E n d   I f  
  
 E n d   F u n c t i o n   ' L o a d V B S M o d u l e  
  
 ' # # # # # # # # # #   p r e p a r i n g   p a r t   # # # # # # # # # #  
  
 ' R e s e t   E r r o r   V a r  
 E r r . C l e a r  
  
 ' D i s p l a y   d e b u g   i n f o s ,   i f   e n a b l e d  
 I f   D e b u g M o d e   =   " E n a b l e d "   T h e n  
 	 A d d D e b u g L i n e 	 " C u r r e n t U s e r :   "   &   C u r r e n t U s e r  
 	 A d d D e b u g L i n e 	 " M a n d a t o r N r :     "   &   M a n d a t o r N r  
 	 A d d D e b u g L i n e 	 " C u r r e n t Y e a r :   "   &   C u r r e n t Y e a r  
 	 A d d D e b u g L i n e 	 " T i m e s t a m p :       "   &   T i m e s t a m p  
  
 	 S h o w D e b u g B o x   " R u n t i m e   V a r i a b l e s "  
 E n d   I f  
  
 ' P r e p a r e   A r r a y   ( A r r a y s   a r e   z e r o   b a s e d ! )  
 M o d u l e s   =   A r r a y ( " A d d D e b u g L i n e " , " S h o w D e b u g B o x " , " G e t L e f t P a d " , " S e n d H T T P R e q u e s t " , " S w i t c h W i n L i n e G o T o M a c r o s " , " G e t W i n L i n e I n t e r n a l P r o d u c t N u m b e r " , " G e t W i n L i n e S t o r a g e L o c a t i o n " , " C o n v e r t F r o m S e c u r e S t r i n g " )  
  
 D i m   M o d u l e  
  
 ' L o a d   e x t e r n a l   M o d u l e s .  
 F o r   E a c h   M o d u l e   I n   M o d u l e s  
  
 	 ' C r e a t e   t h e   a r r a y   t o   p a s s   i n   t o   o u r   f u n c t i o n  
 	 D i m   V B S M o d u l e P a r a m s  
  
 	 ' C a l l   t h e   s u b r o u t i n e   w i t h   t w o   a r g u m e n t s  
 	 R e d i m   V B S M o d u l e P a r a m s ( 0 )   ' C h a n g e   t o   1 ,   f o r   2   v a l u e s  
 	 V B S M o d u l e P a r a m s ( 0 )   =   M o d u l e  
 	 ' V B S M o d u l e P a r a m s ( 1 )   =   " "  
  
         L o a d V B S M o d u l e R e s u l t   =   L o a d V B S M o d u l e ( V B S M o d u l e P a r a m s )  
  
         I f   ( L o a d V B S M o d u l e R e s u l t   < >   " T r u e " )   T h e n  
  
 	 	 ' S e t   W S c r i p t   =   C r e a t e O b j e c t ( " W S c r i p t . S h e l l " )  
                 M S G B O X   " M o d u l e :   "   &   M o d u l e   &   "   w a s   N o t   s u c c e s f u l   b e e n   l o a d e d ! "   &   v b C r l f   &   _  
 	 	 	       " P l e a s e   l o a d   t h e   M o d u l e   a n d   t r y   a g a i n ,   r u n n i n g   t h i s   F u n c t i o n / M o d u l e ! "   &   v b C r l f   &   _  
 	 	 	       " E x i t i n g ,   b e c a u s e   o f   t h i s   I s s u e . "   &   v b C r l f   &   _  
                 	       E r r . D e s c r i p t i o n ,   v b C r i t i c a l ,   " D E B U G   I n f o :   C a n n o t   l o a d   M o d u l e ! "  
                 ' W S c r i p t . Q u i t   =   n o t   p o s s i b l e   i n   W i n l i n e   e n v i r o m e n t  
  
         E n d   I f  
  
 N e x t   ' e n d   f o r   e a c h  
  
 I f   ( p a r a m P r o d u c t N u m b e r   < >   " " )   A n d   ( p a r a m P r o d u c t T a r g e t S h a p e   < >   " " )   T h e n  
  
 	 P r o d u c t N u m b e r _ I t e m s   =   S p l i t ( p a r a m P r o d u c t N u m b e r ,   P r o d u c t S h a p e S e p e r a t o r )  
  
 	 P r o d u c t N u m b e r 	 	 =   P r o d u c t N u m b e r _ I t e m s ( 0 )  
 	 P r o d u c t C u r r e n t S h a p e 	 =   P r o d u c t N u m b e r _ I t e m s ( 1 )  
 	 P r o d u c t S e r i a l N u m b e r 	 =   P r o d u c t N u m b e r _ I t e m s ( 2 )  
  
 	 P r o d u c t T a r g e t S h a p e   =   p a r a m P r o d u c t T a r g e t S h a p e  
  
 	 I n t e r n a l P r o d u c t N u m b e r   =   G e t W i n L i n e I n t e r n a l P r o d u c t N u m b e r ( P r o d u c t N u m b e r ,   P r o d u c t S e r i a l N u m b e r )  
 	 P r o d u c t S t o r a g e L o c a t i o n   =   G e t W i n L i n e S t o r a g e L o c a t i o n ( P r o d u c t N u m b e r ,   P r o d u c t S e r i a l N u m b e r ,   I s S e r i a l N u m b e r A r t i c l e )  
  
 	 ' I f   n o   S t o r a g e L o c a t i o n   c a n   b e   f o u n d   s e t   i t   t o   z e r o ,   s o   W e b S e r v i e   c a l l   w o n t   f a i l  
 	 I f   ( P r o d u c t S t o r a g e L o c a t i o n   =   " " )   O r   ( P r o d u c t S t o r a g e L o c a t i o n   =   "   " )   T h e n  
  
 	 	 P r o d u c t S t o r a g e L o c a t i o n   =   0  
  
 	 E n d   I f  
  
 	 I f   D E B U G _ O N   =   T r u e   T h e n  
 	 	 A d d D e b u g L i n e   " S p l i t t i n g   i n p u t   P r o d u c t N r :   " 	 &   p a r a m P r o d u c t N u m b e r 	 &   v b N e w l i n e   &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " P r o d u c t N u m b e r :   "   	 	 	 	 &   P r o d u c t N u m b e r   	   	 &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " P r o d u c t C u r r e n t S h a p e :   " 	 	 &   P r o d u c t C u r r e n t S h a p e 	 &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " P r o d u c t T a r g e t S h a p e :   " 	 	 	 &   P r o d u c t T a r g e t S h a p e 	 &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " P r o d u c t S e r i a l N u m b e r :   " 	 	 &   P r o d u c t S e r i a l N u m b e r 	 &   v b N e w l i n e   &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " I n t e r n a l P r o d u c t N u m b e r :   " 	 	 &   I n t e r n a l P r o d u c t N u m b e r   &   v b N e w l i n e  
 	 	 A d d D e b u g L i n e   " P r o d u c t S t o r a g e L o c a t i o n :   " 	 	 &   P r o d u c t S t o r a g e L o c a t i o n  
 	 	  
 	 	 S h o w D e b u g B o x   " S p l i t t i n g   v a l u e s   b y :   "   &   P r o d u c t S h a p e S e p e r a t o r  
 	 E n d   I f  
  
 E l s e  
  
 	 M s g b o x   " A c h t u n g :   D i e   A r t i k e l n u m m e r   s o w i e   Z i e l a u s p r ä g u n g   m ü s s e n   a n g e g e b e n   w e r d e n . " ,   v b E x c l a m a t i o n ,   D E F A U L T _ T I T L E   &   "   -   F e h l e n d e   W e r t e   f e s t g e s t e l l t "  
  
 E n d   I f  
  
 ' D e c r y p t   p a s s w o r d   f o r   W e b S e r v i c e   U s e r  
 W E B _ P A S S   =   C o n v e r t F r o m S e c u r e S t r i n g ( W E B _ P A S S )  
  
 ' # # # # # # # # # #   m a i n   p a r t   # # # # # # # # # #  
  
 I f   ( P r o d u c t N u m b e r   < >   " " )   A n d   ( ( P r o d u c t T a r g e t S h a p e   < >   " " )   A n d   ( P r o d u c t T a r g e t S h a p e   < >   P r o d u c t C u r r e n t S h a p e ) )   A n d   ( P r o d u c t S e r i a l N u m b e r   < >   " " )   A n d   ( I n t e r n a l P r o d u c t N u m b e r   < >   " " )   A n d   ( P r o d u c t S t o r a g e L o c a t i o n   < >   " " )   T h e n  
  
 	 I f   ( S u m m a r y Q u e s t i o n   =   " E n a b l e d " )   T h e n  
 	  
 	 	 ' R e t u r n   V a l u e   6   =   Y e s ;   7   =   N o  
 	 	 S u m m a r y Q u e s t i o n R e s u l t   =   M S G B O X ( " S o l l   d i e   A r t i k e l - U m b u c h u n g   d u r c h g e f ü h r t   w e r d e n ? "   	 	 	 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	     	 	 	 	 	 	 	       " W e n n   j a ,   w i r d   d e r   u r s p .   A r t i k e l   d e a k t i v i e r t   ( n i c h t   g e l ö s c h t ) :   "   &   v b C r l f   &   _  
 	 	 	 	 	 	 	 	 	       p a r a m P r o d u c t N u m b e r   	 	 	 	 	 	 	 	 	 	 	 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	     	 	 	 	 	 	 	       " U n d   d e r   f o l g e n d e   A r t i k e l   w i r d   a n g e l e g t   u n d   g e b u c h t :   " 	 	 	 &   v b C r l f   &   _  
 	 	     	 	 	 	 	 	 	       P r o d u c t N u m b e r   &   P r o d u c t S h a p e S e p e r a t o r   &   P r o d u c t T a r g e t S h a p e   &   P r o d u c t S h a p e S e p e r a t o r   &   P r o d u c t S e r i a l N u m b e r   &   v b C r l f   &   v b C r l f   &   _  
 	 	     	 	 	 	 	 	 	       " D e r   V o r g a n g   k a n n   n i c h t   R ü c k g ä n g i g   g e m a c h t   w e r d e n . " ,   v b Y e s n o   +   v b Q u e s t i o n ,   D E F A U L T _ T I T L E   &   "   -   F r a g e " )  
 	 E n d   I f  
 	  
 	 I f   ( ( S u m m a r y Q u e s t i o n   =   " E n a b l e d " )   A n d   ( S u m m a r y Q u e s t i o n R e s u l t   =   6 ) )   O r   ( ( S u m m a r y Q u e s t i o n   < >   " E n a b l e d " ) )   T h e n  
  
 	 	 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = =   X M L   = = = = = = = = = = = = = = = = = = = = = = = = = = = =  
 	 	 D i m   R e q u e s t ,   U R L ,   X M L  
 	 	 D i m   D O b j   :   D O b j   =   N o w  
 	 	 D i m   D a t e S t r i n g   :   D a t e S t r i n g   =   Y e a r ( D O b j )   &   " - "   &   G e t L e f t P a d ( M o n t h ( D O b j ) )   &   " - "   &   G e t L e f t P a d ( D a y ( D O b j ) )  
 	 	  
 	 	 ' S e t   u n i q u e   " B e l e g k e y "   d u r i n g   t h e   i m p o r t   p r o c e d u r e   ( m a x .   1 0   n u m e r i c s )  
 	 	 S e q u e n c e K e y   =   ( M o n t h ( T i m e s t a m p ) )   &   ( D a y ( T i m e s t a m p ) )   &   ( H o u r ( T i m e s t a m p ) )   &   ( M i n u t e ( T i m e s t a m p ) )   &   ( S e c o n d ( T i m e s t a m p ) )  
 	 	  
 	 	 ' S e t   u n i q u e   " L a u f n u m m e r "   f o r   t h i s   d o c u m e n t  
 	 	 R u n n i n g N u m b e r   =   R U N N I N G _ N U M B E R _ P R E F I X   &   Y e a r ( D O b j )   &   ( M o n t h ( D O b j ) )   &   ( D a y ( D O b j ) )   &   ( H o u r ( D O b j ) )   &   ( M i n u t e ( D O b j ) )   &   ( S e c o n d ( D O b j ) )  
 	 	  
 	 	 X M L   =   " "  
 	 	 X M L   =   X M L   &   " < ? x m l   v e r s i o n = " " 1 . 0 " "   e n c o d i n g = " " U T F - 8 " " ? > "  
 	 	 X M L   =   X M L   &   " < M E S O W e b S e r v i c e   T e m p l a t e T y p e = " " _ _ T Y P E _ _ " "   T e m p l a t e = " " _ _ V O R L A G E _ _ " "   o p t i o n = " " _ _ O P T I O N _ _ " "   e x t E n t r y = " " _ _ E X T E N T R Y _ _ " "   p r i n t V o u c h e r = " " _ _ P R I N T _ _ " " > "  
 	 	  
 	 	 ' X M L   K o p f  
 	 	 X M L   =   X M L   &   " < _ _ V O R L A G E _ _ T 0 2 5 > " 	  
 	 	 	 X M L   =   X M L   &   " < B E L E G K E Y > " 	 	 	 	 &   S e q u e n c e K e y 	 	 	 	 &   " < / B E L E G K E Y > "  
 	 	 	 X M L   =   X M L   &   " < K o n t o n u m m e r > " 	 	 	 	 &   A c c o u n t N r 	 	 	 	 	 &   " < / K o n t o n u m m e r > "  
 	 	 	 X M L   =   X M L   &   " < L a u f n u m m e r > " 	 	 	 	 &   R u n n i n g N u m b e r 	 	 	 	 &   " < / L a u f n u m m e r > "  
 	 	 	 X M L   =   X M L   &   " < D a t u m _ L i e f e r s c h e i n > " 	 	 &   D a t e S t r i n g 	 	 	 	 &   " < / D a t u m _ L i e f e r s c h e i n > "  
 	 	 	 X M L   =   X M L   &   " < B e l e g a r t > "   	 	 	 	 &   D o c u m e n t T y p e 	 	 	 	 &   " < / B e l e g a r t > "  
 	 	 X M L   =   X M L   &   " < / _ _ V O R L A G E _ _ T 0 2 5 > "  
 	 	  
 	 	 	 ' X M L   M i t t e   f ü r   A b b u c h u n g  
 	 	 	 X M L   =   X M L   &   " < _ _ V O R L A G E _ _ T 0 2 6 > "  
 	 	 	 	 X M L   =   X M L   &   " < B E L E G K E Y > " 	 	 	 &   S e q u e n c e K e y 	 	 	 	 &   " < / B E L E G K E Y > "  
 	 	 	 	 X M L   =   X M L   &   " < A r t i k e l n u m m e r > " 	 	 &   I n t e r n a l P r o d u c t N u m b e r 	 	 &   " < / A r t i k e l n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < H a u p t a r t i k e l n u m m e r > " 	 &   P r o d u c t N u m b e r 	 	 	 	 &   " < / H a u p t a r t i k e l n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < D a t e n t y p > " 	 	 	 &   1 	 	 	 	 	 	 	 &   " < / D a t e n t y p > "  
 	 	 	 	 X M L   =   X M L   &   " < M e n g e g e l i e f e r t > " 	 	 &   - 1 	 	 	 	 	 	 &   " < / M e n g e g e l i e f e r t > "  
 	 	 	 	 X M L   =   X M L   &   " < A u s p r . 2 > " 	 	 	 	 &   P r o d u c t C u r r e n t S h a p e 	 	 &   " < / A u s p r . 2 > "  
 	 	 	 	 X M L   =   X M L   &   " < C h a r g e I d e n t n u m m e r > " 	 &   P r o d u c t S e r i a l N u m b e r 	 	 &   " < / C h a r g e I d e n t n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < L a g e r o r t > " 	 	 	 &   P r o d u c t S t o r a g e L o c a t i o n 	 &   " < / L a g e r o r t > "  
 	 	 	 X M L   =   X M L   &   " < / _ _ V O R L A G E _ _ T 0 2 6 > "  
 	  
 	 	 	 ' X M L   M i t t e   f ü r   Z u b u c h u n g  
 	 	 	 X M L   =   X M L   &   " < _ _ V O R L A G E _ _ T 0 2 6 > "  
 	 	 	 	 X M L   =   X M L   &   " < B E L E G K E Y > " 	 	 	 &   S e q u e n c e K e y 	 	 	 	 &   " < / B E L E G K E Y > "  
 	 	 	 	 X M L   =   X M L   &   " < A r t i k e l n u m m e r > " 	 	 &   P r o d u c t N u m b e r 	 	 	 	 &   " < / A r t i k e l n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < H a u p t a r t i k e l n u m m e r > " 	 &   P r o d u c t N u m b e r 	 	 	 	 &   " < / H a u p t a r t i k e l n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < D a t e n t y p > " 	 	 	 &   1 	 	 	 	 	 	 	 &   " < / D a t e n t y p > "  
 	 	 	 	 X M L   =   X M L   &   " < M e n g e g e l i e f e r t > " 	 	 &   1 	 	 	 	 	 	 	 &   " < / M e n g e g e l i e f e r t > "  
 	 	 	 	 X M L   =   X M L   &   " < A u s p r . 2 > " 	 	 	 	 &   P r o d u c t T a r g e t S h a p e 	 	 &   " < / A u s p r . 2 > "  
 	 	 	 	 X M L   =   X M L   &   " < C h a r g e I d e n t n u m m e r > " 	 &   P r o d u c t S e r i a l N u m b e r 	 	 &   " < / C h a r g e I d e n t n u m m e r > "  
 	 	 	 	 X M L   =   X M L   &   " < L a g e r o r t > " 	 	 	 &   P r o d u c t S t o r a g e L o c a t i o n 	 &   " < / L a g e r o r t > "  
 	 	 	 X M L   =   X M L   &   " < / _ _ V O R L A G E _ _ T 0 2 6 > "  
 	  
 	 	 X M L   =   X M L   &   " < / M E S O W e b S e r v i c e > "  
 	 	 X M L   =   R e p l a c e ( X M L ,   " _ _ V O R L A G E _ _ " ,   W E B _ V O R L A G E )  
 	 	 X M L   =   R e p l a c e ( X M L ,   " _ _ T Y P E _ _ " ,   W E B _ T Y P E )  
 	 	 X M L   =   R e p l a c e ( X M L ,   " _ _ O P T I O N _ _ " ,   W E B _ O P T I O N )  
 	 	 X M L   =   R e p l a c e ( X M L ,   " _ _ E X T E N T R Y _ _ " ,   W E B _ E X T E N T R Y )  
 	 	 X M L   =   R e p l a c e ( X M L ,   " _ _ P R I N T _ _ " ,   W E B _ P R I N T )  
 	 	  
 	 	 U R L   =   " h t t p : / / _ _ S E R V E R _ _ / e w l s e r v i c e / i m p o r t ? U s e r = _ _ U S E R _ _ & P a s s w o r d = _ _ P A S S W O R D _ _ & C o m p a n y = _ _ C O M P A N Y _ _ & T y p e = 3 0 & V o r l a g e = _ _ V O R L A G E _ _ & A c t i o n c o d e = _ _ A C T I O N C O D E _ _ & b y r e f = 0 & D a t a = _ _ D A T A _ _ "  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ S E R V E R _ _ " ,   W E B _ S E R V E R )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ U S E R _ _ " ,   W E B _ U S E R )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ P A S S W O R D _ _ " ,   W E B _ P A S S )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ C O M P A N Y _ _ " ,   W E B _ C O M P A N Y )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ V O R L A G E _ _ " ,   W E B _ V O R L A G E )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ A C T I O N C O D E _ _ " ,   W E B _ A C T I O N C O D E )  
 	 	 U R L   =   R e p l a c e ( U R L ,   " _ _ D A T A _ _ " ,   X M L )  
 	 	  
 	 	 I f   D E B U G _ O N   =   T r u e   T h e n  
 	 	 	 A d d D e b u g L i n e   " S e n d i n g   R e q u e s t   t o   W e b S e r v i c e s . . "  
 	 	 	 A d d D e b u g L i n e   " U R L :   "   &   U R L  
 	 	 	 S h o w D e b u g B o x   " W e b S e r v i c e s "  
 	 	 E n d   I f  
 	 	  
 	 	 '   = = = = = = = = = = = = = = = = = = = = = = =   E N D E   X M L   = = = = = = = = = = = = = = = = = = = = = = =  
 	  
 	 	  
 	 	 '   = = = = = = = = = = = = = = = = = = = = =   H T T P   R E Q U E S T   = = = = = = = = = = = = = = = = = = = = =  
 	 	  
 	 	 H T T P R e q u e s t   =   S e n d H T T P R e q u e s t ( U R L )  
 	 	  
 	 	 '   = = = = = = = = = = = = = = = = = = =   E N D E   H T T P   R E Q U E S T   = = = = = = = = = = = = = = = = = =  
 	  
 	 	 E r r o r   =   F a l s e  
 	 	 M e s s a g e   =   " "  
 	 	  
 	 	 I f   H T T P R e q u e s t ( 1 )   =   2 0 0   T h e n  
 	 	 	 I f   I n S t r ( H T T P R e q u e s t ( 0 ) ,   " < O v e r a l l S u c c e s s > t r u e < / O v e r a l l S u c c e s s > " )   >   0   T h e n  
 	 	 	 	 M e s s a g e   =   " D e r   U m b u c h u n g s - L i e f e r s c h e i n   w u r d e   e r z e u g t ! "   	 &   v b C r l f   &   _  
 	 	 	 	 	 	     " L a u f n u m m e r :   "   &   R u n n i n g N u m b e r   	 	 	 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	 	 	 	 	     " D e r   u r s p .   A r t i k e l   w u r d e   d e a k t i v i e r t :   "   	 	 &   v b C r l f   &   _  
 	 	 	 	 	 	     p a r a m P r o d u c t N u m b e r   	 	 	 	 	 	 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	 	 	 	 	     " D e r   f o l g e n d e   A r t i k e l   w u r d e   a n g e l e g t :   " 	 	 &   v b C r l f   &   _  
 	 	 	 	 	 	     P r o d u c t N u m b e r   &   P r o d u c t S h a p e S e p e r a t o r   &   P r o d u c t T a r g e t S h a p e   &   P r o d u c t S h a p e S e p e r a t o r   &   P r o d u c t S e r i a l N u m b e r  
 	 	 	 E l s e  
 	 	 	 	 E r r o r   =   T r u e  
 	 	 	 	 M e s s a g e   =   " D e r   U m b u c h u n g s - L i e f e r s c h e i n   w u r d e   n i c h t   e r z e u g t !   F e h l e r d e t a i l s :   "   &   v b N e w l i n e   &   v b N e w l i n e   &   H T T P R e q u e s t ( 0 )  
 	 	 	 E n d 	 I f  
 	 	 E l s e  
 	 	 	 E r r o r   =   T r u e  
 	 	 	 M e s s a g e   =   " F e h l e r   b e i m   Z u g r i f f   a u f   W e b s e r v i c e s   a u f g e t r e t e n "   &   v b N e w l i n e   &   " S t a t u s :   "   &   H T T P R e q u e s t ( 1 )  
 	 	 E n d   I f  
 	 	  
 	 	 I f   E r r o r   =   F a l s e   T h e n  
 	 	 	 M s g B o x   M e s s a g e ,   v b I n f o r m a t i o n ,   D E F A U L T _ T I T L E   &   "   -   A b s c h l u s s   e r f o l g r e i c h "  
 	 	 E l s e  
 	 	 	 M s g B o x   M e s s a g e ,   v b E x c l a m a t i o n ,   D E F A U L T _ T I T L E   &   "   -   F e h l e r   b e i   A b s c h l u s s "  
 	 	 E n d   I f  
 	 	  
 	 E l s e  
 	  
 	 	 m s g b o x   " D i e   V e r a r b e i t u n g   w u r d e   a b g e b r o c h e n ! " ,   v b E x c l a m a t i o n ,   D E F A U L T _ T I T L E   &   "   -   V o r g a n g   a b g e b r o c h e n ! "  
 	  
 	 E n d   I f   ' e n d   S u m m a r y Q u e s t i o n 	 	  
  
 ' I f   T a r g e t S h a p e   i s   t h e   s a m e   a s   t h e   C u r r e n t S h a p e   o f   t h e   P r o d u c t ,   S c r i p t   s h o u l d   d o   n o t h i n g !    
 E l s e i f   ( P r o d u c t T a r g e t S h a p e   =   P r o d u c t C u r r e n t S h a p e )   T h e n  
  
     	 I f   ( D E B U G _ O N   =   T r u e )   O r   ( D e b u g M o d e   =   " E n a b l e d " )   T h e n  
     	 	 M S G B O X 	 " C a n n o t   g o   o n ,   P r o d u c t T a r g e t S h a p e   =   P r o d u c t C u r r e n t S h a p e " , , " D E B U G   I n f o :   S h a p e   C h e c k "  
 	 E n d   I f  
  
 ' I f   G e t W i n L i n e S t o r a g e L o c a t i o n   f u n c t i o n   r e t u r n s   n o t h i n g  
 E l s e i f   ( P r o d u c t S t o r a g e L o c a t i o n   =   " " )   T h e n  
  
 	 m s g b o x   " E s   s c h e i n t   k e i n   L a g e r b e s t a n d   v o r h a n d e n   z u   s e i n ! " ,   v b O k o n l y + v b C r i t i c a l ,   D E F A U L T _ T I T L E   &   "   -   V o r g a n g   a b g e b r o c h e n ! "  
  
 ' F a l l s   n i c h t   a l l e   P f l i c h t p a r a m e t e r   ü b e r g e b e n   w u r d e n  
 E l s e  
  
 	 M S G B O X   	 " E s   w u r d e n   n i c h t   a l l e   W e r t e   g e f u n d e n   o d e r   ü b e r g e b e n :   " 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	 	 " P r o d u c t N u m b e r :   "   	 	 &   P r o d u c t N u m b e r   	 	 	 	 &   v b C r l f   &   _  
 	 	 	 " P r o d u c t T a r g e t S h a p e :   " 	 &   P r o d u c t T a r g e t S h a p e 	 	 	 &   v b C r l f   &   v b C r l f   &   _  
 	 	 	 " Ü b e r   d e n   D e b u g   M o d u s   d i e   e i n z e l e n   W e r t e   p r ü f e n ! " ,   v b O k o n l y + v b C r i t i c a l ,   " F e h l e r   b e i m   A u f r u f ! "  
  
 E n d   I f 	  
  
 ' # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #  
  
 ' # # # # # # # # # # #   f i n a l   p a r t   # # # # # # # # # # #  
  
 ' i f   D e b u g M o d e   e n a b l e d   o r   D e b u g O n   i s   t r u e ,   g o   t o   t h e   M a c r o   W i n d o w  
 S w i t c h W i n L i n e G o T o M a c r o s  
  
 ' # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #  
 ÿþÿ' E n d e   v o n   ( D e k l a r a t i o n e n )  
  
 