{"id":284,"date":"2020-02-04T10:13:16","date_gmt":"2020-02-04T10:13:16","guid":{"rendered":"https:\/\/zedinet.com\/?page_id=284"},"modified":"2020-02-04T10:13:16","modified_gmt":"2020-02-04T10:13:16","slug":"mappingsvideotranscript","status":"publish","type":"page","link":"https:\/\/zedinet.com\/index.php\/mappingsvideotranscript\/","title":{"rendered":"Mappings Video Transcript"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h1>Transcript of &#8220;Mappings&#8221; video<\/h1>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Hello.<\/p>\n<p>In this video I\u2019ll be showing you how ZEDI handles EDI files.<\/p>\n<p>We\u2019ll look at how data exported by your business systems can be converted into an EDI format, and then delivered to your trading partners. We\u2019ll also look at how EDI files being sent to your business by your trading partners can be mapped into a form that your business systems can import.<\/p>\n<p>To illustrate this, we\u2019ll use two fictitious companies. The first is \u201cBig Supermarket\u201d, a retailer of various types of grocery products. The other is \u201cJohnson Pet Foods\u201d who manufacture pet foods.<\/p>\n<p>The starting point is an XML file containing supplier order information. This order information was originally exported from Big Supermarket\u2019s purchasing systems and passed to ZEDI for processing.<\/p>\n<p>It\u2019s important to note at this point that the information in the file did not necessary arrive into ZEDI in XML format. It might, for example, have been presented as a CSV file which was subsequently converted to XML by ZEDI.<\/p>\n<p>If we look at the actions for this file, you can see that there are a number of steps it goes through in its processing. We\u2019re interested in the last of these, the one that runs the \u201cMap the file\u201d action.<\/p>\n<p>This action looks like this.<\/p>\n<p>It targets outbound transactions for Johnson Pet Foods that have a document type of \u201cSupplierOrders\u201d and a condition of \u201cValidated\u201d.<\/p>\n<p>The action it performs is \u201cMap the file\u201d and the stylesheet that performs this mapping is selected here.<\/p>\n<p>The stylesheet will produce a new file, containing the EDI message, so once the mapping has been performed, we don\u2019t need to do anything else with the original XML file.<\/p>\n<p>The output tab shows what will happen to the EDI message generated by the stylesheet. It will be added to the list of transactions as an outbound transaction for the same trading partner as the original XML file but with a document type of \u201cSupplierOrders_EDIFACT\u201d.<\/p>\n<p>This is the transaction that was generated.<\/p>\n<p>If we look at the action tab, we can see that the only thing that happens next is a \u201cSend transaction\u201d which will deliver the EDI file to Johnson Pet Foods.<\/p>\n<p>The action looks like this.<\/p>\n<p>So, the EDI data will be delivered to Johnson Pet Foods using their default means of communication, which in Johnson Pets Foods case is AS2.<\/p>\n<p>Once the EDI has been sent, the \u201cHistory\u201d section for the transaction will show whether or not it was sent successfully. In this example, as is usually the case, the file was delivered successfully.<\/p>\n<p>The \u201cSession logs\u201d section shows additional information about the transmission. This includes a log of the transmission, a copy of the data that was sent before it was encrypted, the data as it looked after it was encrypted, and the electronic receipt, or MDN, that was returned by Johnson\u2019s AS2 server.<\/p>\n<p>We\u2019ll now look at what happened when the file was received by Johnson Pet Foods.<\/p>\n<p>I\u2019ve logged off from Big Supermarket and logged back on as Johnson Pet Foods.<\/p>\n<p>The file arrived from Big Supermarket as a \u201cSupplierOrders_EDIFACT\u201d file.<\/p>\n<p>Since we\u2019re expecting files from Big Supermarket to contain EDI data, the first action to be performed is an \u201cEDI Extract\u201d.<\/p>\n<p>This will scan the file for the presence of one or more EDI messages. Any that are found will be added as new entries on the list of transactions with the appropriate EDI document type, and a condition of \u201cEDI Extracted\u201d.<\/p>\n<p>Since the file from Big Supermarket contained an EDIFACT ORDERS file, the new transaction will look like this.<\/p>\n<p>Notice that the lower section of the screen shows two files. The first is the raw EDI file and the other is the XML representation of the same data. This XML is needed to map the data into a form that can be used by Johnson\u2019s business systems.<\/p>\n<p>If we look at the actions for this transaction we can see that it goes through two additional processes. We\u2019re interested in the second one, \u201cMap the file\u201d. It looks like this:<\/p>\n<p>It will map the data using the stylesheet specified here, which in this case will produce the kind of CSV data the business systems can import. It doesn\u2019t necessarily need to be a CSV file. By selecting the appropriate stylesheet ZEDI could just as easily have produced an XML file, a flat file, a SQL script or whatever the business systems need.<\/p>\n<p>The output tag shows that the output of the mapping will be added to the list of transactions as an inbound transaction destined for Johnson Pet Foods. It will be given a document type of \u201cOrder_CSV\u201d.<\/p>\n<p>It looks like this:<\/p>\n<p>Once again, if we look at the actions for this file we can see that a \u201cSent transaction\u201d action will be used to deliver it to Johnson\u2019s business systems.<\/p>\n<p>The action that does this specifies that the communications method will be \u201cLocal FTP\u201d, which means that the CSV file will be placed in the \u201cDownload\u201d folder on the FTP server to await collection by the business systems.<\/p>\n<p>I hope this video has adequately explained how EDI files are processed by ZEDI. If you have any questions then please feel free to get in tough via the \u201cContact\u201d page on the zirconblue.com web site.<\/p>\n<p>Thank you.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n<\/div>","protected":false},"excerpt":{"rendered":"Transcript of \"Mappings\" video Hello. In this video I\u2019ll be showing you how ZEDI handles EDI files. We\u2019ll look at how data exported by your business systems can be converted into an EDI format, and then delivered to your trading partners. We\u2019ll also look at how EDI files being sent to your business by your...","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-284","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/pages\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":1,"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/pages\/284\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/pages\/284\/revisions\/285"}],"wp:attachment":[{"href":"https:\/\/zedinet.com\/index.php\/wp-json\/wp\/v2\/media?parent=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}