<?php
global $runnerDbTableInfo;
$runnerDbTableInfo['vw_dr_without_trip_ticket'] = array(
	'type' => 0,
	'foreignKeys' => array( 
		 
	),
	'fields' => array( 
		array(
			'name' => 'delivery_receipt_id',
			'type' => 20,
			'size' => 20,
			'scale' => 0,
			'typeName' => 'bigint(20)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0',
			'defaultValue' => '0' 
		),
		array(
			'name' => 'delivery_receipt_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'issue_date',
			'type' => 7,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'date',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dispatch_date',
			'type' => 7,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'date',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'origin_warehouse_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'destination_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'destination_address',
			'type' => 201,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'text',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'recipient_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'recipient_contact_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'purpose',
			'type' => 201,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'text',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'driver_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'driver_contact_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'helper_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'helper_contact_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'vehicle_id',
			'type' => 20,
			'size' => 20,
			'scale' => 0,
			'typeName' => 'bigint(20)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'vehicle_plate_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'vehicle_type',
			'type' => 200,
			'size' => 100,
			'scale' => 0,
			'typeName' => 'varchar(100)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'transporter_type',
			'type' => 129,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'enum(\'DSWD_FLEET\',\'SERVICE_PROVIDER\',\'GOVERNMENT_ASSET\',\'PARTNER_WFP_TRANSPORT\')',
			'enumValues' => array( 
				'DSWD_FLEET',
				'SERVICE_PROVIDER',
				'GOVERNMENT_ASSET',
				'PARTNER_WFP_TRANSPORT' 
			),
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'DSWD_FLEET',
			'defaultValue' => '' 
		),
		array(
			'name' => 'provider_id',
			'type' => 20,
			'size' => 20,
			'scale' => 0,
			'typeName' => 'bigint(20)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'provider_name',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'total_qty',
			'type' => 14,
			'size' => 18,
			'scale' => 4,
			'typeName' => 'decimal(18,4)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.0000',
			'defaultValue' => '0.0000' 
		),
		array(
			'name' => 'total_lines',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0',
			'defaultValue' => '0' 
		),
		array(
			'name' => 'dispatch_status',
			'type' => 129,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'enum(\'APPROVED\',\'DRAFT\',\'PREPARED\',\'READY_FOR_DISPATCH\',\'DISPATCHED\',\'IN_TRANSIT\',\'DELIVERED\',\'PARTIALLY_RECEIVED\',\'RECEIVED\',\'WITH_DISCREPANCY\',\'FAILED\',\'DIVERTED\',\'CLOSED\',\'CANCELLED\')',
			'enumValues' => array( 
				'APPROVED',
				'DRAFT',
				'PREPARED',
				'READY_FOR_DISPATCH',
				'DISPATCHED',
				'IN_TRANSIT',
				'DELIVERED',
				'PARTIALLY_RECEIVED',
				'RECEIVED',
				'WITH_DISCREPANCY',
				'FAILED',
				'DIVERTED',
				'CLOSED',
				'CANCELLED' 
			),
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'APPROVED',
			'defaultValue' => '' 
		) 
	),
	'primaryKeys' => array( 
		 
	),
	'uniqueFields' => array( 
		 
	),
	'name' => 'vw_dr_without_trip_ticket' 
);
?>