Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Sun 5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Interface Translation Codes

BOF_TRANS_CODE BOF_TRANS_TEXT BOF_DATA_TYPE BOF_DATA_LENGTH


BOF_CODE1 Version CHAR 20
BOF_CODE2 SunSystems Currency Code Y/N? CHAR 1

Transaction Translation Codes

BOF_TRANS_CODE BOF_TRANS_TEXT BOF_DATA_TYPE BOF_DATA_LENGTH


BOF_CODE1 Account Number CHAR 15
BOF_CODE2 Ledger Analysis Code 1 CHAR 15
BOF_CODE3 Ledger Analysis Code 2 CHAR 15
BOF_CODE4 Ledger Analysis Code 3 CHAR 15
BOF_CODE5 Ledger Analysis Code 4 CHAR 15
BOF_CODE16 Ledger Analysis Code 5 CHAR 15
BOF_CODE17 Ledger Analysis Code 6 CHAR 15
BOF_CODE18 Ledger Analysis Code 7 CHAR 15
BOF_CODE19 Ledger Analysis Code 8 CHAR 15
BOF_CODE20 Ledger Analysis Code 9 CHAR 15
BOF_CODE21 Ledger Analysis Code 10 CHAR 15

Market Translation Codes

BOF_TRANS_CODE BOF_TRANS_TEXT BOF_DATA_TYPE BOF_DATA_LENGTH


BOF_CODE1 Revenue Account Number CHAR 15
BOF_CODE2 Room Statistic Account Number CHAR 15
BOF_CODE3 Guest Statistic Account Number CHAR 15
BOF_CODE4 Ledger Analysis Code 1 CHAR 15
BOF_CODE5 Ledger Analysis Code 2 CHAR 15
BOF_CODE16 Ledger Analysis Code 3 CHAR 15
BOF_CODE17 Ledger Analysis Code 4 CHAR 15
BOF_CODE18 Ledger Analysis Code 5 CHAR 15
BOF_CODE19 Ledger Analysis Code 6 CHAR 15
BOF_CODE20 Ledger Analysis Code 7 CHAR 15
BOF_CODE21 Ledger Analysis Code 8 CHAR 15
BOF_CODE22 Ledger Analysis Code 9 CHAR 15
BOF_CODE23 Ledger Analysis Code 10 CHAR 15

Daily Statistics Translation Codes

BOF_TRANS_CODE BOF_TRANS_TEXT BOF_DATA_TYPE BOF_DATA_LENGTH


BOF_CODE1 Export Statistic? (Y/N) CHAR 15
BOF_CODE2 Statistic Account Number CHAR 15
BOF_CODE3 Ledger Analysis Code 1 CHAR 15
BOF_CODE4 Ledger Analysis Code 2 CHAR 15

1
Sun 5

BOF_CODE5 Ledger Analysis Code 3 CHAR 15


BOF_CODE16 Ledger Analysis Code 4 CHAR 15
BOF_CODE17 Ledger Analysis Code 5 CHAR 15
BOF_CODE18 Ledger Analysis Code 6 CHAR 15
BOF_CODE19 Ledger Analysis Code 7 CHAR 15
BOF_CODE20 Ledger Analysis Code 8 CHAR 15
BOF_CODE21 Ledger Analysis Code 9 CHAR 15
BOF_CODE22 Ledger Analysis Code 10 CHAR 15
BOF_CODE23 Ledger Analysis Code 11 CHAR 15

Revenue Records Configuration

Select Setup>System Configuration>External>Back Office>Define Records>Revenue Records. As part of SID data the revenue record configuration is already set up for the user. The record definitions on the screen define the different records in the export.
A double click on one of the entries displays a pop-up box with the record details.

Market and Daily Statistics Records Configuration

Select Setup>System Configuration>External>Back Office>Define Records>Market Statistics Records and then Daily Statistics Records. The principles are the same as with the Define Revenue Records option. First you define one or more record
definition files, depending on whether you want to include a header record, a total line, create a header record for each room type or to just send one record type. After creating the record definition, press the plus key (+) to define the actual record setup. See
Market Statistics Records Configuration and Daily Statistics Records Configuration for further setup information.

Following is the export setup for the SUN Back Office Interface.

Revenue Header Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
1 HDR Header Record for SUN Revenue Interface C:\temp\ hotel_code||'RV'||to_char N
(rev_trns_date,'MMDD')||'.SUN'

