>TYPE   	D
>NAME   	pdasale.d
>CODE   	pdasale.cod
>BY     	@(#)$Author: Anna $
>DATE   	@(#)$Date: 07-08-10 13:05 $
>VERSION	@(#)$Revision: 14 $
>ID     	0

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

>TEXTINFO ROWS 11 SIZE 235
#id    value    flags    text
IDL_100  100  -  Kund saknas
IDL_101  101  -  Kundkod måste anges
IDL_102  102  -  Lager måste anges
IDL_103  103  -  Projekttyp måste anges
IDL_104  104  -  Betalningsvillkor måste anges
IDL_105  105  -  Felaktig vecka
IDL_106  106  -  Artikelkod kan bara vara %1 tecken
IDL_107  107  -  Antal måste anges
IDL_108  108  -  Artikelkod kan inte vara blank
IDL_109  109  -  Felaktigt datum
IDL_110  110  -  Order %1 pakerad


>STACK ROWS 100 SIZE 5000

>FONT ROWS 37
#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 "Tahoma"
2   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
3   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Tahoma"
4   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Tahoma"
5   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
6   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Tahoma"
7   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Tahoma"
8   -16   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
9   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
A   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Verdana"
B   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Verdana"
C   -21   0   0   0 700   0  0   0   0   0   0   0   0 "Verdana"
D   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
E   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
F   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
G    -9   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
H   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
I   -11   0   0   0 400   1  0   0   0   0   0   0   0 "Tahoma"
J   -11   0   0   0 700   0  0   0   0   0   0   0   0 "Tahoma"
K   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
L   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Tahoma"
M   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Tahoma"
N   -16   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
O   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Tahoma"
P    -9   0   0   0 400   0  0   0   0   0   0   0   0 "Verdana"
Q   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Verdana"
R   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Verdana"
S   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Verdana"
T   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Verdana"
U   -16   0   0   0 400   0  0   0   0   0   0   0   0 "Verdana"
V   -19   0   0   0 400   0  0   0   0   0   0   0   0 "Verdana"
W    -9   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
X   -11   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
Y   -13   0   0   0 400   0  0   0   0   0   0   0   0 "Arial"
Z   -13   0   0   0 400   1  0   0   0   0   0   0   0 "Arial"
a   -13   0   0   0 700   0  0   0   0   0   0   0   0 "Arial"
b   -16   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   224   160 S	-	pdatop.bmp	"-"	  0	"Säljare"

>FORM MAIN ROWS 2 SIZE 30 "100 Main"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
TB    57   24    2  214  174 -	PB	-	tab1	-	"Order,Info,Rad,Radinfo,Rader"
WW   136    2    2   18  142 -	P	-	win10	-	""

>FORM tab1 ROWS 5 SIZE 5 "tab1"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW    58   14    2  198  150 -	P	-	win1	-	""
WW    59   14    2  198  150 -	HP	-	win2	-	""
WW    60   14    2  198  166 -	P	-	win3	-	""
WW   143   14    2  198  150 -	P	-	win11	-	""
WW   144   14    2  198  150 -	P	-	win12	-	""

>FORMFILES tab1 ROWS 0
#Id	sp
>FORM win1 ROWS 20 SIZE 111 "Order"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW    78    2    0   18  138 -	P	-	win4	-	""
CB   265   24   50   50   88 -	P	-	cbSalesPerson	-	""
D     74   38   50   13   70 -	PU	-	edCustomer	#2001	""
D    123   52   50   13   70 -	P	-	edCustomerName	#2021	""
D    142   66   50   13   70 -	PU	-	edOrder	-	""
CB   259   80   50  162   88 -	p	-	cbStock	-	""
D    267   94   50   13   88 -	P	-	edYourOrder	#3014	""
XB   269  108   50   13    8 -	P	-	-	#864	""
WW    79  126    0   30  138 -	P	-	win5	-	""
B3   171   52  122   13   15 -	xQpF	-	pbCustomerName	-	"seek.bmp"
B3   172   66  122   13   15 -	xQpF	-	pbOrderSearch	-	"seek.bmp"
B3   250   66  138   13   15 -	xQpF	-	pbSearchParked	-	"p.bmp"
T    258   82    2   11   44 -	p	-	-	-	"Lager:"
T     66   26    2   11   44 -	p	-	-	-	"Säljare:"
B3   170   38  122   13   15 -	xQpF	-	pbCustomer	-	"seek.bmp"
T     73   54    2   11   44 -	p	-	txCustomerName	-	"Namn:"
T    268   96    2   11   44 -	p	-	-	-	"Ert ordernr:"
T     68   40    2   11   44 -	p	-	txCustomer	-	"Kundkod:"
T    271  110    2   11   44 -	p	-	-	-	"Direktutskrift:"
T     75   68    2   11   44 -	p	-	txOrder	-	"Ordernr:"

>FORMFILES win1 ROWS 0
#Id	sp
>FORM win5 ROWS 4 SIZE 68 "Knappar"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
B3    77    0    0   15   40 -	QP	-	pbContinue	-	"continue.bmp,Fortsätt"
B3   104    0   86   15   40 -	QP	-	pbSave	-	"save.bmp,Spara"
B3   177    0   42   15   40 -	QP	-	pbDelete	-	"del.bmp,Makulera"
B3   178   16    0   15   40 -	QP	-	pbPark	-	"p.bmp,Parkera"

>FORMFILES win5 ROWS 0
#Id	sp
>FORM win2 ROWS 3 SIZE 3 "Rad"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW   196    0    0   14  138 -	P	-	win13	-	""
WW   105  120    0   30  150 -	P	-	win7	-	""
WW   205    0    0  116  148 -	P	-	win14	-	""

>FORMFILES win2 ROWS 0
#Id	sp
>FORM win3 ROWS 3 SIZE 3 "rader"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
GR   127   58    4  122  144 -	P/	-	lcRows	-	""
WW   281    2    2   30  160 -	P	-	win16	-	""
WW   290   34    2   20  158 -	P	-	win17	-	""

>FORMFILES win3 ROWS 0
#Id	sp
>FORM win4 ROWS 2 SIZE 38 "Kommando"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
B3    63    2    0   15   68 -	QPM	-	pbNew	-	"new.bmp,Ny Order"
B3    64    2   70   15   68 -	QPM	-	pbChange	-	"edit.bmp,Ändra order"

>FORMFILES win4 ROWS 0
#Id	sp
>FORM win7 ROWS 6 SIZE 102 "Knappar"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
B3   106    0    0   15   52 -	QP	-	pbSaveRow	-	"save.bmp,Spara rad"
B3   180    0   54   15   40 -	QP	-	pbNewText	-	"new.bmp,Ny text"
B3   181    0   96   15   40 -	QP	-	pbDeleteRow	-	"del.bmp,Makulera"
B3   184   16    0   15   52 -	QP	-	pbSaveOrder	-	"save.bmp,Spara order"
B3   120   16   54   15   40 -	QP	-	pbNewArt	-	"new.bmp,Ny art"
B3   253   16   96   15   40 -	QP	-	pbParkOrder	-	"p.bmp,Parkera"

>FORMFILES win7 ROWS 0
#Id	sp
>FORM win10 ROWS 1 SIZE 10 "Rubrik"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
L    140    4   12   11   60 -	p	-	-	-	"pdatop.di"

>FORMFILES win10 ROWS 0
#Id	sp
>FORM win11 ROWS 23 SIZE 213 "Info"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
CB   148    2   56   50   84 -	P	-	cbProjectType	-	""
D    150   16    2   13  138 -	P/	-	edProjectName	#3081	""
CE   277   30   56   50   84 -	Pc	-	cbFormSet	-	""
CB   260   44   56   50   84 -	P	-	cbAddressCode	-	""
CB   254  130   56   50   84 -	P	-	cbModeOfTransport	-	""
CB   256  144   56   50   84 -	P	-	cbTermsOfDelivery	-	""
CB   156  158   56   50   84 -	P	-	cbPaymentTerms	-	""
D    280  172   56   13   44 -	P	-	edDeliveryWeek	#3126	""
D    251  186   56   13   44 -	P	-	edProjectDate	#3112	""
T    252  188    2   11   50 -	p	-	-	-	"Projektdatum:"
T    154   70    2   11  136 -	p/	-	-	#3030	"Leveransadress 2"
T    255  132    2   11   50 -	p	-	-	-	"Transportsätt:"
T    155   82    2   11  136 -	p/	-	-	#3031	"Leveransadress 3"
T    257  146    2   11   50 -	p	-	-	-	"Lev.villkor:"
T    153   58    2   11  136 -	p/	-	-	#3027	"Leveransadress 1"
T    261   46    2   11   50 -	p	-	-	-	"Adresskod:"
T    262   94    2   11  136 -	p/	-	-	#3033	"Leveransadress 4"
T    263  106    2   11  136 -	p/	-	-	#3034	"Leveransadress 5"
T    264  118    2   11  136 -	p/	-	-	#3035	"Leveransadress 6"
T    157  160    2   11   50 -	p	-	-	-	"Bet.villkor:"
T    278   32    2   11   50 -	p	-	-	-	"Blankettset:"
T    279  174    2   11   50 -	p	-	-	-	"Lev.vecka:"
T    149    4    2   11   50 -	p	-	txProjectType	-	"Projekttyp:"

>FORMFILES win11 ROWS 0
#Id	sp
>FORM win12 ROWS 8 SIZE 45 "Radinfo"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T    201    2    2   11   44 -	p	-	txRowNo	-	"Radnr:"
T    274   16    2   11   44 -	p	-	-	-	"Lev.vecka:"
D    202    0   50   13   44 -	P	-	edRowNo	#3403	""
D    273   14   50   13   44 -	P	-	edDeliveryWeekRow	#3513	""
EM   193   82    4   98  142 -	P/	-	edF7Text	-	""
BM   266   30    4   34  140 -	STp/	-	bmPictureArt	-	""
RB   185   68    6   10   60 -	RP	-	rbComment	-	"Kommentar"
RB   186   68   72   10   60 -	RP	-	rbMarketinginfo	-	"Marknadsinfo"

>FORMFILES win12 ROWS 0
#Id	sp
>FORM lcRows ROWS 5 SIZE 37 ""
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T    173    1    1   11   22 -	Hph	-	-	#3403	"Radnr"
T    174    1   23   11   44 -	Hph	-	-	#8835	"Artikel"
T    175    1   67   11   30 -	RHp	-	-	#3531	"Antal"
T    176    1   97   11   30 -	RHp	-	-	#8591	"Belopp"
T    294    1  127   11   45 -	Hp	-	-	#3421	"Benämning"

>FORMFILES lcRows ROWS 0
#Id	sp
>FORM win13 ROWS 2 SIZE 10 "Text"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
D    197    0    2   13  118 -	P	-	edText	#3421	""
B3   198    0  122   13   15 -	xQpF	-	pbText	-	"seek.bmp"

>FORMFILES win13 ROWS 0
#Id	sp
>FORM win14 ROWS 21 SIZE 100 "win14"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
WW   223    0    0   13  148 -	P	-	win15	-	""
D    222   16    0   13  146 -	P/	-	edArtName	#3421	""
D    219   30   54   13   52 -	PU	-	edNormPrice	#3551	""
D    217   44   54   13   52 -	pO	-	edLatestPrice	-	""
D    215   58   54   13   52 -	pO	-	edDisp	-	""
D    211   72   54   13   52 -	P	-	edQuantity	#3541	""
D    209   86   54   13   52 f8.4	p	-	edDiscount	#3553	""
D    207  100   54   13   52 -	pU/	-	edAmount	#3552	""
B3   213   72  122   13   15 -	Qp0	-	pbDec	-	"pda2down.bmp"
T    214   60    0   11   52 -	p	-	txDisp	-	"Disp/förpack:"
T    210   74    0   11   52 -	p	-	txQuantity	-	"Antal:"
T    216   46    0   11   52 -	p	-	txLatestPrice	-	"Senaste pris:"
T    208   88    0   11   52 -	p	-	txDiscount	-	"Rabatt:"
T    218   32    0   11   52 -	p	-	txNormPrice	-	"Normalpris:"
B3   212   72  106   13   15 -	Qp0	-	pbInc	-	"pda2up.bmp"
RB   220   32  108   10   10 -	p	-	rbNormPrice	-	""
RB   221   46  108   10   10 -	p	-	rbLatestPrice	-	""
T    206  102    0   11   52 -	p	-	txAmount	-	"Belopp:"
T    232   74  138   11   60 -	p	-	txUnit	-	""
D    233   58  108   13   38 -	pO/	-	-	#1067	""
T    272   33  124   11   20 -	p	-	txCurrency	-	""

>FORMFILES win14 ROWS 0
#Id	sp
>FORM win15 ROWS 4 SIZE 35 "win15"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
D    243    0    0   13   94 -	PU	-	edArt	#3401	""
B3   244    0  112   13   15 -	QpF	-	pbPrevArt	-	"pdaleft.bmp"
B3   245    0  128   13   15 -	QpF	-	pbNextArt	-	"pdaright.bmp"
B3   246    0   96   13   15 -	xQpF	-	pbArt	-	"seek.bmp"

>FORMFILES win15 ROWS 0
#Id	sp
>FORM win16 ROWS 8 SIZE 33 "win16"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
T    282    2    0   11   28 -	p	-	-	-	"Ordernr:"
D    283    0   30   13   34 -	PO	-	edOrderNoRows	-	""
T    284    2   70   11   38 -	p	-	-	-	"Ordervärde:"
D    285    0  110   13   48 -	PO	-	edOrdervalue	-	""
T    286   16    0   11   28 -	p	-	-	-	"TB:"
D    287   14   30   12   34 -	PO	-	edTB	-	""
T    288   16   70   11   38 -	p	-	-	-	"TG:"
D    289   14  110   12   48 -	PO	-	edTG	-	""

>FORMFILES win16 ROWS 0
#Id	sp
>FORM win17 ROWS 3 SIZE 24 "win17"
#T   Id    R    C   cy   cx sp	sp1	sp2	Id	Label
RB   291    8    4   10   42 -	RP	-	rbRow	-	"Radnr"
RB   292    8   50   10   50 -	RP	-	rbItem	-	"Artikel"
GB   293    0    0   20  124 -	p	-	-	-	"Sortering"

>FORMFILES win17 ROWS 0
#Id	sp
>SOURCE
