You are on page 1of 224

..

2550

2549
-----------------------------------------------------------------------------------------------------------------------

(.. )

( )
...
( )
..
( )
..
( )

Microsoft Visual Studio 2005


Microsoft SQL Server 2000



(//)

...............................................................................................................................................
...............................................................................................................................
.................................................................................................................................................
.......................................................................................................................................
..........................................................................................................................................

1
................................................................................. 1
..................................................................................................... 3
.......................................................................................................................... 3
................................................................................................................... 3
........................................................................................................... 5
.................................................................................................... 6
2
............................................................................................................. 7
............................................................................................... 7
................................................................................................................. 8
............................................................................................................... 16
3
...................................................................................................... 22
......................................................................................................... 22
........................................................................................................ 23
...................................................................................... 32
4
......................................................................................................... 62
....................................................................................................... 105

()

5
................................................................................................
....................................................................................................
.......................................................................................................................
....................................................................................................................................

E-R Diagram ..............................................................................................


Data Dictionary ..........................................................................................
Context Diagram ........................................................................................
Data Flow Diagram Level 0.......................................................................
Data Flow Diagram Level 1 ......................................................................
Data Flow Diagram Level 2 ......................................................................
.............................................................................
...........................................................................................
..........................................................................................................

154
155
155
156
158
160
170
171
173
181
185
192
209

3.1 ................................................................................ 24
3.2 ................................................................. 28
3.3 ............................................................................................................ 57
.1 ............................................................................................................ 160
.2 ....................................................................................................................... 161
.3 ................................................................................................................... 161
.4 ........................................................................................................... 161
.5 ............................................................................................................ 162
.6 .......................................................................................... 162
.7 ......................................................................................................... 163
.8 ................................................................................................................... 163
.9 ................................................................................................. 163
.10 ........................................................................................... 164
.11 ................................................................................................... 164
.12 ....................................................................................................... 164
.13 .......................................................................................... 165
.14 ....................................................................................... 165
.15 ................................................................................................................ 165
.16 ......................................................................................................... 166
.17 ....................................................................................... 166
.18 .............................................................................................................. 167
.19 ........................................................................................................ 167
.20 ...................................................................................... 167
.21 .................................................................................................................... 168
.22 ........................................................................................................... 168
.23 ............................................................................................. 169
.24 ...................................................................................................... 169

2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15

............................................................................................. 7
http://www.thaiware.com/main.............................................................................................. 9
http://www.millennium.co.th.............................................................................................. 10
http://www.sourcecode.in.th ............................................................................................... 11
http://www.thaidev.com...................................................................................................... 12
http://www.krungthaioptic.com .......................................................................................... 13
http://www.thai-programmer.com ...................................................................................... 14
http://www.indysoft.co.th/product/software/acback1.html#ST.......................................... 15
....................................................................................... 16
............................................................................... 17
.......................................................................................... 18
. ............................ 19
...................................................................................... 20
......................................................................................................... 21
Flow chart ................... 29
Flow chart ........................................................................ 30
Program Map ..................................................................................................................... 31
Login ................................................. 32
........................................................... 33
................................................ 34
........................................................... 35
...................................................... 36
............................................................ 37
............................................................... 38
....................................................... 39
............................................................. 40
...................................................... 41
..................................................... 42
.......................................................... 43

()

3.16
3.17
3.18
3.19
3.20
3.21
3.22
3.23
3.24
3.25
3.26
3.27
3.28
3.29
3.30
3.31
3.32
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4.12

.................................................... 44
............................................ 45
................................................... 46
........................................ 47
........................................................... 48
....................................................... 49
....................................................... 50
...................................................................... 51
....................................................... 52
...................................................... 53
............................................................ 54
.......................................... 55
....................................................................................... 56
....................................................................................................... 58
......................................................................................... 59
........................................................... 60
.......................................................... 61
Login .................................................................................................... 62
................................................................. 63
................................................................... 65
..................................................................................................................... 66
.......................................................................................................... 67
............................................................................................................. 68
............................................................................................................. 69
................................................................................................... 70
............................................................................. 71
.................................................................................................................. 72
......................................................................................................... 73
......................................................................................... 74

()

4.13
4.14
4.15
4.16
4.17
4.18
4.19
4.20
4.21
4.22
4.23
4.24
4.25
4.26
4.27
4.28
4.29
4.30
4.31
4.32
4.33
4.34
4.35
4.36
4.37
4.38
4.39
4.40
4.41

............................................................................................. 75
.................................................................................................................... 76
............................................................................................ 77
..................................................................................................... 78
.............................................................................................................. 79
.................................................................................................... 80
............................................................................................................. 81
...................................................................................................... 82
............................................................................... 83
.................................................................................. 84
............................................................................... 85
................................................................................... 86
................................................................................ 87
..................................................................................... 88
................................................................................... 89
.......................................................................................................... 90
/ .................................................................... 91
.............................................................................. 92
......................................................................... 93
/ ................................................................... 94
............................................................................. 95
............................................................................ 96
........................................................................ 97
/ .................................................................... 98
.............................................................................. 99
........................................................................... 100
....................................................................... 101
/ .............................................................................................. 102
.......................................................................................................... 103

()

4.42
4.43
4.44
4.45
4.46
4.47
4.48
4.49
4.50
4.51
4.52
4.53
4.54
4.55
4.56
4.57
4.58
4.59
4.60
4.61
4.62
4.63
4.64
4.65
4.66
4.67
4.68
4.69
4.70

........................................................................................................... 104
Login ................................................................................................... 105
.............................................................................................. 106
............................................................................................... 106
........................................................................ 106
.................................................................................... 107
.................................................................................... 108
...................................................................................... 108
........................................................... 108
.................................................................................................. 109
..................................................................................... 109
............................................................................ 110
.......................................................... 110
....................................................................................... 111
.............................................................................. 111
.................................................................. 112
........................................................... 112
............................................................ 113
............................................................................................... 113
...................................................................................... 114
.............................................................................................. 114
............................................................................................. 115
.............................................. 116
.............................................................................. 116
........................................................................................ 117
............................................................................ 117
..................................................................... 118
...................................................... 118
.................................................................. 119

()

4.71
4.72
4.73
4.74
4.75
4.76
4.77
4.78
4.79
4.80
4.81
4.82
4.83
4.84
4.85
4.86
4.87
4.88
4.89
4.90
4.91
4.92
4.93
4.94
4.95
4.96
4.97
4.98
4.99

............................................ 119
...................................................................................................... 120
.................................................... 120
................................................................................................. 120
............................................................ 121
................................................................................ 121
........................................................................... 122
................................... 122
.................................................................................... 122
.................................................................... 123
................................................................. 124
.................................................................................... 124
..................................................................................................... 125
...................................................................................... 125
.................................................................................................. 126
........................................................................... 126
............................................................................. 127
...................................................................................................... 127
................................................................... 128
..................................................................... 128
.................................................................................. 129
...................................................................................................... 129
......................................................................................... 130
.......................................... 131
........................................ 131
..................................................................... 131
..................................................................................... 132
.......................................................................................... 133
..................................................................... 133

()

4.100
4.101
4.102
4.103
4.104
4.105
4.106
4.107
4.108
4.109
4.110
4.111
4.112
4.113
4.114
4.115
4.116
4.117
4.118
4.119
4.120
4.121
4.122
4.123
4.124
4.125
4.126
4.127
4.128

...................................................................................... 134
........................................................................................... 135
...................................................................... 135
.......................................................................................... 136
............................................................ 136
............................................................................... 137
........................................... 137
.................................................................................... 138
......................................................... 139
.................................................... 139
............................................................................... 140
.................................................... 140
................................................................................... 141
.................................................... 141
........................................... 142
.............................................. 142
.............................................................................. 143
.................................................. 143
...................................................... 144
............................... 144
.................................................................................... 145
..................................................................... 146
............................................... 146
................................................................................ 147
.......................................................................... 147
.................................................. 148
............................................... 148
-............................................................................................. 149
............................................................................... 149

()

4.129
4.130
4.131
4.132
4.133
.1
.2
.3
.4
.5
.6
.7
.8
.9
.10
.11
.12
.13
.14
.15
.1
.2
.3
.4
.5
.6
.7
.1
.2

................................................................................................................. 150
................................................................................. 150
................................................................................................................ 151
........................................................................ 152
................................................................................. 153
E-R Diagram () ............................................................................................. 158
E-R Diagram ().................................................................................................. 159
Context Diagram................................................................................................................ 170
Data Flow Diagram Level 0............................................................................................... 171
Data Flow Diagram Level1 of Process 1 .......................................................................... 173
Data Flow Diagram Level1 of Process 2 .......................................................................... 174
Data Flow Diagram Level1 of Process 3 .......................................................................... 175
Data Flow Diagram Level1 of Process 4 .......................................................................... 176
Data Flow Diagram Level1 of Process 5 .......................................................................... 177
Data Flow Diagram Level1 of Process 6 .......................................................................... 178
Data Flow Diagram Level1 of Process 7 .......................................................................... 179
Data Flow Diagram Level1 of Process 8 .......................................................................... 180
Data Flow Diagram Level2 of Process 1.5 ....................................................................... 181
Data Flow Diagram Level2 of Process 8.2 ...................................................................... 182
Data Flow Diagram Level 2 of Process 8.3 ..................................................................... 183
...................................................................................................... 185
........................................................................................ 185
..................................................................... 186
................................................................................ 187
..................................................................................... 188
..................................................................................................... 189
Start Menu........................................................................................ 190
..................................................................................................... 192
................................................................................ 192

()

.3
.4
.5
.6
.7
.8
.9
.10
.11
.12
.13
.14
.15
.16
.17
.18
.19
.20

.................................................................................... 193
............................................................................... 194
......................................................................... 195
............................................................................................... 196
..................................................................................... 197
............................................................... 198
.................................................................................. 199
.................................................................................. 200
....................................................................................................... 201
.................................... 201
............................................................................................... 202
............................................................................................... 203
.......................................................................... 204
..................................................................................... 205
................................................................................................................ 206
........................................ 206
......................................................................................................... 207
..................................................................................................... 208


1.


2.


3.

4.



5.


6. -

7. -

8.

Windows Application

1.
1.1 -
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.2
1.2.1
1.2.2
1.3
1.3.1
1.4
1.4.1
1.4.2
1.4.3
1.4.3 (//)
1.4.4 -
2.
2.1
1) CPU Inter Pentium4 2.4 GHz
2) Hard Disk 80 GB
3) RAM 512 MB
4) CD-RW Drive
6) Floppy Disk Drive