Revenue Header Column Definition

ORDER SEQUENCE NUMBER COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT ALIGN LEFT RIGHT
1 1 VERSION 7 STATIC R
2 1 SPACE 25 R
3 1 42601 5 STATIC R

Guest Ledger Non-Room Revenue Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO GROUP BY WHERE CONDITION
FILE
2 DTL Detail Guest Ledger Non-Room Revenue C:\temp hotel_code||'RV'||to_char Y nvl(GUEST_LED_CONTROL,0) <> 0 and NVL(TRX_CODE_TYPE,'
(rev_trns_date,'MMDD')||'.SUN' ')<>'L'

Guest Ledger Non-Room Revenue Detail Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

2
SUN 5 Back Office Interface

1 1 nvl(BOF_CODE1,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',TO_CHAR
8 1 (ABS(ROUND(GUEST_LED_CONTROL,2)*1000),'000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(GUEST_LED_CONTROL),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 'GL '||NVL(TRX_CODE,' ') 15 CHAR
14 1 NVL(TRX_DESC,' ') 25 CHAR
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y')
16 1 ,'N',PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y')
,'N',TO_CHAR(ABS(ROUND(GUEST_LED_CONTROL,2)*1000),
18 1 '000000000000000000'),' ') 18
19 1 SPACE 14
20 1 NVL(BOF_CODE2,' ') 15 CHAR
21 1 NVL(BOF_CODE3,' ') 15 CHAR
22 1 NVL(BOF_CODE4,' ') 15 CHAR
23 1 NVL(BOF_CODE5,' ') 15 CHAR
24 1 nvl(BOF_CODE16,' ') 15 CHAR
25 1 nvl(BOF_CODE17,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE19,' ') 15 CHAR
28 1 nvl(BOF_CODE20,' ') 15 CHAR
29 1 nvl(BOF_CODE21,' ') 15 CHAR
GUEST_
LED_
30 1 GUEST_LED_CONTROL 0 NUMBER CONTROL

Accounts Receivable Non-Room Revenue Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char
3 DTL Detail AR Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y nvl(AR_LED_CONTROL,0) <> 0 and NVL(TRX_CODE_TYPE,' ')<>'L'

Accounts Receivable Non-Room Revenue Column Definition

3
Sun 5

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE1,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(AR_LED_CONTROL,2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(AR_LED_CONTROL),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 'AR '||NVL(TRX_CODE,' ') 15 CHAR
14 1 NVL(TRX_DESC,' ') 25 CHAR
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(AR_LED_CONTROL,2)*1000),
18 1 '000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 NVL(BOF_CODE2,' ') 15 CHAR
21 1 NVL(BOF_CODE3,' ') 15 CHAR
22 1 NVL(BOF_CODE4,' ') 15 CHAR
23 1 NVL(BOF_CODE5,' ') 15 CHAR
24 1 nvl(BOF_CODE16,' ') 15 CHAR
25 1 nvl(BOF_CODE17,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE19,' ') 15 CHAR
28 1 nvl(BOF_CODE20,' ') 15 CHAR
29 1 nvl(BOF_CODE21,' ') 15 CHAR
NVL(AR_LED_
30 1 NVL(AR_LED_CONTROL,0) 0 NUMBER CONTROL,0)

Deposits Ledger Non-Room Revenue Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FIL _LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char nvl(DEP_LED_CONTROL,0) <> 0 and NVL(TRX_CODE_TYPE,'
4 DTL Detail Deposit Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y ')<>'L'

Deposits Ledger Non-Room Revenue Column Definition

4
SUN 5 Back Office Interface

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE1,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(DEP_LED_CONTROL,2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(DEP_LED_CONTROL),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 'AD '||NVL(TRX_CODE,' ') 15 CHAR
14 1 NVL(TRX_DESC,' ') 25 CHAR
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N'
16 1 ,PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(DEP_LED_CONTROL,2)*1000
18 1 ),'000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 NVL(BOF_CODE2,' ') 15 CHAR
21 1 NVL(BOF_CODE3,' ') 15 CHAR
22 1 NVL(BOF_CODE4,' ') 15 CHAR
23 1 NVL(BOF_CODE5,' ') 15 CHAR
24 1 nvl(BOF_CODE16,' ') 15 CHAR
25 1 nvl(BOF_CODE17,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE19,' ') 15 CHAR
28 1 nvl(BOF_CODE20,' ') 15 CHAR
29 1 nvl(BOF_CODE21,' ') 15 CHAR
NVL(DEP_LED_
30 1 NVL(DEP_LED_CONTROL,0) 0 NUMBER CONTROL,0)

Package Ledger Non-Room Revenue Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char nvl(PACKAGE_LED_CONTROL,0) <> 0 and
5 DTL Detail Package Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y NVL(TRX_CODE_TYPE,' ')<>'L'

Package Ledger Non-Room Revenue Column Definition

5
Sun 5

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE1,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT))
,TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(PACKAGE_LED_CONTROL,2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(PACKAGE_LED_CONTROL),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 'PK '||NVL(TRX_CODE,' ') 15 CHAR
14 1 NVL(TRX_DESC,' ') 25 CHAR
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N'
,TO_CHAR(ABS(ROUND(PACKAGE_LED_CONTROL,2)*1000),
18 1 '000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 NVL(BOF_CODE2,' ') 15 CHAR
21 1 NVL(BOF_CODE3,' ') 15 CHAR
22 1 NVL(BOF_CODE4,' ') 15 CHAR
23 1 NVL(BOF_CODE5,' ') 15 CHAR
24 1 nvl(BOF_CODE16,' ') 15 CHAR
25 1 nvl(BOF_CODE17,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE19,' ') 15 CHAR
28 1 nvl(BOF_CODE20,' ') 15 CHAR
29 1 nvl(BOF_CODE21,' ') 15 CHAR
NVL(PACKAGE_
30 1 NVL(PACKAGE_LED_CONTROL,0) 0 NUMBER LED_CONTROL,0)

Total Guest Ledger Non-Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char NVL(TRX_CODE_TYPE,' ')<>'L' AND
6 TTL Total Guest Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y TRX_DATE NVL(GUEST_LED_CONTROL,0) <> 0

Total Guest Ledger Non-Room Revenue Footer Column Definition

6
SUN 5 Back Office Interface

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT ALIGN LEFT_RIGHT

1 1 *************** 15 STATIC R
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
2 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR R
3 1 TRX_DATE 8 DATE YYYYMMDD R
5 1 SPACE 2 R
6 1 L 1 STATIC R
7 1 SPACE 14 R
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(GUEST_LED_CONTROL),2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR R
9 1 DECODE(SIGN(SUM(GUEST_LED_CONTROL)),-1,'C','D') 1 CHAR R
10 1 SPACE 1 R
11 1 MFRV 5 STATIC R
12 1 SPACE 5 R
13 1 GL OFFSET 15 STATIC R
14 1 SPACE 25 R
15 1 SPACE 69 R
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR R
17 1 SPACE 18 R
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(GUEST_LED_CONTROL),2)*1000),
18 1 '000000000000000000'),' ') 18 CHAR R
19 1 SPACE 14 R
20 1 SPACE 15 R
21 1 SPACE 15 R
22 1 SPACE 15 R
23 1 SPACE 15 R
24 1 SPACE 15 R
25 1 SPACE 15 R
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR R
27 1 SPACE 15 R
28 1 SPACE 15 R
29 1 SPACE 15 R
30 1 SUM(NVL(GUEST_LED_CONTROL,0)) 0 NUMBER R

