<?php
		$DATABASE='master_permissiongoods';

		$PKEY[0]['FILD'] = 'tariffClass';
		$PKEY[1]['FILD'] = 'tariffStat';
		$PKEY[2]['FILD'] = 'startDate';
		$PKEY[3]['FILD'] = 'permissionGoodsType';
		$PKEY[4]['FILD'] = 'companyTaxNo';
		
		$FORMAT[0]['NAME']='TariffClassification';
		$FORMAT[0]['TYPE']='12A';
		$FORMAT[0]['FILD']='tariffClass';

		$FORMAT[1]['NAME']='Tariff Stat';
		$FORMAT[1]['TYPE']='3A';
		$FORMAT[1]['FILD']='tariffStat';

		$FORMAT[2]['NAME']='Permission Goods Type';
		$FORMAT[2]['TYPE']='2A';
		$FORMAT[2]['FILD']='permissionGoodsType';

		$FORMAT[3]['NAME']='Company Tax Number';
		$FORMAT[3]['TYPE']='17A';
		$FORMAT[3]['FILD']='companyTaxNo';

		$FORMAT[4]['NAME']='Validate Indicator';
		$FORMAT[4]['TYPE']='2A';
		$FORMAT[4]['FILD']='validateIndicator';

		$FORMAT[5]['NAME']='countryCode';
		$FORMAT[5]['TYPE']='2A';
		$FORMAT[5]['FILD']='countryCode';

		$FORMAT[6]['NAME']='Quantity';
		$FORMAT[6]['TYPE']='14NDE3';
		$FORMAT[6]['FILD']='quantity';

		$FORMAT[7]['NAME']='Quantity Unit';
		$FORMAT[7]['TYPE']='3A';
		$FORMAT[7]['FILD']='quantityUnit';

		$FORMAT[8]['NAME']='Permission Goods Thai Description';
		$FORMAT[8]['TYPE']='512A';
		$FORMAT[8]['FILD']='thDescription';

		$FORMAT[9]['NAME']='Permission Goods English Description';
		$FORMAT[9]['TYPE']='512A';
		$FORMAT[9]['FILD']='enDescription';
		
		$FORMAT[10]['NAME']='Permission Goods Condition';
		$FORMAT[10]['TYPE']='512A';
		$FORMAT[10]['FILD']='condition';

		$FORMAT[11]['NAME']='Announce Number';
		$FORMAT[11]['TYPE']='10A';
		$FORMAT[11]['FILD']='announceNo';
		
		$FORMAT[12]['NAME']='Announce Date';
		$FORMAT[12]['TYPE']='8N';
		$FORMAT[12]['FILD']='announceDate';

		$FORMAT[13]['NAME']='Start Date';
		$FORMAT[13]['TYPE']='8N';
		$FORMAT[13]['FILD']='startDate';

		$FORMAT[14]['NAME']='Expired Date';
		$FORMAT[14]['TYPE']='8N';
		$FORMAT[14]['FILD']='expiredDate';
		
		
		
?>