>TYPE   	D
>NAME   	mpbehov.d
>CODE   	mpbehov.cod
>BY     	@(#)$Author: Peter $
>DATE   	@(#)$Date: 07-02-14 15:48 $
>VERSION	@(#)$Revision: 2 $
>ID     	5041

>FILES ROWS 0
#type id  name        dbtype mode autoload r0 r1 r2 r3 r4 r5 comment

>TEXTINFO ROWS 5 SIZE 125
#id    value    flags    text
IDL_100  100  -  Du måste välja Kundorder och/eller Tillv.order
IDL_101  101  -  Felaktigt intervall
IDL_102  102  -  Läser kundorder
IDL_103  103  -  Läser tillverkningsorder
IDL_104  104  -  Inga order funna


>STACK ROWS 100 SIZE 5000

>FONT ROWS 9
#id Hgt Wth Esc Ori Wgt Ita  Ul Sth Chs Opr Clp Qua Pch Name
1    -9   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
2   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
3   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
4   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
5   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
6   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
7   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
8   -16   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
9   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"


>COLOR ROWS 16
#id color	comment
1   0x0        	""
2   0x808080   	""
3   0x80       	""
4   0x8080     	""
5   0x8000     	""
6   0x808000   	""
7   0x800000   	""
8   0x800080   	""
9   0xffffff   	""
A   0xc0c0c0   	""
B   0xff       	""
C   0xffff     	""
D   0xff00     	""
E   0xffff00   	""
F   0xff0000   	""
G   0xff00ff   	""


>BRUSH ROWS 5 SIZE 100
#id type	text
1   0	0xff0000
2   1	pattern
3   2	tegel.bmp
5   4	0xff
6   5	0x0


>APPEVENTS ROWS 0
#id Eventname	ParamList


>WINDOW ROWS 1
#id       x     y    cy    cx sp1	sp2	Bitmap	font	size	caption
5511     10    10   208   290 SB	-	-	"-"	  8	"Behov per vecka"

>FORM MAIN ROWS 16 SIZE 133 "100 Main"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
DP    51   14   54   13   54 W5	Pa	-	dpFromWeek	#844	""
DP    52   28   54   13   54 W5	Pa	-	dpToWeek	#846	""
RB    58   18  126   10   50 -	RP	-	rbAll	-	"Alla"
RB    59   28  126   10   58 -	RP	-	rbSelect	-	"Valda urval"
XB    56   38  136   10   60 -	RP	-	xbOrder	-	"Kundorder"
XB    57   48  136   10   60 -	RP	-	xbManufact	-	"Tillv.order"
B3    64   50  228   15   60 -	TPz	-	pbCalc	-	"calc.bmp,&Beräkna "
GR    46   70    4  100  124 -	PW	-	lcTable	-	""
GR    49   70  132  100  156 -	pWZ	-	lcOrder	-	""
WW    60  174    6   18   98 -	Pw	-	win1	-	""
B3    45  176  132   15   60 -	TPw	-	pbOK	-	"ok.bmp,&OK"
B3  4015  176  228   15   60 -	xTPwz	-	pbCancel	-	"cancel.bmp,Av&bryt"
T     54   29   10   11   44 -	p	-	-	-	"Till vecka:"
T     53   15   10   11   44 -	p	-	-	-	"Från vecka:"
GB    55    8  122   52   82 -	p	-	-	-	"Urval"
GB    65    2    4   62  208 -	pZ	-	-	-	"Kriterier"

>FORM lcTable ROWS 3 SIZE 25 ""
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T     88    1    1   11   28 -	Hp	-	-	#17701	"Vecka"
T     89    1   29   11   40 -	RHp	-	-	#17702	"Order"
T     90    1   69   11   40 -	RHp	-	-	#17703	"Under tillv."

>FORMFILES lcTable ROWS 0
#Id	sp
>FORM win1 ROWS 2 SIZE 8 "win1"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
D     47    2   32   13   48 -	P	-	edTotal	-	""
T     48    3    2   11   30 -	p	-	-	-	"Antal:"

>FORM lcOrder ROWS 4 SIZE 30 ""
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T     81    1    1   11   40 -	Hp	-	-	#3001	"Kundkod"
T     82    2   42   11   46 -	Hp	-	-	#3081	"Ordernamn"
T     83    2   88   11   28 -	Hp	-	-	#3112	"Datum"
T     84    2  116   11   26 -	RHp	-	-	#3545	"Antal"

>FORMFILES lcOrder ROWS 2
#Id	sp
30	r
34	r
>SOURCE