Total Accounts Receivable Ledger Non-Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char NVL(TRX_CODE_TYPE,' ')<>'L' AND
7 TTL Total AR Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y TRX_DATE NVL(AR_LED_CONTROL,0)<>0

Total Accounts Receivable Ledger Non-Room Revenue Footer Column Definition

7
Sun 5

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',TO_CHAR
(ABS(ROUND(SUM(AR_LED_CONTROL),2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(SUM(AR_LED_CONTROL)),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 AR OFFSET 15 STATIC
14 1 SPACE 25
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(AR_LED_CONTROL),2)*1000),
18 1 '000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 SPACE 15
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 SPACE 15
28 1 SPACE 15
29 1 SPACE 15
SUM(NVL(AR_LED_
30 1 SUM(NVL(AR_LED_CONTROL,0)) 0 NUMBER CONTROL,0))

Total Deposit Ledger Non-Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char NVL(TRX_CODE_TYPE,' ')<>'L' AND
8 TTL Total Deposit Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y TRX_DATE NVL(DEP_LED_CONTROL,0) <> 0

Total Deposit Ledger Non-Room Revenue Footer Column Definition

8
SUN 5 Back Office Interface

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(DEP_LED_CONTROL),2)*1000),
8 1 '000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(SUM(DEP_LED_CONTROL)),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 AD OFFSET 15 STATIC
14 1 SPACE 25
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(DEP_LED_CONTROL),2)*1000),
18 1 '000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 SPACE 15
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 SPACE 15
28 1 SPACE 15
29 1 SPACE 15
SUM(NVL(DEP_
30 1 SUM(NVL(DEP_LED_CONTROL,0)) 0 NUMBER LED_CONTROL,0))

