EXPORTSOC6-10.xml 2.19 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
<?xml version='1.0' encoding='UTF-8' ?>
<EXPXML name="SSO.xml" fileout="C:/ExportOutput/SSOSEND.DAT" filetype="dat" processtype="file">
<INIT>
	int count_child = 0;
</INIT>
<HEAD>
</HEAD>
<DATA>
<!-- comment ҹҧͧ tag-->
<COL type="formula">count_child = dbInq.getInt("child")+dbInq.getInt("child_abroad")+dbInq.getInt("child_domestic")</COL> 
<COL type="string">610</COL> 
<!-- Record Type -->
<COL type="data" width="2"></COL>
<!-- ʻ ѺԴͺ : 10 -->
<COL type="data" width = "2"></COL>
<!-- ӴѺҢ ʻ: 6-->
<COL type="data" width="10">dbInq.getString("_sec_soc_id")</COL> 
<!-- Ţѭչ¨ҧ-->
<COL type="data" width="6">dbInq.getString("_sec_soc_branch") </COL> 
<!-- ӴѺҢ-->
<COL type="data" width="13">dbInq.getString("id_people")</COL>
<!-- ŢѵûСѹѧ-->
<COL type="data" width="13">dbInq.getString("id_people")</COL>
<!-- ŢШӵǻЪҪ-->
<COL type="string" width="1">1</COL>
<!-- ѵ-->
<COL type="string" width="3">099</COL>
<!-- ѭҵ-->
<COL type="data" width="1">dbInq.getString("sex")</COL>
<!-- -->
<COL type="data" width="3">dbInq.getString("mprefix","sso_code")</COL>
<!-- ӹ˹ҹ-->
<COL type="data" width="30">dbInq.getString("fname")</COL>
<!-- -->
<COL type="data" width="35">dbInq.getString("lname")</COL>
<!-- ʡ-->
<COL type="data" width="8">dbInq.getString("birthday")</COL>
<!-- ѹ͹Դ-->
<COL type="data" width="1">dbInq.getString("_statmarry")</COL>
 <!-- ʶҹ  ʴ鹵Ţ    1=S,2=M,3=D,4=W-->
<COL type="data" width="8">dbInq.getString("startdate")</COL>
<!-- ѹ͹շҷӧҹ DDMMYYYY ..-->
<COL type="data" width="1">dbInq.getString("emp_every")</COL>
<!-- Ҩҧ  ʴ繵Ţ   1= D ,2=M-->
<COL type="data" width="1">(count_child==0)?"N":"Y"</COL>
<!-- ʶҹкص   պص=Y , =N-->
<COL type="data" width="2">count_child</COL>
<!-- ӹǹص-->
<COL type="data" width="8">dbInq.getString("childbirth1")</COL>
<!-- ѹ͹Դصä 1 DDMMYYYY ..-->
<COL type="data" width="8">dbInq.getString("childbirth2")</COL>
<!-- ѹ͹Դصä 2 DDMMYYYY ..-->
<COL type="data" width="82">fs.repeat(" ",82)</COL>
<!-- bank-->
<COL type="string">newline</COL>
</DATA>
</EXPXML>