FS 305796 Partnerlink EPOD Interfaces: Difference between revisions
From Calidus HUB
(v0.2 - added Export functionality) |
(v0.3 - added details of a new Vigo-requested web service.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:System|''CALIDUS'' EPOD}} | {{#vardefine:System|''CALIDUS'' EPOD}} | ||
{{#vardefine:Doc_Title|EPOD TMS Interfaces}} | {{#vardefine:Doc_Title|EPOD TMS Interfaces}} | ||
{{#vardefine:Version|0. | {{#vardefine:Version|0.3}} | ||
{{#vardefine:Date| | {{#vardefine:Date|12th February 2013}} | ||
{{#vardefine:Reference|305796}} | {{#vardefine:Reference|305796}} | ||
{{#vardefine:Year|2013}} | {{#vardefine:Year|2013}} | ||
Line 36: | Line 36: | ||
* All jobs marked as Palletforce job group require update messages sent to palletforce as well, in the palletforce formats. | * All jobs marked as Palletforce job group require update messages sent to palletforce as well, in the palletforce formats. | ||
VIGO: To send out to the provided Vigo web service, using the OBS XML format | VIGO: To send out to the provided Vigo web service, using the OBS XML format. {{Note}} This may now be that the Vigo system will request the data specifically from our Job or Load web services. This is awaiting definition, but a tentative description is included below. | ||
STIRLING: To send out to a specific folder a flat file, in CSV format. Naming convention of the file will be unique to the partner. | STIRLING: To send out to a specific folder a flat file, in CSV format. Naming convention of the file will be unique to the partner. | ||
MANDATA: To send out to a specific folder a flat file, in CSV format. Naming convention of the file will be unique to the partner. | MANDATA: To send out to a specific folder a flat file, in CSV format. Naming convention of the file will be unique to the partner. | ||
Line 63: | Line 63: | ||
''CALIDUS'' EPOD's configuration for exporting data is at Site (and to a much lesser extent, Job Group). This level configures both whether to export, and how (i.e. where to connect to, what to send, what format, etc). | ''CALIDUS'' EPOD's configuration for exporting data is at Site (and to a much lesser extent, Job Group). This level configures both whether to export, and how (i.e. where to connect to, what to send, what format, etc). | ||
* The system will hold configuration against Site L03 that says export to Knights of Old through a web service, in OBS XML format, to a defined web service address. | * The system will hold configuration against Site L03 that says export to Knights of Old through a web service, in OBS XML format, to a defined web service address. {{Note}} This may not be required. | ||
* The system will hold configuration against all other sites that says export to the partner systems as a text file, in CSV format, to a defined shared folder. | * The system will hold configuration against all other sites that says export to the partner systems as a text file, in CSV format, to a defined shared folder. | ||
* The system will hold configuration against the palletforce job group alone that says export out to the Palletforce destination, in this correct Palletforce format. | * The system will hold configuration against the palletforce job group alone that says export out to the Palletforce destination, in this correct Palletforce format. | ||
Line 85: | Line 85: | ||
This specification chooses the latter option, which requires confirmation from the client. | This specification chooses the latter option, which requires confirmation from the client. | ||
Both Stirling and Mandata will send in a CSV format (similar to JobShare, with additional fields). A mapping spreadsheet exists. | Both Stirling and Mandata will send in a CSV format (similar to JobShare, with additional fields). A mapping spreadsheet exists. Note that an extremely similar import has been done in the existing Upload.aspx for site PLINK. This will form the basis of this new import code. Sample files exist from Mandata to test against. | ||
* This file will be collected by EPOD via FTP. This requires a completely new EPOD process to be written to poll for message files coming in. | * This file will be collected by EPOD via FTP. This requires a completely new EPOD process to be written to poll for message files coming in. | ||
* EPOD will export completed or cancelled job data out in OBS XML format, in a flat file. This will be delivered via flat file FTP. | * EPOD will export completed or cancelled job data out in OBS XML format, in a flat file. This will be delivered via flat file FTP. | ||
Line 141: | Line 140: | ||
* [EPL_SOAP_NS] - other Webservice parameters, as defined. | * [EPL_SOAP_NS] - other Webservice parameters, as defined. | ||
* [EPL_SOAP_NS_PREFIX] - other Webservice parameters, as defined. | * [EPL_SOAP_NS_PREFIX] - other Webservice parameters, as defined. | ||
{{Note}} If the Vigo system is retrieving this data directly, this is not required. | |||
Job Group "PALLET" set up as | Job Group "PALLET" set up as | ||
Line 209: | Line 209: | ||
*** If not found, set EPL_XF_VALUES 3rd character to "Y". | *** If not found, set EPL_XF_VALUES 3rd character to "Y". | ||
*** If found and type PF and the 3rd character of EPL_XF_VALUES = "N": | *** If found and type PF and the 3rd character of EPL_XF_VALUES = "N": | ||
**** Create the file in the format identified (Palletforce format). | **** Create the file in the format identified (Palletforce format, as can be seen in the existing code PFExport.aspx). | ||
**** FTP to destination.. | **** FTP to destination.. | ||
**** Mark the 3rd character of EPL_XF_VALUES = "Y". | **** Mark the 3rd character of EPL_XF_VALUES = "Y". | ||
Line 216: | Line 216: | ||
If this fails, an audit record will be written, indicating the issue with the job. | If this fails, an audit record will be written, indicating the issue with the job. | ||
== New Web-service Job Request == | |||
Optionally, Vigo have requested that a web service be created so that they can request the jobs not yet sent. | |||
In this instance: | |||
* All jobs with interface flag of "N" will be polled. | |||
* If found, all jobs' XML will be created and returned in one record. | |||
* All jobs will be marked as interfaced (EPL_XFER_FLAG = "Y"). | |||
This new webservice request will be called EPOD_EXPORT_JOB_COMPLETE, with the response called EPOD_EXPORT_JOB_COMPLETE_RESPONSE. This should be created under ePOD_dataservice and ePOD_dataservice2. | |||
<!-- MEDIA LANDSCAPE NO --> | <!-- MEDIA LANDSCAPE NO --> |