Total Package Ledger Non-Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'RV'||to_char NVL(TRX_CODE_TYPE,' ')<>'L' AND
9 TTL Total Package Ledger Non-Room Revenue C:\temp (rev_trns_date,'MMDD')||'.SUN' Y TRX_DATE NVL(PACKAGE_LED_CONTROL,0)<>0

Total Package Ledger Non-Room Revenue Footer Column Definition

9
Sun 5

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(PACKAGE_LED_CONTROL),2)*1000),
8 1 '000000000000000000'),'') 18 CHAR
9 1 DECODE(SIGN(SUM(PACKAGE_LED_CONTROL)),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFRV 5 STATIC
12 1 SPACE 5
13 1 PK OFFSET 15 STATIC
14 1 SPACE 25
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(PACKAGE_LED_CONTROL),2)*1000),
18 1 '000000000000000000'),'') 18 CHAR
19 1 SPACE 14
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 SPACE 15
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 SPACE 15
28 1 SPACE 15
29 1 SPACE 15
SUM(NVL
(PACKAGE_LED_
30 1 SUM(NVL(PACKAGE_LED_CONTROL,0)) 0 NUMBER CONTROL,0))

Market Statistics Header Record

MAIN FILE TYPE RECORD DESCRIPTION EXPORT FILE EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
SEQUENCE LOCATION
NUMBER
hotel_code||'MS'||to_char
1 HDR Header Record for Market Statistics C:\temp\ (mkt_trns_date,'MMDD')||'.SUN' N

10
SUN 5 Back Office Interface

Market Statistics Header Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT ALIGN LEFT RIGHT
1 1 VERSION 7 STATIC R
2 1 SPACE 25 R
3 1 42601 5 STATIC R

Market Statistics Room Revenue Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
LOCATION
2 DTL Detail Market Statistics Room Revenue C:\temp hotel_code||'MS'||to_char(mkt_trns_date,'MMDD')||'.SUN' Y (ROOM_REV_AMOUNT <> 0)

Market Statistics Room Revenue Detail Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE1,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(ROOM_REV_AMOUNT,2)*1000),
8 1 'FM000000000000000000'),' ') 18 CHAR
9 1 DECODE(SIGN(ROOM_REV_AMOUNT),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFMS 5 STATIC
12 1 SPACE 5
13 1 NVL(MARKET_CODE,' ') 15 CHAR
14 1 NVL(DESCRIPTION,' ') 25 CHAR
15 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
16 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
17 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(ROOM_REV_AMOUNT,2)*1000),
18 1 'FM000000000000000000'),' ') 18 CHAR
19 1 SPACE 14
20 1 NVL(BOF_CODE4,' ') 15 CHAR
21 1 NVL(BOF_CODE5,' ') 15 CHAR
22 1 NVL(BOF_CODE16,' ') 15 CHAR
23 1 NVL(BOF_CODE17,' ') 15 CHAR
24 1 nvl(BOF_CODE18,' ') 15 CHAR

11
Sun 5

25 1 nvl(BOF_CODE19,' ') 15 CHAR


26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE21,' ') 15 CHAR
28 1 nvl(BOF_CODE22,' ') 15 CHAR
29 1 nvl(BOF_CODE23,' ') 15 CHAR
30 1 CHR(13)||CHR(10) 2 CHAR
ROOM_REV_
31 1 ROOM_REV_AMOUNT 0 NUMBER AMOUNT

Market Statistics Rooms Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'MS'||to_char
3 DTL Detail Market Statistics Rooms C:\temp (mkt_trns_date,'MMDD')||'.SUN' Y (NO_OF_ROOMS <> 0 )