7) Printer
8) MODEM
9) Digital Camera
2.2
1) CPU Pentium 4 1.4 GHz
2) Hard Disk 40 GB
3) RAM 256 MB
4) CD-ROM Drive
5) Printer
3.
3.1
1) Microsoft Windows XP Professional Service Pack2
2) Microsoft Visual Studio 2005
3) Microsoft Office 2003
4) Adobe Photoshop CS2
5) Adobe Image Ready CS2
5) Microsoft Visio 2003
6) Microsoft SQL Server 2000
3.2
1) Microsoft Windows XP Professional Service Pack 2
2) Microsoft SQL Server 2000
3)
4) Microsoft .NET Framework 2.0

1.

1)
2)
3)
4)
5)
2

1) -
2)
3)
3. ER-Diagram Data Flow Diagram

4. Windows Application
1) User Interface
2)

3) (Help)
5.

6.

7.

1.
2.

3.
4. -
5.
6.


Microsoft Visual Studio 2005
Microsoft SQL Server 2000


(Help)




2.1

Stand Alone







Stand Alone

E-Commerce



2.2 http://www.thaiware.com/main

(Invoice) ()

10

2.3 http://www.millennium.co.th

11

2.4 http://www.sourcecode.in.th
Windows Application Web Application
Source code
Visual Basic.NET

