You are on page 1of 26

CHAPTER ~ ~

TABLES
&
APPLICATION FORMS
Tables & Application Forms

8.1 DATA DICTIONARY

Table No. : 01 Table Name: RESERVAT

Field No. 1
Field Name : RSERlAL
Field Type N(5)
Valid Range : '1' to '99999'
Default Value From RESERVAT
Description Serial Number of the guest who booked the room in
advance.

Field No. : 2
Field Name : REDATE
Field Type : D(8)
Valid Range : System Date (i.e. Today's)
Default Value: System Date
Description : Date at which reservation is made.

Field No. : 3
Field Name : NAME
Field Type : C(30)
Valid Range : Any Alphabetic characters
Default Value: NIL
Description : Guest Name who made ad. booking.

Field No. : 4
Field Name : OCCUPATION
Field Type : C(20)
Valid Range : Any alphabetic characters
Default Value: NIL
Description : Occupation of the guest.

Field No. : 5
Field Name : AGE
Field Type : N(2)
Valid Range : Any Numeric characters
Default Value: NIL
Description : Age of the guest.

Field No. :6
Field Name : SEX
Field Type : C(1)
Valid Range : 'M'or'F'
Default Value : 'M'
Description : Sex of the guest who booked the room.
Tables & Application Forms

Table No. : 01 Table Name: RESERVAT


Field No. 7
Field Name : TOTGUEST
Field Type : N(2)
Valid Range : 'I' to '3'
Default Value I
Description : Total occupants of the single room.

Field No. : 8
Field Name : DEPT
Field Type : C(3)
Valid Range : Any three alphabetic characters
Default Value: NIL
Description Department which recommend the guests for room &
other facilities from guest house.

Field No. 9
Field Name : EXARDATE
Field Type : D(8)
Valid Range : From 'system date' to ' system date + 30 '
Default Value : NIL
Description : Date on which the guest is supposed to come.

Field No. : 10
Field Name : EXARTIME
Field Type : N(2)
Valid Range : 'I' to '24'
Default Value : NIL
Description : Expected Arrival time of the guest.

Field No. : II
Field Name : EXDEDATE
Field Type : D(8)
Valid Range : 'Greater than' or 'equal to' expe. arrival date
Default Value: NIL
Description : Expected Departure date of the guest.

Field No. : 12
Field Name : EXDETIME
Field Type : N(2)
Valid Range : 'I' to '24' OR 'Greater than' expo arrival time
(If expected arri. date = expec. departure date)
Default Value : NIL
Description : Expected Departure time of the guest.

Field No. : 13
Field Name : ADDFROM
Field Type : C(20)
Valid Range : Any non blank characters
Default Value : NIL
Description Address of the guest.
Tables & Application Forms

Table No. : 01 Table Name: RESERVAT

Field No. 14
Field Name : ADDFI
Field Type : C(20)
Valid Range : Any non blank characters
Default Value: NIL
Description : Address ofthe guest. (field no. 14)

Field No. : 15
Field Name : ADDF2
Field Type : C(20)
Valid Range
Default Value : NIL
Description : Address of the guest.

Field No. : 16
Field Name : RTYPE
Field Type : C(3)
Valid Range : Must be from 'ROOMMAST'
Default Value: NIL
Description Room type of the guest house which is recommended
by the Dept. of the Co.

Field No. 17
Field Name : GHOUSE
Field Type : C(2)
Valid Range : 'VP' or 'GJ' or 'EH' or 'CO'
Default Value : NIL
Description : Guest house name at which the guest arrives.

Field No. : 18
Field Name : ROOMNO
Field Type : N(3)
Valid Range : From 'ROOMMAST'
Default Value : NIL
Description : Room Number of the guest.

Field No. : 19
Field Name : CHORNC
Field Type : C(3)
Valid Range : 'LCC'or 'LCN' or 'LNC' or 'LNN'
Default Value : NIL
Description Whether Chargeble or Non-chargeble for
BoardingILodging.

so
Tables & Application Forms

Table No. : 01 Table Name: RESERVAT

Field No. 20
Field Name : NATION
Field Type : C(I)
Valid Range : 'I' or 'F'
Default Value : 'I'
Description : Nationality of the guest. ('1'-> Indian and
'F' -> Foreighn ).

Field No. 21
Field Name : RREMARK
Field Type : C(lO)
Valid Range
Default Value : NIL
Description : Visa No. of the guest. (If Foreighner)

Field No. : 22
Field Name : RCANCLE
Field Type : C(I)
Valid Range
Default Value : NIL
Description : Flag "@" for booking cancellation.
Tables & Application Forms

Table No. : 02 Table Name: OCUPANCY

Field No. 1
Field Name : SRNO
Field Type : N(5)
Valid Range :' I' to '99999'
Default Value: From OCUPANCY
Description : Serial Number of the guest who occupy the room.

Field No. : 2
Field Name : NAME
Field Type : C(30)
Valid Range : Any Alphabetic characters
Default Value : NIL
Description : Guest's Name who occupy the room.

Field No. : 3
Field Name : OCCUPATION
Field Type : C(20)
Valid Range : Any alphabetic characters
Default Value: NIL
Description : Occupation of the guest.

Field No. : 4
Field Name : AGE
Field Type : N(2)
Valid Range : Any Numeric characters
Default Value: NIL
Description : Age of the guest.

Field No. : 5
Field Name : SEX
Field Type : C(I)
Valid Range : 'M'or'F'
Default Value : 1M'
Description : Sex of the guest.

Field No. : 6
Field Name : TOTGUEST
Field Type : N(2)
Valid Range : 'I' to '3'
Default Value 1
Description : Total occupants of the single room.

Field No. : 7
Field Name : DEPT
Field Type : C(3)
Valid Range : Any three alphabetic characters
Default Value: NIL
Description Department which recommend the guests for room &
other facilities from guest house.
Tables & Application Forms

• Table No. : 02 Table Name: OCUPANCY


Field No. 8
Field Name : ARDATE
Field Type : D(8)
Valid Range : 'system date' only
Default Value : system date
Description : Date on which the guest arrives.

Field No. :9
Field Name : ARTIME
Field Type : N(2)
Valid Range :'I'to'24'
Default Value : system time
Description : Arrival time of the guest.

Field No. : 10
Field Name : EXDEDATE
Field Type : D(8)
Valid Range : 'Greater than' or 'equal to' system date
Default Value: NIL
Description : Expected Departure date of the guest.

Field No. :11


Field Name : EXDETIME
Field Type : N(2)
Valid Range : 'I' to '24' OR 'Greater than' expo arrival time
(If expected arri. date = expec. departure date)
Default Value : NIL
Description : Expected Departure time of the guest.

Field No. : 12
Field Name : ADDFROM
Field Type : C(20)
Valid Range : Any non blank characters
Default Value: NIL
Description : Address of the guest.

Field No. : 13
Field Name : ADDFI
Field Type : C(20)
Valid Range : Any non blank characters
Default Value: NIL
Description : Address of the guest.

Field No. : 14
Field Name : ADDF2
~ Field Type : C(20)
Valid Range
Default Value : NIL
Description : Address of the guest.
Tables & Application Forms

Table No. : 02 Table Name: OCUPANCY

Field No. 15
Field Name : ADDTO
Field Type : C(15)
Valid Range
Default Value : NIL
Description : Address of the guest at which the guest will go
after Departing from the guest house:

Field No. 16
Field Name : GHOUSE
Field Type : C(2)
Valid Range : 'VP' or 'GI' or 'EH' or 'CO'
Default Value : NIL
Description : Guest house name at which the guest arrives.

Field No. : 17
Field Name : ROOMNO
Field Type : N(3)
Valid Range : From 'ROOMMAST'
Default Value : NIL
Description : Room Number of the guest.

Field No. : IS
Field Name : RTVPE
Field Type : C(3)
Valid Range : Must be from 'ROOMMAST'
Default Value : NIL
Description Room type of the guest house which is recommended
by the Dept. of the Co.

Field No. 19
Field Name : CHORNC
Field Type : C(3)
Valid Range : 'LCC'or 'LCN' or 'LNC' or 'LNN'
Default Value : NIL
Description : Whether Chargeble or Non-chargeble for
BoardingILodging.

Field No. 20
Field Name : DEDATE
Field Type : D(S)
Valid Range : 'system date' only
Default Value system date
Description Date on which the guest departs from the guest
house.
Tables & Application Forms

Table No. : 02 Table Name: OCUPANCY

Field No. 21
Field Name : DETIME
Field Type : N(2)
Valid Range : 'system time' only
Default Value : system time
Description : Departure time of the guest.

Field No. : 22
Field Name : PAIDUPTO
Field Type : D(S)
Valid Range : 'system date' or 'before that'
Default Value: NIL
Description : Date, upto that bills are paid up by the guest.

Field No. : 23
Field Name : NATION
Field Type : C(I)
Valid Range : '1' or 'F'
Default Value : 'I'
Description : Nationality of the guest. ('1'-> Indian and
'F' -> F oreighn ).

Field No. : 24
Field Name : RREMARK
Field Type : C(IO)
Valid Range
Default Value : NIL
Description : Visa No. of the guest. (IfForeighner)
Tables & Application Forms

Table No. : 03 Table Name: ROOMMAST

Field No. I
Field Name : GHOUSE
Field Type : C(2)
Valid Range : 'VP' or 'GI' or 'EH' or 'CO'
Default Value : NIL
Description : Guest house name (code) of the Co.

Field No. : 2
Field Name : ROOMNO
Field Type : N(3)
Valid Range : '101' to '116' , '201' to '216' and '221' to '225'
Default Value: NIL
Description : Room Number of the guest house.

Field No. : 3
Field Name : RTYPE
Field Type : C(3)
Valid Range : From Code Help
Default Value: NIL
Description : Room Type according to facilities in the room.

Field No. : 4
Field Name : RDATE
Field Type : D(8)
Valid Range : 'Less than system date'
Default Value: NIL
Description : Date on which new rate of the room is declared.

Field No. : 5
Field Name : RDESCI
Field Type : C(35)
Valid Range : Any non blank alphabetic characters
Default Value: NIL
Description : Full Name for code of the room type.

Field No. : 6
Field Name : RDESC2
Field Type : C(35)
Valid Range : Any alphabetic characters
Default Value: NIL
Description : BriefInformation about room (i.e. Facilities,
located at which floor, etc ... ).

Field No. 7
Field Name : RRATE
Field Type : N(4)
Valid Range
Default Value : NIL
Description : Rate of the room effective from the given date.
Tables & Application Forms

Table No. : 03 Table Name: ROOMMAST

Field No. 8
Field Name : OCORRE
Field Type : C(1)
Valid Range : '0' or 'R' or Ir'
Default Value : NIL
Description It shows whether room is Reserved, Occupied or
Re-reserved.
Tables & Application Forms

Table No. : 04 Table Name: ITEMMAST

Field No. 1
Field Name : ICODEI
Field Type : C(3)
Valid Range : Any understandable non-blank alphabetic chars OR
'AAA' for lodging (ready) items.
Default Value : NIL
Description Item Code for Group of the Items. (eg. BAK->
'Bakery' ).

Field No. :2
Field Name : ICODE2
Field Type : C(2)
Valid Range : Any understandable non-blank alphabetic characters
OR 'DR' for Drinks.
Default Val ue : NIL
Descri pti on : Item Code for Item itself. (eg. BI -> Biscuits).

Field No. : 3
Field Name : ICODE3
Field Type : C(3)
Valid Range : Alphabetic characters (If it has sub options),
"HlC" (If "Hot/Cold" drinks), or Numeric (Sr No.)
Default Value : NIL
Description : Item descriptions or Item Serial Number.

Field No. : 4
Field Name : IDATE
Field Type : D(S)
Valid Range : 'Less than' system date
Default Value : 'system date'
Description : Date from which Item's new rate is effective.

Field No. : 5
Field Name : IDESCI
Field Type : C(20)
Valid Range
Default Value : NIL
Description : Item Name for Item code.

Field No. : 6
Field Name : IDESC2
Field Type : C(35)
Valid Range : Any alphabetic characters
Default Value : NIL
Description : BriefInformation about item.
Tables & Application Forms

Table No. : 04 Table Name: ITEMMAST

Field No. 7
Field Name : IRATE
Field Type : N(7,2)
Valid Range
Default Value : NIL
Description : Rate of the item.

Field No. : 8
Field Name : IUOM
Field Type : C(3)
Valid Range
Default Value : NIL
Description : Unit of mass for the items.
Tables & Application Forms

Table No. : 05 Table Name: DEPTMAST

Field No. 1
Field Name : DSHORT
Field Type : C(3)
Valid Range
Default Value : NIL
Description : Code for the Company's Departments.

Field No. :2
Field Name : PDESC
Field Type : C(35)
Valid Range
Default Value : NIL
Description : Description for the Departments.

1.00
Tables & Application Forms

Table No. : 06 Table Name: KOTDESCR


~-

Field No. I
Field Name : IPNAME
Field Type : C(30)
Valid Range
Default Value : NIL
Description : Item name for given item code.

Field No. :2
Field Name : BILLDT
Field Type : D(8)
Valid Range
T'
Default Value System date
Description Date at which the bill is made,

Field No, : 3
Field Name : BILLNO
Field Type : N(5)
Valid Range : 'I' to '99999'
Default Value: From 'KOTDESCR'
Description : Bill Number in sequence.

Field No. :4
Field Name : IKODEI
Field Type : C(8)
Valid Range
Default Value : NIL
Description : Item code for 1st item which is taken by the guest

Field No. : 5
Field Name : IKODE2
Field Type : C(8)
Valid Range
Default Value : NIL
Description Item code for 2nd item which is taken by the same
guest.

Field No. 6
Field Name : IKODE3
Field Type : C(8)
Valid Range
Default Value : NIL
Description : Item code for 3rd item for same guest.

Field No. : 7
Field Name : IKODE4
Field Type : C(8)
Valid Range
Default Value: NIL
Description : Item code for 4th item for same guest.

1.0 .1
Tables & Application Forms

Table No. : 06 Table Name: KOTDESCR


Field No. 8
Field Name : IKODE5
Field Type : C(8)
Valid Range
Default Value : NIL
Description : Item code for 5th item which is taken by the guest

Field No. : 9
Field Name : IQTYI
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value I
Description : Quantity for I st item which is taken by the guest

Field No. : 10
Field Name : IQTY2
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value 1
Description Quantity for 2nd item which is taken by the same
guest.

Field No. 11
Field Name : IQTY3
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value 1
Description : Quantity for 3rd item for same guest.

Field No. : 12
Field Name : IQTY4
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value 1
Description : Quantity for 4th item for same guest.

Field No. : 13
Field Name : IQTY5
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value 1
Description Quantity for 5th item which is taken by the guest after
taking four (4) terns.

Field No. 14
Field Name : FAMOUNT
Field Type : N (6,2)
Valid Range : From (Item rate • Item quantity)
Default Value : NIL
Description : Total Amount for above five items.
Tables & Application Forms

Table No. : 06 Table Name: KOTDESCR

Field No. 15
Field Name : ROOMNU
Field Type : N(3)
Valid Range : From "ROOMMAST"
Default Value : NIL
Description : Room Number of the guest.

Field No. : 16
Field Name : FBILLNO
Field Type : N(6)
Valid Range : 'I' TO '999999'
Default Value 1
Description Final Bill No. (i.e. Bill no. in which 'food bill'
is noted.)

103
Tables & Application Forms

Table No. : 07 Table Name: RECEIPTS


Field No. 1
Field Name : GROUSE
Field Type : C(2)
Valid Range : 'VP' or 'GI' or 'ER' or 'CO'
Default Value : NIL
Description : Guest house name in which items are received.

Field No. :2
Field Name : ICODE
Field Type : C(8)
Valid Range : Must be from 'ITEMMAST'
Default Value : NIL
Description Item code for item which is received in the guest
house (store dept.)

Field No. 3
Field Name : RQTY
Field Type : N(3)
Valid Range : Must be greater than '0'
Default Value 1
Description : Quantity of the item which is received.

Field No. :4
Field Name : RRATE
Field Type : N(7,2)
Valid Range
Default Value : NIL
Description : Rate of the items which is received.

Field No. : 5
Field Name : RECDATE
Field Type : D(8)
Valid Range : Must be 'Less than' or 'Equal to' system date AND 'Greater than'
or 'Equal to' date on which same item has received.
Default Value System date
Description : Date of item receipt.

Field No. :6
Field Name : RBILLNO
Field Type : C(7)
Valid Range
Default Value : NIL
Description : Bill Number for item receipt (for shop).

Field No. :7
Field Name : CAORCR
Field Type : C(2)
Valid Range : 'CA' or 'CR'
Default Value : NIL
Description Flag whether item received in Cash or Credit.
Tables & Application Forms

Table No. : 08 Table Name: ISSUENEW

Field No. 1
Field Name : GHOUSE
Field Type : C(2)
Valid Range : 'VP' or 'GJ' or 'EH' or 'CO'
Default Value : NIL
Description : Guest house name from which items are issued.

Field No. :2
Field Name : ICODE
Field Type : C(8)
Valid Range : Must be from 'ITEMMAST'
Default Value : NIL
Description : Item code for item which is issued from the guest
house (store dept.)

Field No. : 3
Field Name : IQTY
Field Type : N(3)
Valid Range : Must be greater than '0' AND 'Not more than the
stock of that item.
Default Value 1
Description : Quantity of the item which is issued ..

Field No. :4
Field Name : IRATE
Field Type : N(7,2)
Valid Range
Default Value : NIL
Description : Rate of the items which is issued.

Field No. : 5
Field Name : IDATE
Field Type : D(8)
Valid Range : Must be 'Less than' or 'Equal to' system date AND 'Greater than'
or 'Equal to' date on which same item has issued.
Default Value System date
Description : Date of item issue from store.
Tables & Application Forms

Table No. : 09 Table Name: STOKMAST


~
I
Field No. I
FieIdName : GHOUSE
Field Type : C(2)
Valid Range : From 'RECEIPTS' or'ISSUENEW'
Default Value : NIL
Description Guest house name in which stock of items is
maintained.

Field No. :2
Field Name : ICODE
Field Type : C(8)
Valid Range : From 'RECEIPTS' or 'ISSUENEW'
Default Value : NIL
Description Item code for item which is Issued from the guest
house (store dept.) or Received in the guest
house.

Field No. 3
Field Name : IRDATE
Field Type : D(8)
Valid Range : From 'RECEIPTS' or 'ISSUENEW'
Default Value : NIL
Description : Date of the items which are IssuedlReceived.

Field No. :4
Field Name : OPBQTY
Field Type : N(3)
Valid Range : From 'STOKMAST'
Default Value : NIL
Description : Opening Balance of the item in particular day.

Field No. : 5
Field Name : RECQTY
Field Type : N(3)
Valid Range : From 'RECEIPTS'
Default Value : NIL
Description : Quantity of Received items.

Field No. :6
Field Name : ISSQTY
Field Type : N(3)
Valid Range : From 'ISSUENEW'
Default Value : NIL
Description : Quantity ofissued items.
Tables & Application Forms

Table No. : 10 Table Name: ROOMBILL

-
I
Field No. I
Field Name : BILLNO
Field Type : N(5)
Valid Range : '1' to '99999'
Default Value: From'ROOMBILL'
Description Bill Number of the room which is occupied by the
guest.

Field No. :2
Field Name : FDATE
Field Type : D(8)
Valid Range
Default Value : NIL
Descri pti on : Date from which room bill is made.

Field No. : 3
Field Name : TDATE
Field Type : D(8)
Valid Range : Greater than or Equal to 'DA TEO'
Default Value: NIL
Description : Date upto which bill of room is paid by the guest.

Field No. :4
Field Name : GHOUSE
Field Type : C(2)
Valid Range : 'VP' or 'GI' or 'EH' or 'CO'
Default Value : NIL
Description : Guest house name.

Field No. : 5
Field Name : RAMOUNT
Field Type : N(4)
Valid Range
Default Value : NIL
Description : Room charge received from the guest.

Field No. : 6
Field Name : ROOMNO
Field Type : N(3)
Valid Range : From "ROOMMAST"
Default Value: NIL
Description : Room Number to make a room bill.

Field No. : 7
Field Name : NAME
Field Type : C(30)
Valid Range : From 'OCUPANCY'
Default Value : NIL
Description : Name of the guest.
Tables & Application Forms

Table No. : 10 Table Name: ROOMBILL

--
,
Field No.
Field Name
8
: FBILLNO
Field Type : N(6)
Valid Range : 'I' TO '999999'
Default Value \
Description : Final bill no. (i.e. food, room bill, etc.)

1.01
Tables & Application Forms

Table No. : 11 Table Name: BILLBOOK

Field No. 1
Field Name : DATEIN
Field Type : D(S)
Valid Range : From 'ROOMBILL' or 'KOTDESCR'
Default Value : NIL
Description : Date in sequence in which final bill is made.

Field No. :2
Field Name : FBILLNO
Field Type : N(6)
Valid Range : 'I' TO '999999'
Default Value 1
Description : Bill No. of the total (i.e. Room, Food, etc .. )

Field No. : 3
Field Name : IPNAME
Field Type : C(30)
Valid Range : From 'OCUPANCY'
Default Value : NIL
Description : Name of the guest.

Field No. :4
Field Name : RBDATE
Field Type : D(S)
Valid Range
Default Value : From "ROOMBILL"
Description : Date of room bill.

Field No. : 5
Field Name : RAMT
Field Type : N(4)
Valid Range : From'ROOMBILL'
Default Value: NIL
Description : Total charge for room.

Field No. : 6
Field Name : FBDATE
Field Type : D(8)
Valid Range
Default Value : From "KOTDESCR"
Description : Date of daily food bill.

Field No. :7
Field Name : FAMT
~. Field Type : N(6,2)
Valid Range : From 'KOTDESCR'
Default Value : NIL
Description : Total food charge for final bill.
Tables & Application Forms

Table No. : 11 Table Name: BILLBOOK

d.O
Tables & Application Forms

Table No. : 12 Table Name: BILLMAST

-- Field No. I
Field Name : SRNO
Field Type : N(5)
Valid Range : From 'OCUPANCY'
Default Value : NIL
Description : Person Serial No. in Occupancy register.

Field No. : 2
Field Name : BTYPE
Field Type : CCI)
Valid Range : 'K' or 'R' or IL' or IT'
Default Value : NIL
Description : Bill type whether it is Kot, Room, Laundry, or
Telephone.

Field No. :3
Field Name : BILLNO
Field Type : N(5)
Valid Range : From 'ROOMBILL' or 'KOTDESCR'
Default Value : NIL
Description : Bill No. for room bill or food bill.

Field No. :4
Field Name : BDATE
Field Type : D(8)
Valid Range : 'system date'
Default Value : System date
Description : Date for making final bill.

Field No. : 5
Field Name : AMOUNT
Field Type : N(7,2)
Valid Range
Default Value : NIL
Description : Total charge for room, food, laundry, etc ...

Field No. :6
Field Name : PAIDIF
Field Type : CCI)
Valid Range : 'Y'or'N'
Default Value : NIL
Description : Flag whether Final bill is paid or not.

-J.
Tables & Application Forms

The HOTMANS system also creates some tables and deletes after using them.
Some tables are hidden for users in certain situation. There is a list as follows:

** MYHELP

** SETTUP

** LOGIPAST

** TEMP

** ROOMSTAT

** HP

** STATROOM

** TELM

** STROOM

** KREPO

** ITAME

** NUT

** MHP

** NHP

** FUDI

** RUMI

You might also like