Market Statistics Rooms Detail Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE2,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
ABS(ROUND
(NO_OF_ROOMS,0)
8 1 ABS(ROUND(NO_OF_ROOMS,0)*1000) 18 NUMBER 0 *1000)
9 1 DECODE(SIGN(NO_OF_ROOMS),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFMS 5 STATIC
12 1 SPACE 5
13 1 NVL(MARKET_CODE,' ') 15 CHAR
14 1 NVL(DESCRIPTION,' ') 25 CHAR
15 1 SPACE 69
16 1 SPACE 5
17 1 SPACE 18
18 1 SPACE 18
19 1 SPACE 14
20 1 NVL(BOF_CODE4,' ') 15 CHAR
21 1 NVL(BOF_CODE5,' ') 15 CHAR
22 1 NVL(BOF_CODE16,' ') 15 CHAR
23 1 NVL(BOF_CODE17,' ') 15 CHAR

12
SUN 5 Back Office Interface

24 1 nvl(BOF_CODE18,' ') 15 CHAR


25 1 nvl(BOF_CODE19,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE21,' ') 15 CHAR
28 1 nvl(BOF_CODE22,' ') 15 CHAR
29 1 nvl(BOF_CODE23,' ') 15 CHAR
30 1 CHR(13)||CHR(10) 2 CHAR

Market Statistics Guests Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
hotel_code||'MS'||to_char
4 DTL Detail Market Statistics Guests C:\temp (mkt_trns_date,'MMDD')||'.SUN' Y (NO_OF_GUESTS <> 0)

Market Statistics Guests Detail Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE3,' ') 15 CHAR


NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
3 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
ABS(ROUND
(NO_OF_GUESTS,0)
8 1 ABS(ROUND(NO_OF_GUESTS,0)*1000) 18 NUMBER 0 *1000)
9 1 DECODE(SIGN(NO_OF_GUESTS),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFMS 5 STATIC
12 1 SPACE 5
13 1 NVL(MARKET_CODE,' ') 15 CHAR
14 1 NVL(DESCRIPTION,' ') 25 CHAR
15 1 SPACE 69
16 1 SPACE 5
17 1 SPACE 18
18 1 SPACE 18
19 1 SPACE 14
20 1 NVL(BOF_CODE4,' ') 15 CHAR
21 1 NVL(BOF_CODE5,' ') 15 CHAR
22 1 NVL(BOF_CODE16,' ') 15 CHAR
23 1 NVL(BOF_CODE17,' ') 15 CHAR
24 1 nvl(BOF_CODE18,' ') 15 CHAR

13
Sun 5

25 1 nvl(BOF_CODE19,' ') 15 CHAR


26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE21,' ') 15 CHAR
28 1 nvl(BOF_CODE22,' ') 15 CHAR
29 1 nvl(BOF_CODE23,' ') 15 CHAR
30 1 CHR(13)||CHR(10) 2 CHAR

Total Guest Ledger Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
5 TTL Total Guest Ledger Room Revenue C:\temp hotel_code||'MS'||to_char Y TRX_DATE TRX_CODE_TYPE='L' AND
(mkt_trns_date,'MMDD')||'.SUN' NVL(GUEST_LED_CONTROL,0) <> 0

Total Guest Ledger Room Revenue Footer Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
2 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
3 1 TRX_DATE 8 DATE YYYYMMDD
4 1 SPACE 2
5 1 L 1 STATIC
6 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(GUEST_LED_CONTROL),2)*1000),
7 1 'FM000000000000000000'),' ') 18 CHAR
8 1 DECODE(SIGN(SUM(GUEST_LED_CONTROL)),-1,'C','D') 1 CHAR
9 1 SPACE 1
10 1 MFMS 5 STATIC
11 1 SPACE 5
12 1 SPACE 15
13 1 SPACE 25
14 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
15 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
16 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(GUEST_LED_CONTROL),2)*1000),
17 1 'FM000000000000000000'),' ') 18 CHAR
18 1 SPACE 14
19 1 SPACE 15
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15

14
SUN 5 Back Office Interface

23 1 SPACE 15
24 1 SPACE 15
25 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
26 1 SPACE 15
27 1 SPACE 15
28 1 SPACE 15
29 1 CHR(13)||CHR(10) 2 CHAR
NVL(SUM(GUEST_
30 1 NVL(SUM(GUEST_LED_CONTROL),0) 0 NUMBER LED_CONTROL),0)

