Sun 5
Sun 5
Sun 5
1
Sun 5
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.
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.
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'
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
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'
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
2
SUN 5 Back Office Interface
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'
3
Sun 5
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
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'
4
SUN 5 Back Office Interface
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
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'
5
Sun 5
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
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
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
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
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))
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
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))
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
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))
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
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
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)
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
11
Sun 5
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 )
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
12
SUN 5 Back Office Interface
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)
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
13
Sun 5
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
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)
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
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)
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
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)
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
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)
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'
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
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
ID SEQ NO COLUMN NAME COLUMN LENGTH DATA TYPE FORMAT AMT COLUMN
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