12

2.5 http://www.thaidev.com

13

2.6 http://www.krungthaioptic.com

14

2.7 http://www.thai-programmer.com

ADO Database Database


15

2.8 http://www.indysoft.co.th/product/software/acback1.html#ST
INDY POS

INDY POS

16

2.9
(2547)



Microsoft SQL Server 2000
Microsoft Visual Studio .Net 2003

17

2.10
(2547)



Microsoft Office Access 2003
Microsoft Visual Studio 2005 Adobe Photoshop 8.0

18

2.11
(2547)


Microsoft Visual Studio .Net 2003
Microsoft SQL Server 2000 Adobe Photoshop
7.0

19

2.12 .
(2547)
.

Microsoft Office
Access 2003 Microsoft Visual Studio .NET 2003

20

2.13
. (2546)


Microsoft Office Access 2000, Microsoft Visual
Basic 6.0 Microsoft Visio 2002

21

2.14
(2546)



Microsoft Visual Basic 6.0
Microsoft SQL Server 2000
Adobe Photoshop 7.0

1.

2.
3.
4.

5.

1.




2.
http://www.krungthaioptic.com/product_cebe.asp
3. VB.NET Database

23

1.

2.
3.
4.
5.
6.

7.
-
8.
9.
3

10.
11.
12.