Total Accounts Receivable Ledger Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
6 TTL Total AR Ledger Room Revenue C:\temp hotel_code||'MS'||to_char Y TRX_DATE NVL(TRX_CODE_TYPE,' ')='L' AND
(mkt_trns_date,'MMDD')||'.SUN' NVL(AR_LED_CONTROL,0)<>0

Total Accounts Receivable Ledger Room Revenue Footer Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
2 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
3 1 TRX_DATE 8 DATE YYYYMMDD
4 1 SPACE 2
5 1 L 1 STATIC
6 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(AR_LED_CONTROL),2)*1000),
7 1 'FM000000000000000000'),' ') 18 CHAR )
8 1 DECODE(SIGN(SUM(AR_LED_CONTROL)),-1,'C','D') 1 CHAR
9 1 SPACE 1
10 1 MFMS 5 STATIC
11 1 SPACE 5
12 1 SPACE 15
13 1 SPACE 25
14 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
15 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
16 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(AR_LED_CONTROL),2)*1000),
17 1 'FM000000000000000000'),' ') 18 CHAR
18 1 SPACE 14
19 1 SPACE 15
20 1 SPACE 15

15
Sun 5

21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
26 1 SPACE 15
27 1 SPACE 15
28 1 SPACE 15
29 1 CHR(13)||CHR(10) 2 CHAR
NVL(SUM(AR_
30 1 NVL(SUM(AR_LED_CONTROL),0) 0 NUMBER LED_CONTROL),0)

Total Deposit Ledger Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
7 TTL Total Deposit Leger Room Revenue C:\temp hotel_code||'MS'||to_char Y TRX_DATE TRX_CODE_TYPE='L' AND
(mkt_trns_date,'MMDD')||'.SUN' NVL(DEP_LED_CONTROL,0) <> 0

Total Deposit Ledger Room Revenue Footer Column Definition

ID SEQ NO COLUMN NAME COLUMN DATA FORMAT AMT COLUMN


LENGTH TYPE
1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
2 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
YYYYMMD
3 1 TRX_DATE 8 DATE D
4 1 SPACE 2
5 1 L 1 STATIC
6 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(DEP_LED_CONTROL),2)*1000),
7 1 'FM000000000000000000'),' ') 18 CHAR
8 1 DECODE(SIGN(SUM(DEP_LED_CONTROL)),-1,'C','D') 1 CHAR
9 1 SPACE 1
10 1 MFMS 5 STATIC
11 1 SPACE 5
12 1 SPACE 15
13 1 SPACE 25
14 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
15 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR
16 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(DEP_LED_CONTROL),2)*1000),
17 1 'FM000000000000000000'),' ') 18 CHAR

16
SUN 5 Back Office Interface

18 1 SPACE 14
19 1 SPACE 15
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
26 1 SPACE 15
27 1 SPACE 15
28 1 SPACE 15
29 1 CHR(13)||CHR(10) 2 CHAR
NVL(SUM(DEP_LE
D_
30 1 NVL(SUM(DEP_LED_CONTROL),0) 0 NUMBER CONTROL),0)

Total Package Ledger Room Revenue Footer Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE GROUP BY WHERE CONDITION
8 TTL Total Package Ledger Room Revenue C:\temp hotel_code||'MS'||to_char Y TRX_DATE TRX_CODE_TYPE='L' AND
(mkt_trns_date,'MMDD')||'.SUN' NVL(PACKAGE_LED_CONTROL,0)<>0

Total Package Ledger Room Revenue Footer Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 *************** 15 STATIC
NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_
2 1 PERIOD_CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
3 1 TRX_DATE 8 DATE YYYYMMDD
4 1 SPACE 2
5 1 L 1 STATIC
6 1 SPACE 14
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'Y',
TO_CHAR(ABS(ROUND(SUM(PACKAGE_LED_CONTROL),2)*1000),
7 1 'FM000000000000000000'),' ') 18 CHAR
8 1 DECODE(SIGN(SUM(PACKAGE_LED_CONTROL)),-1,'C','D') 1 CHAR
9 1 SPACE 1
10 1 MFMS 5 STATIC
11 1 SPACE 5
12 1 SPACE 15
13 1 SPACE 25
14 1 SPACE 69
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
15 1 PMS_P.GET_PARAMETER('DEFAULT_CURRENCY'),' ') 5 CHAR

