FS 294229 Whiteline EPOD Modifications: Difference between revisions
From Calidus HUB
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:System|''CALIDUS'' ePOD}} | {{#vardefine:System|''CALIDUS'' ePOD}} | ||
{{#vardefine:Doc_Title|Whiteline ePOD Modifications}} | {{#vardefine:Doc_Title|Whiteline ePOD Modifications}} | ||
{{#vardefine:Version|0 | {{#vardefine:Version|1.0}} | ||
{{#vardefine:Date| | {{#vardefine:Date|15th December 2011}} | ||
{{#vardefine:Reference|294229}} | {{#vardefine:Reference|294229}} | ||
</div> | </div> | ||
Line 71: | Line 71: | ||
A new field will be added to the EPOD_SITE and EPOD_JOB_GROUPS tables, called EPL_DELIVERY_PAYMENT. This will be a 1-character rule, of values 'Y' or 'N'. This will control whether the Delivery process allows the user to display the Payment tab. | A new field will be added to the EPOD_SITE and EPOD_JOB_GROUPS tables, called EPL_DELIVERY_PAYMENT. This will be a 1-character rule, of values 'Y' or 'N'. This will control whether the Delivery process allows the user to display the Payment tab. | ||
A new field will be added to the EPOD_PRODUCT table, called EPL_ITEM_TYPE. This will be a 30-character field. | |||
<!-- NEW PAGE --> | <!-- NEW PAGE --> | ||
Line 142: | Line 144: | ||
</pre> | </pre> | ||
Only Loads that have been completed or cancelled on that date will be returned. | Only Loads that have been completed or cancelled on that date will be returned. | ||
The format of the returned XML for both Load Exports is as follows: | |||
<pre> | |||
<?xml version="1.0" encoding="utf-16"?> | |||
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
ePOD Generic XML Export Load | |||
</xsd:documentation> | |||
<xsd:documentation> | |||
History: Version 0.1 25-11-2011 Luke Miles | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:element name="EPOD_EXPORT_LOAD_RESPONSE"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_LOADS" maxOccurs="1" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_LOAD" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_SITE_ID: Unique reference of the site that the Load belongs to. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LOAD_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_LOAD_ID: Unique reference of the Load. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="12" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LOAD_START_PLANNED_DATE" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_LOAD_START_PLANNED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LOAD_END_PLANNED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LOAD_END_PLANNED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LOAD_START_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_LOAD_START_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_LOAD_END_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_LOAD_END_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_LOAD_DISTANCE_PLANNED" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LOAD_DISTANCE_ACTUAL" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPL_VEHICLE_ID" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="12" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_USER_ID" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" nillable="false" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1" /> | |||
<xsd:element name="EPOD_JOBS" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_JOB" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LOAD_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="12" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_ID: Unique reference for this job. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_TYPE" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_TYPE: Defines the type of Job (D - Delivery, C - Collection, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:enumeration value="D"/> | |||
<xsd:enumeration value="C"/> | |||
<xsd:enumeration value="S"/> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_GROUP" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_GROUP: Defines the type of Job (D - Delivery, C - Collection, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="5" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_INSTRUCTION" nillable="true" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_INSTRUCTION: Free text that will be shown to the driver on the PDA. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="255" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_OFFICE_INSTRUCTION" nillable="true" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_INSTRUCTION: Free text that will not be shown on the PDA but will in the Admin system. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="225" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_SIGNATURE" type="xsd:string" maxOccurs="1" nillable="true"/> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_ENG_SIGNATURE" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_SEQUENCE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="5" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_START_PLANNED_DATE" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_PLANNED_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_PLANNED_DATE" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_PLANNED_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_DISTANCE_PLANNED" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_DISTANCE_ACTUAL" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_DRIVING_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_CUSTOMER_CODE" nillable="false" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_CUSTOMER_CODE: The Unique reference for the Customer. If this does not exist within the system | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="20" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CUSTOMER_NAME" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="100" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_1" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_2" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_3" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_4" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_POSTCODE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:pattern value="^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) {0,1}[0-9][A-Za-z]{2})$" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTACT" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_TELEPHONE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_EMAIL" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="255" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPOD_CONTAINERS" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_CONTAINER" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_ID" type="xsd:int" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_CONTAINER_ID: The unique identifier for a cotainer. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
</xsd:element> | |||
<xsd:element name="EPL_SEQUENCE" type="xsd:int" nillable="true" maxOccurs="0" /> | |||
<xsd:element name="EPL_CONTAINER_PACKAGE_CODE" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="4" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_PACKAGE_DESC" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPOD_PRODUCTS"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_PRODUCT"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_ID" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_CODE" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SEQUENCE" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_DESCRIPTION" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PRODUCT_QTY_PLANNED" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_QTY_ACTUAL" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_QTY_CASE" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
<xsd:element name="EPOD_SERVICE" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPOD_SERVICE object contains any details relating the service part of the job, if the job is of type service | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SERVICE_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_SERVICE_ID: Unique identifier for the Service object. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="20" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SERVICE_TYPE" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_SERVICE_TYPE: Defining the type of service (D - Deinstallation, I - Installation, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:enumeration value="D"/> | |||
<xsd:enumeration value="I"/> | |||
<xsd:enumeration value="S"/> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_REG_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="15" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_VIN_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SIM_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
<xsd:attribute name="RESULT" type="xsd:string" /> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:schema> | |||
</pre> | |||
*Job by Job ID | *Job by Job ID | ||
<pre> | <pre> | ||
Line 178: | Line 682: | ||
{{Note}} It is expected that this implementation will use the ''Job By Date'' export. | {{Note}} It is expected that this implementation will use the ''Job By Date'' export. | ||
The Export Format will be as follows: | |||
<pre> | |||
<?xml version="1.0" encoding="utf-16"?> | |||
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
ePOD Generic XML Export Job | |||
</xsd:documentation> | |||
<xsd:documentation> | |||
History: Version 0.1 25-11-2011 Luke Miles | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:element name="EPOD_EXPORT_JOB_RESPONSE"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_JOBS" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_JOB" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LOAD_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="12" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_ID: Unique reference for this job. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_TYPE" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_TYPE: Defines the type of Job (D - Delivery, C - Collection, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:enumeration value="D"/> | |||
<xsd:enumeration value="C"/> | |||
<xsd:enumeration value="S"/> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_GROUP" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_GROUP: Defines the type of Job (D - Delivery, C - Collection, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="5" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_INSTRUCTION" nillable="true" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_INSTRUCTION: Free text that will be shown to the driver on the PDA. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="255" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_OFFICE_INSTRUCTION" nillable="true" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_JOB_INSTRUCTION: Free text that will not be shown on the PDA but will in the Admin system. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="225" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_SIGNATURE" type="xsd:string" maxOccurs="1" nillable="true"/> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_ENG_SIGNATURE" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_SEQUENCE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="5" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_START_PLANNED_DATE" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_PLANNED_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_PLANNED_DATE" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_PLANNED_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_START_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_ACTUAL_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_END_ACTUAL_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_DISTANCE_PLANNED" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_DISTANCE_ACTUAL" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_DRIVING_TIME" type="xsd:int" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_CUSTOMER_CODE" nillable="false" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_CUSTOMER_CODE: The Unique reference for the Customer. If this does not exist within the system | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="20" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CUSTOMER_NAME" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="100" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_1" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_2" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_3" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_ADDRESS_4" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_POSTCODE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:pattern value="^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) {0,1}[0-9][A-Za-z]{2})$" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTACT" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_TELEPHONE" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_EMAIL" nillable="true" maxOccurs="1"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="255" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPOD_CONTAINERS" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_CONTAINER" nillable="true" minOccurs="0"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_ID" type="xsd:int" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_CONTAINER_ID: The unique identifier for a cotainer. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
</xsd:element> | |||
<xsd:element name="EPL_SEQUENCE" type="xsd:int" nillable="true" maxOccurs="0" /> | |||
<xsd:element name="EPL_CONTAINER_PACKAGE_CODE" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="4" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_PACKAGE_DESC" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPOD_PRODUCTS"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPOD_PRODUCT"> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_CONTAINER_ID" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_CODE" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SEQUENCE" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_DESCRIPTION" nillable="true" maxOccurs="0"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="40" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PRODUCT_QTY_PLANNED" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_QTY_ACTUAL" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_PRODUCT_QTY_CASE" type="xsd:int" nillable="false"/> | |||
<xsd:element name="EPL_REASON_CODE" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="2" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_STATUS" maxOccurs="1" nillable="true"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="1" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_PHOTO_ID" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_PHOTO" type="xsd:string" nillable="true" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_DATE" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
<xsd:element name="EPL_LAST_CHANGED_TIME" type="xsd:int" nillable="false" maxOccurs="1"/> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
<xsd:element name="EPOD_SERVICE" nillable="true" minOccurs="0" maxOccurs="1"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPOD_SERVICE object contains any details relating the service part of the job, if the job is of type service | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:complexType> | |||
<xsd:sequence> | |||
<xsd:element name="EPL_SITE_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_JOB_ID" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="10" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SERVICE_ID" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_SERVICE_ID: Unique identifier for the Service object. | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="20" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SERVICE_TYPE" nillable="false"> | |||
<xsd:annotation> | |||
<xsd:documentation> | |||
EPL_SERVICE_TYPE: Defining the type of service (D - Deinstallation, I - Installation, S - Service). | |||
</xsd:documentation> | |||
</xsd:annotation> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:enumeration value="D"/> | |||
<xsd:enumeration value="I"/> | |||
<xsd:enumeration value="S"/> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_REG_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="15" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_VIN_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
<xsd:element name="EPL_SIM_NUMBER" nillable="false"> | |||
<xsd:simpleType> | |||
<xsd:restriction base="xsd:string"> | |||
<xsd:maxLength value="50" /> | |||
</xsd:restriction> | |||
</xsd:simpleType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:sequence> | |||
<xsd:attribute name="RESULT" type="xsd:string" /> | |||
</xsd:complexType> | |||
</xsd:element> | |||
</xsd:schema> | |||
</pre> | |||
The exported file will follow the standard XML export structure, specified in [[#Appendix B: Export XML Structure|Appendix B]]. The element below must be added to the EPOD_JOB tag: | The exported file will follow the standard XML export structure, specified in [[#Appendix B: Export XML Structure|Appendix B]]. The element below must be added to the EPOD_JOB tag: | ||
Line 190: | Line 1,125: | ||
</pre> | </pre> | ||
<!-- NEW PAGE --> | <!-- NEW PAGE --> | ||
==Customer Reference== | ==Customer Reference== | ||
A new field EPL_CUST_REF will be added to the EPOD_PRODUCT table. | A new field EPL_CUST_REF will be added to the EPOD_PRODUCT table. {{Note}} This is being added under another development - please see references section for details. | ||
It will not be necessary to view this through the Admin screens. However it will be necessary to view this on the PDA Client. | It will not be necessary to view this through the Admin screens. However it will be necessary to view this on the PDA Client. | ||
Line 199: | Line 1,134: | ||
*EPL_PRODUCT_CODE | *EPL_PRODUCT_CODE | ||
*EPL_DESCRIPTION | *EPL_DESCRIPTION | ||
*EPL_ITEM_TYPE | |||
*EPL_CUST_REF | *EPL_CUST_REF | ||
*EPL_PRODUCT_QTY_PLANNED | *EPL_PRODUCT_QTY_PLANNED | ||
Line 241: | Line 1,177: | ||
The elements displayed on the POD will be: | The elements displayed on the POD will be: | ||
*Customer - EPL_CUSTOMER_NAME of EPOD_CUSTOMER | |||
*Customer | *Telephone - EPL_TELEPHONE of EPOD_CUSTOMER | ||
* | *Delivery Date - EPL_START_PLANNED_DATE of EPOD_CUSTOMER | ||
*Delivery | *Job No - EPL_PRODUCT_CODE of EPOD_PRODUCT + EPL_CUST_REF of EPOD_PRODUCT | ||
* | *Item Type - EPL_ITEM_TYPE of EPOD_PRODUCT | ||
*Item | |||
*Description - EPL_DESCRIPTION of EPOD_PRODUCT | *Description - EPL_DESCRIPTION of EPOD_PRODUCT | ||
*Received By - EPL_SIGNATURE of EPOD_JOB | |||
*Print Name - EPL_CUST_SIGNATORY of EPOD_JOB | |||
*Date / Time - EPL_END_ACTUAL_DATE_TIME | |||
{{Note}} No images will be produced. | |||
A test format has been produced and is shown in in [[#Appendix A: POD Document Formats|Appendix A]] | |||
<!-- NEW PAGE --> | <!-- NEW PAGE --> | ||
= Appendix A: POD Document Formats = | = Appendix A: POD Document Formats = | ||
== Sample Document from Client == | |||
[[File:294229-POD-1.jpg|border|600px]] | |||
<!-- NEW PAGE --> | |||
[[File:294229-POD-2.jpg|border|600px]] | |||
<!-- NEW PAGE --> | |||
== Prototype POD Format == | |||
[[File:294229-POD-3.jpg|border|600px]] | |||
<!-- NEW PAGE --> | <!-- NEW PAGE --> | ||
Line 1,109: | Line 2,054: | ||
</pre> | </pre> | ||
<!-- | <!-- MEDIA LANDSCAPE YES --> | ||
= Appendix A: TEST PLAN = | |||
{{TestPlan_Header | |||
|Title={{#var:Doc_Title}} | |||
|Log={{#var:Reference}} | |||
|Description=Full System Test for Whiteline's functionality | |||
|MenuAccess=N/a | |||
|Prerequisites=WhiteLines Test Site configuration | |||
|Objective=Fully test Whiteline's functionality | |||
}} | |||
{{ #vardefine: Cycle | 0 }}{{ #vardefine: SubCycle | 0 }} | |||
{{TestPlan_CycleHeader | |||
|Cycle={{ #vardefineecho: Cycle | {{ #expr: {{ #var: Cycle }} + 1 }} }}{{ #vardefine: SubCycle | {{ #var: Cycle }} }} | |||
|Title=Admin | |||
|Notes=Admin Changes | |||
}} <!--INSERT TESTS HERE --> {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Create a Delivery with Loose Products and include a customer reference (Add products button within the Container.aspx page) | |||
|Result=Products appear as loose (not related to a container) | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Create a Collection with Loose Products and include a customer reference (Add products button within the Container.aspx page) | |||
|Result=Products appear as loose (not related to a container) | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Check POD format is correctly formatted and data is shown correctly | |||
|Result=POD format will match documentation | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_CycleFooter}} | |||
{{TestPlan_CycleHeader | |||
|Cycle={{ #vardefineecho: Cycle | {{ #expr: {{ #var: Cycle }} + 1 }} }}{{ #vardefine: SubCycle | {{ #var: Cycle }} }} | |||
|Title=PDA Client | |||
|Notes=PDA Client Changes | |||
}} <!--INSERT TESTS HERE --> {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Process a delivery with Loose Products | |||
|Result=No container tab should appear instead users will be directed straight to products (only if there are no other containers) | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Process a collection with Loose Products | |||
|Result=No container tab should appear instead users will be directed straight to products (only if there are no other containers) | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Check Naivation is functioning. Start Co-Pilot in one job, check that the destination is sent to Co-Pilot. Minimise Co-Pilot and start it for another job. Minimise Co-Pilot and complete the Job. Exit the App and check that Co-Pilot is closed. | |||
|Result=Co-Pilot should be started, prompted with locations and closed by the ePOD Client. | |||
|Remarks= | |||
|PassFail= | |||
}} | |||
{{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Check that the Payment recieved on delivery functions. Check the payment on delivery check box, at the end of product delivery/collection. | |||
|Result=This should interface back to the admin system and be shown against the job, | |||
|Remarks= | |||
|PassFail= | |||
}} | |||
{{TestPlan_Test | |||
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }} | |||
|Action=Check that the context menu for products functions. Long hold on a product with produce a context menu. Check the data on here is correct. | |||
|Result=The context menu should display the following: | |||
*EPL_PRODUCT_CODE | |||
*EPL_DESCRIPTION | |||
*EPL_ITEM_TYPE | |||
*EPL_CUST_REF | |||
*EPL_PRODUCT_QTY_PLANNED | |||
|Remarks= | |||
|PassFail= | |||
}} {{TestPlan_CycleFooter}} | |||
<!-- MEDIA LANDSCAPE NO --> | |||
{{Doc_Appendix | {{Doc_Appendix | ||
|Appendix=C | |Appendix=C | ||
|Estimate= | |Estimate=N | ||
|Glossary=EPOD | |Glossary=EPOD | ||
|Ref1= | |Ref1=[[FS 293863 CDL EPOD Modifications]] | ||
|RefV1= | |RefV1=0.2 | ||
|RefDate1= | |RefDate1=01/12/2011 | ||
|REQ=0 | |REQ=0 | ||
|EST=0 | |EST=0 | ||
|FS=1. | |FS=1.75 | ||
|TS=0 | |TS=0 | ||
|DEV= | |DEV=10 | ||
|ST= | |ST=3.0 | ||
|IMP=0 | |IMP=0 | ||
|Client={{#var:Client}} | |Client={{#var:Client}} | ||
|Year=2011 | |Year=2011 | ||
|FSEST= | |FSEST=N | ||
|Rev1=Steve McCartney | |Rev1=Steve McCartney | ||
|Rev1Title=OBS Representative | |Rev1Title=OBS Representative |