24

3.1
/ /

1.


- -

-
-
2.

-
-
3.

-

-

4.

1. -

-
-
2.
-
3.
-
4.

25

3.1 ()
/
5.

6.

7.

/
1.

2.

-
-
-

1.
2.
3.

1.
2.

-

-
-

-
-
-
-
1.
2.
3.
4.

26

3.1 ()
/
8.

9.

10.

1.
2.

3.

1.

2.

1.


2.

1.
2.

1.
2.

1. ()
2.

27

3.1 ()
/
11.

12.

13.

1.
2.

1.
2.

3.
1.

2.

3.

4.

1.
2.
3.

28

3.2
/
1.

1.
2.

3.
2. 1.

2.

3.
-
3. 1.

2.

4.

5.

1.
2.

1.

2.

1.

2.

1.

2.

1.

2.

29

3.1 Flow chart

30

3.2 Flow chart

31

/
/

3.3 Program Map

32

(Input Design)

3.4 Login

33

3.5

34

3.6

35

3.7

36

3.8


37

3.9

38

3.10

39

3.11

40

3.12

41

3.13

42

3.14

43

3.15

44

3.16

45

3.17

46

3.18

47

3.19

48

3.20

49

3.21

50

3.22

51

(Output Design)

508/27 <>
(02)472-2953
.........................
................................

3.23

52

..................................................


3.24

53

2549
..................................................

1
2
3
4
5
6
7
8
9
10
11
12

3.25

54

..................................................
.........................

3.26

55

........
............................................................................
......................................................... .......... .................................................../
............................................................................../......................................
508/27 . ........................................ .02-4122953

1. .............................................................. .............................. R.L. PD


...................................
.......................... ....................... ..........................
2. .............
..................
1 .........................................................................................
2 .........................................................................................
3 .........................................................................................
.............................................................................................................................................................

3.
4.

5. 2


30%
................................................................
................................................................
................................................................/

3.27

56

3.28

57

3.3

members
cures
receipts
bills
billDetails
cashes
employees
salarydetails
empTimework
Typesstopwork
paySalarys
typePayments
companies
claims
makes
makeDetails
suppliers
orders
orderDetails
products
productTypes
cheques
partialReceives

58

4.
4.1 Microsoft SQL Server 2000

3.29

59

4.2 Microsoft Visual Studio 2005

3.30

60

4.3 Microsoft Visual Studio 2005

3.31

61

4.4

3.32

4.1 Login
Login

63

4.2

-
-
-
- /

- /

64

- /

- /
-

-

65

4.3