17
Sun 5

16 1 SPACE 18
DECODE(NVL(BOF_VIEW_REF.INTF_BOF_CODE(2),'Y'),'N',
TO_CHAR(ABS(ROUND(SUM(PACKAGE_LED_CONTROL),2)*1000),
17 1 'FM000000000000000000'),' ') 18 CHAR
18 1 SPACE 14
19 1 SPACE 15
20 1 SPACE 15
21 1 SPACE 15
22 1 SPACE 15
23 1 SPACE 15
24 1 SPACE 15
25 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
26 1 SPACE 15
27 1 SPACE 15
28 1 SPACE 15
29 1 CHR(13)||CHR(10) 2 CHAR
NVL(SUM
(PACKAGE_
30 1 NVL(SUM(PACKAGE_LED_CONTROL),0) 0 NUMBER LED_CONTROL),0)

Daily Statistics Header Record

MAIN FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE FROM CLAUSE WHERE CONDITION
SEQUENCE
NUMBER
1 HDR Header Record for Daily Statistics C:\temp\ hotel_code||'ST'||to_char N BOF_EXPORT_HEADER
(sta_trns_date,'MMDD')||'.SUN'

Daily Statistics Header Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE AMT ALIGN LEFT RIGHT
COLUMN
1 1 VERSION 7 STATIC R
2 1 SPACE 25 R
3 1 42601 5 STATIC R

Daily Statistics Detail Record

MAIN SEQUENCE NUMBER FILE TYPE RECORD DESCRIPTION EXPORT FILE LOCATION EXPORT FILE NAME APPEND TO FILE FROM CLAUSE WHERE_CONDITION
2 DTL Detail Daily Statistics C:\temp hotel_code||'ST'||to_char(sta_trns_date,'MMDD')||'.SUN' Y BOF_DAILY_ NVL(UPPER
STATISTICS_ (BOF_CODE1),'N') = 'Y'
RECORD

Daily Statistics Detail Column Definition

ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN

1 1 nvl(BOF_CODE2,' ') 15 CHAR

18
SUN 5 Back Office Interface

NVL(TO_CHAR(PERIOD_INFO.GET_DEFINED_YEAR(TRX_DATE,PMS_P.RESORT)),
TO_CHAR(TRX_DATE,'YYYY'))||LPAD(REPLACE(NVL(PERIOD_INFO.GET_PERIOD_
3 1 CODE(TRX_DATE,PMS_P.RESORT) ,TO_CHAR(TRX_DATE,'MM')),'P','0'),3,'0') 7 CHAR
4 1 TRX_DATE 8 DATE YYYYMMDD
5 1 SPACE 2
6 1 L 1 STATIC
7 1 SPACE 14
ABS(STAT_
8 1 ABS(STAT_AMOUNT*1000) 18 NUMBER 0 AMOUNT*1000)

9 1 DECODE(SIGN(STAT_AMOUNT),-1,'C','D') 1 CHAR
10 1 SPACE 1
11 1 MFST 5 STATIC
12 1 SPACE 5
13 1 NVL(ITEM_NAME,' ') 15 CHAR
14 1 NVL(DESCRIPTION,' ') 25 CHAR
15 1 SPACE 69
16 1 SPACE 5
17 1 SPACE 18
18 1 SPACE 18
19 1 SPACE 19
20 1 NVL(BOF_CODE3,' ') 15 CHAR
21 1 NVL(BOF_CODE4,' ') 15 CHAR
22 1 NVL(BOF_CODE5,' ') 15 CHAR
23 1 NVL(BOF_CODE16,' ') 15 CHAR
24 1 nvl(BOF_CODE17,' ') 15 CHAR
25 1 nvl(BOF_CODE18,' ') 15 CHAR
26 1 TO_CHAR(TRX_DATE,'D') 15 CHAR
27 1 nvl(BOF_CODE20,' ') 15 CHAR
28 1 nvl(BOF_CODE21,' ') 15 CHAR
29 1 nvl(BOF_CODE22,' ') 15 CHAR
30 1 nvl(BOF_CODE23,' ') 15 CHAR
31 1 SPACE 15
32 1 SPACE 15

19

You might also like