-
-
-
-
-
-

66

4.4

(L) (R)
/ /

67

4.5

68

4.6

69

4.7



70

4.8

71

4.9

72

4.10

-
/

73

4.11

74

4.12

75

4.13


76

4.14


77

4.15

78

4.16


79

4.17

80

4.18

81

4.19

82

4.20


83

4.21




4.21

84

4.22




85

4.23




4.23

86

4.24


87

4.25




4.25

88

4.26


89

4.27


90

4.28

91

4.29 /
/
-
-

92

4.30

93

4.31


94

4.32 /
/
-
-

95

4.33



4.33

96

4.34

97

4.35


98

4.36 /
/
-
-

99

4.37




4.37

100

4.38

101

4.39


102

4.40 /
/
/ /
- /

103

4.41


104

4.42

105

4.43 Login

106

4.44

4.44
4.45

4.45
4.46

4.46

107

4.47

108

4.48

4.48
4.49

4.49
4.50

4.50

109

4.51
4.52

4.52

110

4.53

4.53
4.54

4.54

111

4.55
4.56

4.56

112

4.57

4.57
4.58

4.58

113

4.59
4.60

4.60

114


4.61

4.61
4.62

4.62

115

4.63

116

4.64

4.64
4.65

4.65

117

4.66
4.67

4.67

118


4.68

4.68
4.69

4.69

119

4.70
4.71

4.71

120


4.72

4.72

4.73

4.73
Yes 4.74

4.74

121

4.75
4.76

4.76

122

4.77

4.77
4.78

4.78
4.79

4.79

123

4.80

124


4.81

4.81
Yes 4.82

4.82

125

4.83
4.84

4.84

126

4.85
4.86

4.86

127

4.87

4.87

4.88

128

4.89

4.89
4.90

4.90

129

4.91

4.92

4.92

130


4.93

4.93

131

4.94

4.94
4.95

4.95
4.96

4.96

132

4.97
4.98

133

4.98
4.99

4.99

134

4.100

4.101

135

4.101
4.102

4.102
Yes

136

4.103
4.104

4.104

137

4.105

4.106

4.106

138

4.107

139


4.108

4.108
4.109

4.109
Yes

140

4.110

4.111

4.111

141

4.112
4.113

4.113

142

4.114

4.114
Yes
4.115

4.115
Yes

143

4.116
4.117

4.117

144

4.118

4.118
4.119

4.119
Yes

145

4.120

146

4.121

4.121

4.122

4.122
Yes

147

4.123
4.124

4.124

148

4.125

4.125
4.126

4.126
Yes

149

4.127 -
4.128

4.128

150

4.129

4.129
4.130

4.130
Yes

151

4.131

4.131

152

4.132

4.132

153

4.133

4.133




Microsoft Visual Studio 2005
Microsoft SQL Server 2000




(//)


155

1.

2.
3. Database
4.
5.

6.

7. Microsoft Visual Studio 2005


1. Pocket PC

2. BarCode
3.


. (2545). VB.NET .:

. (2545). Microsoft Visual Basic.Net .
: ()
. Microsoft Visual Basic.Net .:
.
. Start Microsoft Visual Basic.Net.: ...
.
. (2549). Crystal Reports XI .:
.
. (2545). Microsoft SQL Server 2000
.: .

http://www.thaiware.com/main
http://www.millennium.co.th
http://www.sourcecode.in.th
http://www.thaidev.com
http://www.krungthaioptic.com
http://www.thai-programmer.com
http://www.indysoft.co.th/product/software/acback1.html#ST

158

.1 E-R Diagram ()

159

.2 E-R Diagram ()

Data Dictionary
.1

members
cures
receipts
bills
billDetails
cashes
employees
salarydetails
empTimework
Typesstopwork
paySalarys
typePayments
companies
claims
makes
makeDetails
suppliers
orders
orderDetails
products
productTypes
cheques
partialReceives

161

.2 (members)
Name
mId
mName
mSerName
mSex
mAdd
mTel
mIdcard
mStatus
creditLimit
unpaid

Type
Varchar(10)
Varchar(30)
Varchar(50)
Varchar(10)
Varchar(80)
Varchar(40)
Varchar(20)
Varchar(20)
Numeric
Numeric

P
Yes
No
No
No
No
No
No
No
No
No

M
Yes
Yes
Yes
Yes
No
No
Yes
Yes
No
No

Refer to

Description

P
Yes
Yes
No
No
No
No
No
No
No
No

M
Yes
Yes
No
No
No
No
No
No
No
Yes

Refer to

Description

P
Yes

M
Yes

.3 (cures)
Name
cureId
mId
cRight
cLeft
PD
H
cDetail
cDate
bId
empId

Type
Varchar(10)
Varchar(10)
Varchar(20)
Varchar(20)
Varchar(20)
Varchar(20)
Varchar(200)
Varchar(30)
Varchar(10)
Varchar(10)

members.mId

bills.bId
employees.empId

.4 (receipts)
Name
rId

Type
Varchar(10)

Refer to

Description

162

.5 (bills)
Name
bId
bDate
dueDate
commission
total
rId
creditMonth
earnest
unpaid
empId
mId

Type
Varchar(10)
Varchar(30)
Varchar(30)
Numeric
Numeric
Varchar(10)
Varchar(2)
Numeric
Numeric
Varchar(10)
Varchar(10)

P
Yes
No
No
No
No
No
No
No
No
No
No

M
Yes
Yes
Yes
No
Yes
No
No
No
Yes
Yes
Yes

Refer to

employees.empId
members.mId

Description

.6 (billDetails)
Name
bId
pId
pdUnit
pdPrice
commission
bStatus
dateMeetReceive
dataReceive
comment
makeId
oId

Type
Varchar(10)
Varchar(10)
Numeric
Numeric
Numeric
Varchar(1)
Varchar(30)
Varchar(30)
Varchar(200)
Varchar(10)
Varchar(10)

P
Yes
Yes
No
No
No
No
No
No
No
No
No

M
Yes
Yes
Yes
Yes
No
No
No
No
No
No
No

Refer to
bills.bId
products.pId

makes.makeId
orders.oId

Description

163

.7 (cashes)
Name
bId
dueDate
cDate
cAmt
cNum
rId
empId

Type
Varchar(10)
Varchar(30)
Varchar(30)
Numeric
Numeric
Varchar(10)
Varchar(10)

P
Yes
Yes
No
No
No
No
No

M
Yes
Yes
No
No
No
No
Yes

Refer to
bills.bId

P
Yes
No
No
No
No
No
No
No
No
No
No
No
No

M
Yes
Yes
Yes
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes

Refer to

Description

M
Yes
Yes
Yes

Refer to
employees.empId
paSalarys.eDate

Description

employees.empId

Description

.8 (employees)
Name
empId
empPassword
empName
empSerName
empAdd
empTel
empImage
empSalary
empStart
empHoliday
empSex
empStatus
empIdcard

Type
Varchar(10)
Varchar(12)
Varchar(30)
Varchar(50)
Varchar(80)
Varchar(40)
Varchar(50)
Numeric
Varchar(30)
Varchar(2)
Varchar(20)
Varchar(20)
Varchar(20)

.9 (salarydetails)
Name
empId
eDate
eDatePay

Type
Varchar(10)
Varchar(30)
Varchar(30)

P
Yes
Yes
Yes

164

.9 () (salarydetails)
Name
eAmt

Type
Numeric

P
No

M
Yes

Refer to
paSalarys.eDate

Description

Refer to
employees.empId

Description

M
Yes
Yes
No

Refer to

Description

M
Yes
Yes
Yes
No
No
Yes

Refer to
employees.empId

Description

.10 (empTimeWork)
Name
empId
datework
tsId
dateEnd
countDay
timein
timeout
comment
empstatustimein
empstatustimeout

Type
Varchar(10)
Varchar(30)
Varchar(10)
Varchar(30)
Real
Varchar(30)
Varchar(30)
Varchar(300)
Varchar(50)
Varchar(50)

P
Yes
Yes
Yes
No
No
No
No
No
No
No

M
Yes
Yes
Yes
No
No
No
No
No
No
No

.11 (Typesstopwork)
Name
tsId
tsName
tsShow

Type
Varchar(10)
Varchar(100)
Varchar(2)

P
Yes
No
No

.12 (paySalarys)
Name
empId
eDate
totalAmt
income
expense
TpId

Type
Varchar(10)
Varchar(30)
Numeric
Numeric
Numeric
Varchar(10)

P
Yes
Yes
Yes
No
No
No

typePayments.TpId

165

.13 (typePayments)
Name
TpId
typeName
status
typeDate

Type
Varchar(10)
Varchar(30)
Varchar(1)
Varchar(30)

P
Yes
No
No
No

M
Yes
Yes
Yes
Yes

Refer to

Description

.14 (companies)
Name
comId
comName
comAdd
comTel
comImage

Type
Varchar(10)
Varchar(30)
Varchar(80)
Varchar(40)
Varchar(50)

P
Yes
No
No
No
No

M
Yes
Yes
No
No
No

Refer to

Description

P
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No

M
Yes
No
No
No
No
No
No
Yes
No
No
No
No
No
Yes

Refer to

Description

.15 (claims)
Name
cId
cDateMem
cDateSup
cDatemeetMem
cDateSendMem
cDateMeetSup
cDateSendSup
cQTY
cQtyReceive
cComment
cStatus
cType
cflagComplete
sId

Type
Varchar(10)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Numeric
Numeric
Varchar(200)
Varchar(1)
Varchar(50)
Varchar(30)
Varchar(10)

suppliers.sId

166

.15 () (claims)
Name
pId
bId
empId

Type
Varchar(10)
Varchar(10)
Varchar(10)

P
No
No
No

M
Yes
No
No

Refer to
products.pId
bills.bId
employees.empId

Description

P
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No

M
Yes
No
No
No
No
No
No
No
Yes
No
No
Yes
No
No

Refer to

Description

.16 (make)
Name
makeId
receiveDateMem
meetDatemem
sendDatemem
makeDateSend
meetDateSup
receiveDatesup
paymentDate
MemTotal
TotalmAmt
mComment
makeflagComplete
sId
empId

Type
Varchar(10)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Numeric
Numeric
Varchar(200)
Varchar(30)
Varchar(10)
Varchar(10)

suppliers.sId
employees.empId

.17 (makeDetails)
Name
makeId
bId
pId
mQty
mMemQtyReceive

Type
Varchar(10)
Varchar(10)
Varchar(10)
Numeric
Numeric

P
Yes
Yes
Yes
No
No

M
Yes
Yes
Yes
Yes
No

Refer to
make.makeId
billDetails.bid
billDetails.pid

Description

167

.18 (suppliers)
Name
sId
sName
sAdd
sTel
sCredit
sStatus
ptId

Type
Varchar(10)
Varchar(30)
Varchar(80)
Varchar(40)
Numeric
Varchar(20)
Varchar(10)

P
Yes
No
No
No
No
No
No

M
Yes
Yes
No
Yes
Yes
Yes
Yes

P
Yes
No
No
No
No
No
No
No
No
No

M
Yes
Yes
No
No
No
No
No
No
Yes
No

Refer to

productTypes. ptId

Description

.19 (orders)
Name
oId
oDate
flagCompleate
dueDate
oDateCash
oAmt
sId
chId
empId
bId

Type
Varchar(10)
Varchar(30)
Varchar(30)
Varchar(30)
Varchar(30)
Numeric
Varchar(10)
Varchar(10)
Varchar(10)
Varchar(10)

Refer to

suppliers.sId
cheques.chId
employees.empId
bills.bId

Description

.20 (orderDetails)
Name
oId
pId
oPrice
oQTY
oQtyReceive
orderAmt

Type
Varchar(10)
Varchar(10)
Numeric
Numeric
Numeric
Numeric

P
Yes
Yes
No
No
No
No

M
Yes
Yes
No
No
No
No

Refer to
orders.oId
products.pId

Description

168

.20 () (orderDetails)
Name
oStatus

Type
Varchar(20)

P
No

M
No

Refer to

Description

P
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No

M
Yes
Yes
Yes
No
No
No
No
No
No
No
No
Yes
Yes
No
Yes
Yes

Refer to

Description

.21 (products)
Name
pId
pName
pPrice
pOrderPrice
pImage
pColor
pSize
pGroup
pMake
pL
pR
pQty
pStatus
pPointOrder
ptId
sId

Type
Varchar(10)
Varchar(30)
Numeric
Numeric
Varchar(50)
Varchar(20)
Varchar(30)
Varchar(50)
Varchar(100)
Varchar(10)
Varchar(10)
Numeric
Varchar(20)
Numeric
Varchar(10)
Varchar(10)

productTypes.ptId
suppliers.sId

.22 (productTypes)
Name
ptId
ptName
ptCommission
ptStatus

Type
Varchar(10)
Varchar(30)
Numeric
Varchar(50)

P
Yes
No
No
No

M
Yes
Yes
Yes
Yes

Refer to

Description

169

.23 (cheques)
Name
chId
chequesId
bank
branch
chAmt
approved
hostname
hostSername

Type
Varchar(10)
Varchar(10)
Varchar(30)
Varchar(100)
Numeric
Varchar(30)
Varchar(100)
Varchar(150)

P
Yes
No
No
No
No
No
No
No

M
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

Refer to

Description

Refer to
ordersDetails.oId
products.pId

Description

.24 (partialReceives)
Name
oId
pId
aDate
aQty
aOverQty
aPrice
aAmt
aStatus

P = Primary Key
M = Mandatory

Type
Varchar(10)
Varchar(10)
Varchar(30)
Numeric
Numeric
Numeric
Numeric
Varchar(1)

P
Yes
Yes
No
No
No
No
No
No

M
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes

170

.3 Context Diagram

171

.4 Data Flow Diagram Level0

172

.4 () Data Flow Diagram Level0

173

.5 Data Flow Diagram Level1 of Process 1

174

2.1

2.2

D5

D3

2.3

D13

2.5

2.4

D5

.6 Data Flow Diagram Level1 of Process 2

175

.7 Data Flow Diagram Level1 of Process 3

176

.8 Data Flow Diagram Level1 of Process 4

177

.9 Data Flow Diagram Level1 of Process 5

178

6.1

D3

D8

6.2

D2

6.3

D3

.10 Data Flow Diagram Level1 of Process 6

179

.11 Data Flow Diagram Level1 of Process 7

180

.12 Data Flow Diagram Level1 of Process 8

181

.13 Data Flow Diagram Level2 of Process 1.5

182

.14 Data Flow Diagram Level2 of Process 8.2

183

D15

8.3.1

D12

8.3.2

D12

8.3.3

D16
D17

.15 Data Flow Diagram Level 2 of Process 8.3

8.3.4

.1
Setup -

.2
Next Cancel

186

.3
C:\Program Files\OpticalBeta\
Browse
Next

187

.4
Next
Back
Cancel

188

.5
Cancel

189

.6
Close

190

.7 Start Menu
Start Menu Start Programs Optical-Beta

192

.1

.2

193

.3

194

.4

195

.5

196

.6

197

.7

198

.8

199

.9

200

.10

201

.11

.12

202

.13

203

.14

204

.15

205

.16

206

.17

.18

207

.19

208

.20

460500240
-

508/27 10700

08-5045-6674
E-Mail
baby_naka@hotmail.com

460500247

-

1711 10170

08-9165-1093
E-Mail
wasabi_net01@hotmail.com

460500283
-

34/5 10600

08-9114-1238
E-Mail
mypostar@hotmail.com