選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

TM.Bosman.IFCSUM.odx 47KB

1週間前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. #if __DESIGNER_DATA
  2. #error Do not define __DESIGNER_DATA.
  3. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  4. <om:MetaModel MajorVersion="1" MinorVersion="3" Core="2b131234-7959-458d-834f-2dc0769ce683" ScheduleModel="66366196-361d-448d-976f-cab5e87496d2" xmlns:om="http://schemas.microsoft.com/BizTalk/2003/DesignerData">
  5. <om:Element Type="Module" OID="5a98477c-8382-4cc7-937f-01e7de2eca19" LowerBound="1.1" HigherBound="175.1">
  6. <om:Property Name="ReportToAnalyst" Value="True" />
  7. <om:Property Name="Name" Value="TM.Bosman.Orchestrations" />
  8. <om:Property Name="Signal" Value="False" />
  9. <om:Element Type="PortType" OID="66e03941-3209-4b87-95b9-e743f132a603" ParentLink="Module_PortType" LowerBound="9.1" HigherBound="16.1">
  10. <om:Property Name="Synchronous" Value="False" />
  11. <om:Property Name="TypeModifier" Value="Internal" />
  12. <om:Property Name="ReportToAnalyst" Value="True" />
  13. <om:Property Name="Name" Value="IFCSUM_ReceivePort" />
  14. <om:Property Name="Signal" Value="True" />
  15. <om:Element Type="OperationDeclaration" OID="bffa4aad-100f-41b7-a0c5-c733422091e2" ParentLink="PortType_OperationDeclaration" LowerBound="11.1" HigherBound="15.1">
  16. <om:Property Name="OperationType" Value="OneWay" />
  17. <om:Property Name="ReportToAnalyst" Value="True" />
  18. <om:Property Name="Name" Value="Receive" />
  19. <om:Property Name="Signal" Value="True" />
  20. <om:Element Type="MessageRef" OID="7d0e8c7f-4e86-4d9b-a815-569064fcf9b9" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="13.13" HigherBound="13.55">
  21. <om:Property Name="Ref" Value="TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN" />
  22. <om:Property Name="ReportToAnalyst" Value="True" />
  23. <om:Property Name="Name" Value="Request" />
  24. <om:Property Name="Signal" Value="False" />
  25. </om:Element>
  26. </om:Element>
  27. </om:Element>
  28. <om:Element Type="PortType" OID="d57d8313-8f5e-4a6d-b672-40852301ab24" ParentLink="Module_PortType" LowerBound="16.1" HigherBound="23.1">
  29. <om:Property Name="Synchronous" Value="False" />
  30. <om:Property Name="TypeModifier" Value="Internal" />
  31. <om:Property Name="ReportToAnalyst" Value="True" />
  32. <om:Property Name="Name" Value="Shared_Order_SendPort" />
  33. <om:Property Name="Signal" Value="False" />
  34. <om:Element Type="OperationDeclaration" OID="03a09ce7-88a5-495a-af39-48314b81a6e8" ParentLink="PortType_OperationDeclaration" LowerBound="18.1" HigherBound="22.1">
  35. <om:Property Name="OperationType" Value="OneWay" />
  36. <om:Property Name="ReportToAnalyst" Value="True" />
  37. <om:Property Name="Name" Value="Send" />
  38. <om:Property Name="Signal" Value="True" />
  39. <om:Element Type="MessageRef" OID="ef36a019-b7af-4ca6-9709-57dd089d0903" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="20.13" HigherBound="20.36">
  40. <om:Property Name="Ref" Value="TM.Shared.Schemas.Order" />
  41. <om:Property Name="ReportToAnalyst" Value="True" />
  42. <om:Property Name="Name" Value="Request" />
  43. <om:Property Name="Signal" Value="True" />
  44. </om:Element>
  45. </om:Element>
  46. </om:Element>
  47. <om:Element Type="PortType" OID="454b165c-cb54-4dab-899b-0d4ed66455af" ParentLink="Module_PortType" LowerBound="23.1" HigherBound="30.1">
  48. <om:Property Name="Synchronous" Value="False" />
  49. <om:Property Name="TypeModifier" Value="Internal" />
  50. <om:Property Name="ReportToAnalyst" Value="True" />
  51. <om:Property Name="Name" Value="Shared_Order_SMTPPort" />
  52. <om:Property Name="Signal" Value="False" />
  53. <om:Element Type="OperationDeclaration" OID="1e58018f-4cc6-4f17-a13a-6f0c28ed60d8" ParentLink="PortType_OperationDeclaration" LowerBound="25.1" HigherBound="29.1">
  54. <om:Property Name="OperationType" Value="OneWay" />
  55. <om:Property Name="ReportToAnalyst" Value="True" />
  56. <om:Property Name="Name" Value="Mail" />
  57. <om:Property Name="Signal" Value="True" />
  58. <om:Element Type="MessageRef" OID="d557a894-7acd-460d-aa3d-27bec691b26e" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="27.13" HigherBound="27.17">
  59. <om:Property Name="Ref" Value="TM.Bosman.Orchestrations.Mail" />
  60. <om:Property Name="ReportToAnalyst" Value="True" />
  61. <om:Property Name="Name" Value="Request" />
  62. <om:Property Name="Signal" Value="True" />
  63. </om:Element>
  64. </om:Element>
  65. </om:Element>
  66. <om:Element Type="PortType" OID="0e5c0c05-923b-420d-afad-34b52e35629c" ParentLink="Module_PortType" LowerBound="30.1" HigherBound="37.1">
  67. <om:Property Name="Synchronous" Value="False" />
  68. <om:Property Name="TypeModifier" Value="Internal" />
  69. <om:Property Name="ReportToAnalyst" Value="True" />
  70. <om:Property Name="Name" Value="Mail_Send_Type" />
  71. <om:Property Name="Signal" Value="False" />
  72. <om:Element Type="OperationDeclaration" OID="1fa3583e-1f9e-43c3-b987-1a68bb0b5e27" ParentLink="PortType_OperationDeclaration" LowerBound="32.1" HigherBound="36.1">
  73. <om:Property Name="OperationType" Value="OneWay" />
  74. <om:Property Name="ReportToAnalyst" Value="True" />
  75. <om:Property Name="Name" Value="Send" />
  76. <om:Property Name="Signal" Value="True" />
  77. <om:Element Type="MessageRef" OID="06a52907-a746-41ce-8fbc-1df427df1459" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="34.13" HigherBound="34.17">
  78. <om:Property Name="Ref" Value="TM.Bosman.Orchestrations.Mail" />
  79. <om:Property Name="ReportToAnalyst" Value="True" />
  80. <om:Property Name="Name" Value="Request" />
  81. <om:Property Name="Signal" Value="True" />
  82. </om:Element>
  83. </om:Element>
  84. </om:Element>
  85. <om:Element Type="ServiceDeclaration" OID="44b24865-1c15-4bc1-a6ac-5884c5995d2d" ParentLink="Module_ServiceDeclaration" LowerBound="37.1" HigherBound="174.1">
  86. <om:Property Name="InitializedTransactionType" Value="False" />
  87. <om:Property Name="IsInvokable" Value="False" />
  88. <om:Property Name="TypeModifier" Value="Internal" />
  89. <om:Property Name="ReportToAnalyst" Value="True" />
  90. <om:Property Name="AnalystComments" Value="IFCSUM Mapping + Email" />
  91. <om:Property Name="Name" Value="TM_Bosman_Orchestrations_IFCSUM" />
  92. <om:Property Name="Signal" Value="True" />
  93. <om:Element Type="VariableDeclaration" OID="b4fc4587-c88d-4d14-b058-2948637282dd" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="51.1" HigherBound="52.1">
  94. <om:Property Name="UseDefaultConstructor" Value="True" />
  95. <om:Property Name="Type" Value="TM.Shared.Tracking.TrackingProps" />
  96. <om:Property Name="ParamDirection" Value="In" />
  97. <om:Property Name="ReportToAnalyst" Value="True" />
  98. <om:Property Name="Name" Value="TrackingProps" />
  99. <om:Property Name="Signal" Value="True" />
  100. </om:Element>
  101. <om:Element Type="VariableDeclaration" OID="793f9560-621d-484f-8778-00c4de41b82c" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="52.1" HigherBound="53.1">
  102. <om:Property Name="UseDefaultConstructor" Value="True" />
  103. <om:Property Name="Type" Value="TM.Shared.Tracking.TrackingParams" />
  104. <om:Property Name="ParamDirection" Value="In" />
  105. <om:Property Name="ReportToAnalyst" Value="True" />
  106. <om:Property Name="Name" Value="TrackingParams" />
  107. <om:Property Name="Signal" Value="True" />
  108. </om:Element>
  109. <om:Element Type="MessageDeclaration" OID="578b6002-4bf5-4773-8584-d8cf9862d32e" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="48.1" HigherBound="49.1">
  110. <om:Property Name="Type" Value="TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN" />
  111. <om:Property Name="ParamDirection" Value="In" />
  112. <om:Property Name="ReportToAnalyst" Value="True" />
  113. <om:Property Name="Name" Value="Bosman_IFCSUM" />
  114. <om:Property Name="Signal" Value="True" />
  115. </om:Element>
  116. <om:Element Type="MessageDeclaration" OID="30f6a476-6b3c-4a19-bfbd-24fe7bc372a8" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="49.1" HigherBound="50.1">
  117. <om:Property Name="Type" Value="TM.Shared.Schemas.Order" />
  118. <om:Property Name="ParamDirection" Value="In" />
  119. <om:Property Name="ReportToAnalyst" Value="True" />
  120. <om:Property Name="Name" Value="Shared_Order" />
  121. <om:Property Name="Signal" Value="True" />
  122. </om:Element>
  123. <om:Element Type="MessageDeclaration" OID="7cd7dea8-4994-49fb-ba13-c2d0e99d1743" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="50.1" HigherBound="51.1">
  124. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Mail" />
  125. <om:Property Name="ParamDirection" Value="In" />
  126. <om:Property Name="ReportToAnalyst" Value="True" />
  127. <om:Property Name="Name" Value="Email" />
  128. <om:Property Name="Signal" Value="True" />
  129. </om:Element>
  130. <om:Element Type="ServiceBody" OID="d84d6478-69e5-4a63-8bf1-eb6599c424af" ParentLink="ServiceDeclaration_ServiceBody">
  131. <om:Property Name="Signal" Value="False" />
  132. <om:Element Type="Receive" OID="838a78ff-ddef-4640-82b1-a36dec9f644a" ParentLink="ServiceBody_Statement" LowerBound="55.1" HigherBound="59.1">
  133. <om:Property Name="Activate" Value="True" />
  134. <om:Property Name="PortName" Value="IFCSUM_Receive" />
  135. <om:Property Name="MessageName" Value="Bosman_IFCSUM" />
  136. <om:Property Name="OperationName" Value="Receive" />
  137. <om:Property Name="OperationMessageName" Value="Request" />
  138. <om:Property Name="ReportToAnalyst" Value="True" />
  139. <om:Property Name="Name" Value="EDI_Receive" />
  140. <om:Property Name="Signal" Value="True" />
  141. </om:Element>
  142. <om:Element Type="VariableAssignment" OID="1a5b1958-93d7-4aad-9813-5dfec1aaeb89" ParentLink="ServiceBody_Statement" LowerBound="59.1" HigherBound="70.1">
  143. <om:Property Name="Expression" Value="TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;TrackingParams.Solution = &quot;TM.Bosman&quot;;&#xD;&#xA;TrackingParams.Phase = &quot;IFCSUM&quot;;&#xD;&#xA;TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;&#xD;&#xA;TrackingParams.isMessageInDatabase = true;&#xD;&#xA;&#xD;&#xA;TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);&#xD;&#xA;&#xD;&#xA;" />
  144. <om:Property Name="ReportToAnalyst" Value="True" />
  145. <om:Property Name="Name" Value="Tracking_Init" />
  146. <om:Property Name="Signal" Value="False" />
  147. </om:Element>
  148. <om:Element Type="Construct" OID="4393856b-b891-4f39-89d4-24bb4cc35dbd" ParentLink="ServiceBody_Statement" LowerBound="70.1" HigherBound="79.1">
  149. <om:Property Name="ReportToAnalyst" Value="True" />
  150. <om:Property Name="Name" Value="IFCSUM_to_Order" />
  151. <om:Property Name="Signal" Value="True" />
  152. <om:Element Type="Transform" OID="0181aaf4-dde9-42da-b034-f80ca2368399" ParentLink="ComplexStatement_Statement" LowerBound="73.1" HigherBound="75.1">
  153. <om:Property Name="ClassName" Value="TM.Bosman.Transforms.TM_Bosman_IFCSUM_to_TM_Shared_Order" />
  154. <om:Property Name="ReportToAnalyst" Value="True" />
  155. <om:Property Name="Name" Value="Transform_1" />
  156. <om:Property Name="Signal" Value="False" />
  157. <om:Element Type="MessagePartRef" OID="b6d45b82-745b-454f-aed8-472a2a91171b" ParentLink="Transform_InputMessagePartRef" LowerBound="74.102" HigherBound="74.115">
  158. <om:Property Name="MessageRef" Value="Bosman_IFCSUM" />
  159. <om:Property Name="ReportToAnalyst" Value="True" />
  160. <om:Property Name="Name" Value="MessagePartReference_1" />
  161. <om:Property Name="Signal" Value="False" />
  162. </om:Element>
  163. <om:Element Type="MessagePartRef" OID="a8cda863-0b3c-4258-8769-96dd0ea51949" ParentLink="Transform_OutputMessagePartRef" LowerBound="74.28" HigherBound="74.40">
  164. <om:Property Name="MessageRef" Value="Shared_Order" />
  165. <om:Property Name="ReportToAnalyst" Value="True" />
  166. <om:Property Name="Name" Value="MessagePartReference_2" />
  167. <om:Property Name="Signal" Value="False" />
  168. </om:Element>
  169. </om:Element>
  170. <om:Element Type="MessageAssignment" OID="6aa8d3fe-8985-4e03-87dd-1935ab9d1ecf" ParentLink="ComplexStatement_Statement" LowerBound="75.1" HigherBound="78.1">
  171. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;&#xD;&#xA;Shared_Order(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
  172. <om:Property Name="ReportToAnalyst" Value="False" />
  173. <om:Property Name="Name" Value="Tracking_Order" />
  174. <om:Property Name="Signal" Value="False" />
  175. </om:Element>
  176. <om:Element Type="MessageRef" OID="9a905cbb-832f-4334-81b0-f01347e017ae" ParentLink="Construct_MessageRef" LowerBound="71.23" HigherBound="71.35">
  177. <om:Property Name="Ref" Value="Shared_Order" />
  178. <om:Property Name="ReportToAnalyst" Value="True" />
  179. <om:Property Name="Signal" Value="False" />
  180. </om:Element>
  181. </om:Element>
  182. <om:Element Type="Decision" OID="5b895899-b542-4bf0-bd6c-389a40823927" ParentLink="ServiceBody_Statement" LowerBound="79.1" HigherBound="161.1">
  183. <om:Property Name="ReportToAnalyst" Value="True" />
  184. <om:Property Name="Name" Value="Receiver?" />
  185. <om:Property Name="Signal" Value="True" />
  186. <om:Element Type="DecisionBranch" OID="c318ca5f-42dd-4ba6-bfc3-3389de9c7ca2" ParentLink="ReallyComplexStatement_Branch" LowerBound="80.13" HigherBound="107.1">
  187. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == &quot;KLGEUVENLO01&quot;" />
  188. <om:Property Name="IsGhostBranch" Value="True" />
  189. <om:Property Name="ReportToAnalyst" Value="True" />
  190. <om:Property Name="Name" Value="KLGEUVENLO01" />
  191. <om:Property Name="Signal" Value="False" />
  192. <om:Element Type="Construct" OID="a8fff63d-7bce-420a-9569-63704b69c9ae" ParentLink="ComplexStatement_Statement" LowerBound="82.1" HigherBound="104.1">
  193. <om:Property Name="ReportToAnalyst" Value="True" />
  194. <om:Property Name="Name" Value="Construct mail for Venlo" />
  195. <om:Property Name="Signal" Value="True" />
  196. <om:Element Type="MessageAssignment" OID="376d2e08-1a27-4baf-87a5-e47598fc2ff9" ParentLink="ComplexStatement_Statement" LowerBound="85.1" HigherBound="103.1">
  197. <om:Property Name="Expression" Value="&#xD;&#xA;Email.MailBody = new TM.Shared.Components.RawString(&quot;&lt;html&gt;&lt;body&gt;Bosman EDI&lt;/body&gt;&lt;/html&gt;&quot;);&#xD;&#xA;Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/html&quot;;&#xD;&#xA;&#xD;&#xA;Email.SharedOrderAttachment = Shared_Order;&#xD;&#xA;Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/xml&quot;;&#xD;&#xA;Email.SharedOrderAttachment(MIME.FileName) = &quot;Shared.Order.xml&quot;;&#xD;&#xA;&#xD;&#xA;Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue(&quot;TM.Bosman&quot;, &quot;TM.Bosman: mailto: Venlo&quot;);&#xD;&#xA;&#xD;&#xA;Email(SMTP.Subject) = System.Convert.ToString(xpath(Email.SharedOrderAttachment, &quot;string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])&quot;));&#xD;&#xA;Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue(&quot;TM.Bosman&quot;, &quot;TM.Bosman: CC: IT Department&quot;);&#xD;&#xA;Email(SMTP.EmailBodyFileCharset) = &quot;UTF-8&quot;;&#xD;&#xA;Email(SMTP.MessagePartsAttachments) = 2;&#xD;&#xA;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
  198. <om:Property Name="ReportToAnalyst" Value="False" />
  199. <om:Property Name="Name" Value="MessageAssignment_2" />
  200. <om:Property Name="Signal" Value="False" />
  201. </om:Element>
  202. <om:Element Type="MessageRef" OID="9a86480f-1755-458c-b8a0-caec216be3b5" ParentLink="Construct_MessageRef" LowerBound="83.27" HigherBound="83.32">
  203. <om:Property Name="Ref" Value="Email" />
  204. <om:Property Name="ReportToAnalyst" Value="True" />
  205. <om:Property Name="Signal" Value="False" />
  206. </om:Element>
  207. </om:Element>
  208. <om:Element Type="Send" OID="e6bf96e6-a6e2-44b3-ac74-5897eff14d36" ParentLink="ComplexStatement_Statement" LowerBound="104.1" HigherBound="106.1">
  209. <om:Property Name="PortName" Value="Mail_Send" />
  210. <om:Property Name="MessageName" Value="Email" />
  211. <om:Property Name="OperationName" Value="Send" />
  212. <om:Property Name="OperationMessageName" Value="Request" />
  213. <om:Property Name="ReportToAnalyst" Value="True" />
  214. <om:Property Name="Name" Value="Send to Venlo" />
  215. <om:Property Name="Signal" Value="True" />
  216. </om:Element>
  217. </om:Element>
  218. <om:Element Type="DecisionBranch" OID="05a4fa5a-de37-41ba-adea-d37096e54be6" ParentLink="ReallyComplexStatement_Branch" LowerBound="107.18" HigherBound="134.1">
  219. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == &quot;KLGEUEERSE01&quot;&#xD;&#xA;" />
  220. <om:Property Name="IsGhostBranch" Value="True" />
  221. <om:Property Name="ReportToAnalyst" Value="True" />
  222. <om:Property Name="Name" Value="KLGEUEERSE01" />
  223. <om:Property Name="Signal" Value="True" />
  224. <om:Element Type="Construct" OID="d16ba0d4-6f35-4f6e-a6ba-4297c1107060" ParentLink="ComplexStatement_Statement" LowerBound="109.1" HigherBound="131.1">
  225. <om:Property Name="ReportToAnalyst" Value="True" />
  226. <om:Property Name="Name" Value="Construct mail for Eersel" />
  227. <om:Property Name="Signal" Value="True" />
  228. <om:Element Type="MessageAssignment" OID="08b68c31-0d7d-4492-897c-9b9ebd0f09f1" ParentLink="ComplexStatement_Statement" LowerBound="112.1" HigherBound="130.1">
  229. <om:Property Name="Expression" Value="&#xD;&#xA;Email.MailBody = new TM.Shared.Components.RawString(&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;h1&gt;Bosman IFCSUM&lt;/h1&gt;&lt;p&gt;Zojuist is een Edifakt bestand ontvangen van Bosman. In de bijlage de vertaling van dit bericht naar het KLG Order formaat. Deze gegevens worden aangeboden aan het transport management systeem.&lt;/p&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;);&#xD;&#xA;Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/html&quot;;&#xD;&#xA;&#xD;&#xA;Email.SharedOrderAttachment = Shared_Order;&#xD;&#xA;Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/xml&quot;;&#xD;&#xA;Email.SharedOrderAttachment(MIME.FileName) = &quot;Shared.Order.xml&quot;;&#xD;&#xA;&#xD;&#xA;Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue(&quot;TM.Bosman&quot;, &quot;TM.Bosman: mailto: Eersel&quot;);&#xD;&#xA;&#xD;&#xA;Email(SMTP.Subject) = System.Convert.ToString(xpath(Email.SharedOrderAttachment, &quot;string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])&quot;));&#xD;&#xA;Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue(&quot;TM.Bosman&quot;, &quot;TM.Bosman: CC: IT Department&quot;);&#xD;&#xA;Email(SMTP.EmailBodyFileCharset) = &quot;UTF-8&quot;;&#xD;&#xA;Email(SMTP.MessagePartsAttachments) = 2;&#xD;&#xA;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
  230. <om:Property Name="ReportToAnalyst" Value="False" />
  231. <om:Property Name="Name" Value="MessageAssignment_3" />
  232. <om:Property Name="Signal" Value="True" />
  233. </om:Element>
  234. <om:Element Type="MessageRef" OID="c8b0c180-5aeb-42b0-810c-5c994832170b" ParentLink="Construct_MessageRef" LowerBound="110.27" HigherBound="110.32">
  235. <om:Property Name="Ref" Value="Email" />
  236. <om:Property Name="ReportToAnalyst" Value="True" />
  237. <om:Property Name="Signal" Value="False" />
  238. </om:Element>
  239. </om:Element>
  240. <om:Element Type="Send" OID="39d20012-4ea7-4f08-98a3-04896d8fcde9" ParentLink="ComplexStatement_Statement" LowerBound="131.1" HigherBound="133.1">
  241. <om:Property Name="PortName" Value="Mail_Send" />
  242. <om:Property Name="MessageName" Value="Email" />
  243. <om:Property Name="OperationName" Value="Send" />
  244. <om:Property Name="OperationMessageName" Value="Request" />
  245. <om:Property Name="ReportToAnalyst" Value="True" />
  246. <om:Property Name="Name" Value="Send to Eersel" />
  247. <om:Property Name="Signal" Value="True" />
  248. </om:Element>
  249. </om:Element>
  250. <om:Element Type="DecisionBranch" OID="ab6d98ae-b406-40d3-baec-375aa6787d25" ParentLink="ReallyComplexStatement_Branch">
  251. <om:Property Name="IsGhostBranch" Value="True" />
  252. <om:Property Name="ReportToAnalyst" Value="True" />
  253. <om:Property Name="Name" Value="Else" />
  254. <om:Property Name="Signal" Value="False" />
  255. <om:Element Type="Construct" OID="bb51293d-9170-4f66-a9de-e166d4946fb6" ParentLink="ComplexStatement_Statement" LowerBound="136.1" HigherBound="158.1">
  256. <om:Property Name="ReportToAnalyst" Value="True" />
  257. <om:Property Name="Name" Value="Onbekende receiver!" />
  258. <om:Property Name="Signal" Value="True" />
  259. <om:Element Type="MessageAssignment" OID="f4740781-2a39-4c8e-95e6-ee48a16fe754" ParentLink="ComplexStatement_Statement" LowerBound="139.1" HigherBound="157.1">
  260. <om:Property Name="Expression" Value="&#xD;&#xA;Email.MailBody = new TM.Shared.Components.RawString(&quot;&lt;HTML&gt;&lt;BODY&gt;&lt;h1&gt;Bosman IFCSUM&lt;/h1&gt;&lt;p&gt;Zojuist is een Edifakt bestand ontvangen van Bosman. In de bijlage de vertaling van dit bericht naar het KLG Order formaat. Deze gegevens worden aangeboden aan het transport management systeem.&lt;/p&gt;&lt;/BODY&gt;&lt;/HTML&gt;&quot;);&#xD;&#xA;Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/html&quot;;&#xD;&#xA;&#xD;&#xA;Email.SharedOrderAttachment = Shared_Order;&#xD;&#xA;Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = &quot;text/xml&quot;;&#xD;&#xA;Email.SharedOrderAttachment(MIME.FileName) = &quot;Shared.Order.xml&quot;;&#xD;&#xA;&#xD;&#xA;Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = &quot;mailto:ITsupport@venlo.klgeurope.com&quot;;&#xD;&#xA;&#xD;&#xA;Email(SMTP.Subject) = &quot;RECEIVER UNKNOWN - &quot; + System.Convert.ToString(xpath(Email.SharedOrderAttachment, &quot;string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])&quot;));&#xD;&#xA;Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue(&quot;TM.Bosman&quot;, &quot;TM.Bosman: CC: IT Department&quot;);&#xD;&#xA;Email(SMTP.EmailBodyFileCharset) = &quot;UTF-8&quot;;&#xD;&#xA;Email(SMTP.MessagePartsAttachments) = 2;&#xD;&#xA;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;&#xD;&#xA;Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
  261. <om:Property Name="ReportToAnalyst" Value="False" />
  262. <om:Property Name="Name" Value="MessageAssignment_1" />
  263. <om:Property Name="Signal" Value="True" />
  264. </om:Element>
  265. <om:Element Type="MessageRef" OID="b171dfa0-4c9c-4fc1-b42a-fd9e1ee7e361" ParentLink="Construct_MessageRef" LowerBound="137.27" HigherBound="137.32">
  266. <om:Property Name="Ref" Value="Email" />
  267. <om:Property Name="ReportToAnalyst" Value="True" />
  268. <om:Property Name="Signal" Value="False" />
  269. </om:Element>
  270. </om:Element>
  271. <om:Element Type="Send" OID="89eae990-7b97-44bd-9b6d-d00aa46558d3" ParentLink="ComplexStatement_Statement" LowerBound="158.1" HigherBound="160.1">
  272. <om:Property Name="PortName" Value="Mail_Send" />
  273. <om:Property Name="MessageName" Value="Email" />
  274. <om:Property Name="OperationName" Value="Send" />
  275. <om:Property Name="OperationMessageName" Value="Request" />
  276. <om:Property Name="ReportToAnalyst" Value="True" />
  277. <om:Property Name="Name" Value="Send to IT" />
  278. <om:Property Name="Signal" Value="True" />
  279. </om:Element>
  280. </om:Element>
  281. </om:Element>
  282. <om:Element Type="Decision" OID="ce2a7e14-354a-4896-b310-373bedbfdc53" ParentLink="ServiceBody_Statement" LowerBound="161.1" HigherBound="172.1">
  283. <om:Property Name="ReportToAnalyst" Value="True" />
  284. <om:Property Name="Name" Value="Consolidate?" />
  285. <om:Property Name="Signal" Value="True" />
  286. <om:Element Type="DecisionBranch" OID="c435b987-3d69-459e-90ab-2d276f5dc0f7" ParentLink="ReallyComplexStatement_Branch" LowerBound="162.13" HigherBound="167.1">
  287. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == &quot;YES&quot;" />
  288. <om:Property Name="IsGhostBranch" Value="True" />
  289. <om:Property Name="ReportToAnalyst" Value="True" />
  290. <om:Property Name="Name" Value="YES" />
  291. <om:Property Name="Signal" Value="True" />
  292. <om:Element Type="Send" OID="cc9721e1-fd2b-42bd-a98f-087516d94e10" ParentLink="ComplexStatement_Statement" LowerBound="164.1" HigherBound="166.1">
  293. <om:Property Name="PortName" Value="Shared_Order_Consolidation_Todo_Send" />
  294. <om:Property Name="MessageName" Value="Shared_Order" />
  295. <om:Property Name="OperationName" Value="Send" />
  296. <om:Property Name="OperationMessageName" Value="Request" />
  297. <om:Property Name="ReportToAnalyst" Value="True" />
  298. <om:Property Name="Name" Value="Send Shared.Order" />
  299. <om:Property Name="Signal" Value="True" />
  300. </om:Element>
  301. </om:Element>
  302. <om:Element Type="DecisionBranch" OID="f876c7ad-213b-4dec-9cc7-d1920ed7ea1f" ParentLink="ReallyComplexStatement_Branch">
  303. <om:Property Name="IsGhostBranch" Value="True" />
  304. <om:Property Name="ReportToAnalyst" Value="True" />
  305. <om:Property Name="Name" Value="Else" />
  306. <om:Property Name="Signal" Value="False" />
  307. <om:Element Type="Send" OID="14ca036c-52be-4acc-a29c-2d942d9e5aa6" ParentLink="ComplexStatement_Statement" LowerBound="169.1" HigherBound="171.1">
  308. <om:Property Name="PortName" Value="Shared_Order_Send" />
  309. <om:Property Name="MessageName" Value="Shared_Order" />
  310. <om:Property Name="OperationName" Value="Send" />
  311. <om:Property Name="OperationMessageName" Value="Request" />
  312. <om:Property Name="ReportToAnalyst" Value="True" />
  313. <om:Property Name="Name" Value="Send Shared.Order" />
  314. <om:Property Name="Signal" Value="True" />
  315. </om:Element>
  316. </om:Element>
  317. </om:Element>
  318. </om:Element>
  319. <om:Element Type="PortDeclaration" OID="987a1083-3b33-46dc-9697-2f419a5ff48a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="40.1" HigherBound="42.1">
  320. <om:Property Name="PortModifier" Value="Implements" />
  321. <om:Property Name="Orientation" Value="Left" />
  322. <om:Property Name="PortIndex" Value="-1" />
  323. <om:Property Name="IsWebPort" Value="False" />
  324. <om:Property Name="OrderedDelivery" Value="False" />
  325. <om:Property Name="DeliveryNotification" Value="None" />
  326. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.IFCSUM_ReceivePort" />
  327. <om:Property Name="ParamDirection" Value="In" />
  328. <om:Property Name="ReportToAnalyst" Value="True" />
  329. <om:Property Name="Name" Value="IFCSUM_Receive" />
  330. <om:Property Name="Signal" Value="False" />
  331. <om:Element Type="LogicalBindingAttribute" OID="6933615c-c90d-4cc0-8fc8-f57438eafa71" ParentLink="PortDeclaration_CLRAttribute" LowerBound="40.1" HigherBound="41.1">
  332. <om:Property Name="Signal" Value="False" />
  333. </om:Element>
  334. </om:Element>
  335. <om:Element Type="PortDeclaration" OID="6ebe662f-5ef1-4cab-a555-cbfd2268a916" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="42.1" HigherBound="44.1">
  336. <om:Property Name="PortModifier" Value="Uses" />
  337. <om:Property Name="Orientation" Value="Right" />
  338. <om:Property Name="PortIndex" Value="41" />
  339. <om:Property Name="IsWebPort" Value="False" />
  340. <om:Property Name="OrderedDelivery" Value="False" />
  341. <om:Property Name="DeliveryNotification" Value="None" />
  342. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
  343. <om:Property Name="ParamDirection" Value="In" />
  344. <om:Property Name="ReportToAnalyst" Value="True" />
  345. <om:Property Name="Name" Value="Shared_Order_Send" />
  346. <om:Property Name="Signal" Value="False" />
  347. <om:Element Type="LogicalBindingAttribute" OID="2f4c1661-ce54-45dc-9947-72b4023534e9" ParentLink="PortDeclaration_CLRAttribute" LowerBound="42.1" HigherBound="43.1">
  348. <om:Property Name="Signal" Value="False" />
  349. </om:Element>
  350. </om:Element>
  351. <om:Element Type="PortDeclaration" OID="adda7bae-1841-43ba-a305-97c88d42e03a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="44.1" HigherBound="46.1">
  352. <om:Property Name="PortModifier" Value="Uses" />
  353. <om:Property Name="Orientation" Value="Right" />
  354. <om:Property Name="PortIndex" Value="35" />
  355. <om:Property Name="IsWebPort" Value="False" />
  356. <om:Property Name="OrderedDelivery" Value="False" />
  357. <om:Property Name="DeliveryNotification" Value="None" />
  358. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Mail_Send_Type" />
  359. <om:Property Name="ParamDirection" Value="In" />
  360. <om:Property Name="ReportToAnalyst" Value="True" />
  361. <om:Property Name="Name" Value="Mail_Send" />
  362. <om:Property Name="Signal" Value="False" />
  363. <om:Element Type="PhysicalBindingAttribute" OID="d5aefbc4-73e2-4f00-a778-5c7e2ddb9d80" ParentLink="PortDeclaration_CLRAttribute" LowerBound="44.1" HigherBound="45.1">
  364. <om:Property Name="InPipeline" Value="Microsoft.BizTalk.DefaultPipelines.XMLReceive" />
  365. <om:Property Name="OutPipeline" Value="Microsoft.BizTalk.DefaultPipelines.PassThruTransmit" />
  366. <om:Property Name="TransportType" Value="HTTP" />
  367. <om:Property Name="URI" Value="http://tempURI" />
  368. <om:Property Name="IsDynamic" Value="True" />
  369. <om:Property Name="Signal" Value="False" />
  370. </om:Element>
  371. </om:Element>
  372. <om:Element Type="PortDeclaration" OID="eab2b560-7840-4a9b-8ee5-5d440513a6ae" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="46.1" HigherBound="48.1">
  373. <om:Property Name="PortModifier" Value="Uses" />
  374. <om:Property Name="Orientation" Value="Right" />
  375. <om:Property Name="PortIndex" Value="-1" />
  376. <om:Property Name="IsWebPort" Value="False" />
  377. <om:Property Name="OrderedDelivery" Value="False" />
  378. <om:Property Name="DeliveryNotification" Value="None" />
  379. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
  380. <om:Property Name="ParamDirection" Value="In" />
  381. <om:Property Name="ReportToAnalyst" Value="True" />
  382. <om:Property Name="Name" Value="Shared_Order_Consolidation_Todo_Send" />
  383. <om:Property Name="Signal" Value="True" />
  384. <om:Element Type="LogicalBindingAttribute" OID="596103c6-036b-414d-a49d-d64c2c810b6b" ParentLink="PortDeclaration_CLRAttribute" LowerBound="46.1" HigherBound="47.1">
  385. <om:Property Name="Signal" Value="False" />
  386. </om:Element>
  387. </om:Element>
  388. </om:Element>
  389. <om:Element Type="MultipartMessageType" OID="dca1bd25-fa66-4742-8f68-025ea750ba79" ParentLink="Module_MessageType" LowerBound="4.1" HigherBound="9.1">
  390. <om:Property Name="TypeModifier" Value="Internal" />
  391. <om:Property Name="ReportToAnalyst" Value="True" />
  392. <om:Property Name="Name" Value="Mail" />
  393. <om:Property Name="Signal" Value="True" />
  394. <om:Element Type="PartDeclaration" OID="64f5cf77-51a3-4fcb-a783-5cdb0809e230" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="6.1" HigherBound="7.1">
  395. <om:Property Name="ClassName" Value="TM.Shared.Components.RawString" />
  396. <om:Property Name="IsBodyPart" Value="True" />
  397. <om:Property Name="ReportToAnalyst" Value="True" />
  398. <om:Property Name="Name" Value="MailBody" />
  399. <om:Property Name="Signal" Value="True" />
  400. </om:Element>
  401. <om:Element Type="PartDeclaration" OID="ce1ebc77-90b7-47da-ba45-91f7b66aebf9" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="7.1" HigherBound="8.1">
  402. <om:Property Name="ClassName" Value="TM.Shared.Schemas.Order" />
  403. <om:Property Name="IsBodyPart" Value="False" />
  404. <om:Property Name="ReportToAnalyst" Value="True" />
  405. <om:Property Name="Name" Value="SharedOrderAttachment" />
  406. <om:Property Name="Signal" Value="True" />
  407. </om:Element>
  408. </om:Element>
  409. </om:Element>
  410. </om:MetaModel>
  411. #endif // __DESIGNER_DATA
  412. [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
  413. module TM.Bosman.Orchestrations
  414. {
  415. internal messagetype Mail
  416. {
  417. body TM.Shared.Components.RawString MailBody;
  418. TM.Shared.Schemas.Order SharedOrderAttachment;
  419. };
  420. internal porttype IFCSUM_ReceivePort
  421. {
  422. oneway Receive
  423. {
  424. TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN
  425. };
  426. };
  427. internal porttype Shared_Order_SendPort
  428. {
  429. oneway Send
  430. {
  431. TM.Shared.Schemas.Order
  432. };
  433. };
  434. internal porttype Shared_Order_SMTPPort
  435. {
  436. oneway Mail
  437. {
  438. Mail
  439. };
  440. };
  441. internal porttype Mail_Send_Type
  442. {
  443. oneway Send
  444. {
  445. Mail
  446. };
  447. };
  448. [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
  449. internal service TM_Bosman_Orchestrations_IFCSUM
  450. {
  451. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  452. port implements IFCSUM_ReceivePort IFCSUM_Receive;
  453. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  454. port uses Shared_Order_SendPort Shared_Order_Send;
  455. [Microsoft.XLANGs.BaseTypes.PhysicalBinding(typeof(Microsoft.BizTalk.DefaultPipelines.PassThruTransmit))]
  456. port uses dynamic Mail_Send_Type Mail_Send;
  457. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  458. port uses Shared_Order_SendPort Shared_Order_Consolidation_Todo_Send;
  459. message TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN Bosman_IFCSUM;
  460. message TM.Shared.Schemas.Order Shared_Order;
  461. message Mail Email;
  462. TM.Shared.Tracking.TrackingProps TrackingProps;
  463. TM.Shared.Tracking.TrackingParams TrackingParams;
  464. body ()
  465. {
  466. [Microsoft.XLANGs.BaseTypes.DesignerPosition("838a78ff-ddef-4640-82b1-a36dec9f644a")]
  467. activate receive (IFCSUM_Receive.Receive, Bosman_IFCSUM);
  468. TrackingProps = new TM.Shared.Tracking.TrackingProps();
  469. TrackingParams = new TM.Shared.Tracking.TrackingParams();
  470. [Microsoft.XLANGs.BaseTypes.DesignerPosition("1a5b1958-93d7-4aad-9813-5dfec1aaeb89")]
  471. TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);
  472. TrackingParams.Solution = "TM.Bosman";
  473. TrackingParams.Phase = "IFCSUM";
  474. TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
  475. TrackingParams.isMessageInDatabase = true;
  476. TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);
  477. [Microsoft.XLANGs.BaseTypes.DesignerPosition("4393856b-b891-4f39-89d4-24bb4cc35dbd")]
  478. construct Shared_Order
  479. {
  480. [Microsoft.XLANGs.BaseTypes.DesignerPosition("0181aaf4-dde9-42da-b034-f80ca2368399")]
  481. transform (Shared_Order) = TM.Bosman.Transforms.TM_Bosman_IFCSUM_to_TM_Shared_Order (Bosman_IFCSUM);
  482. [Microsoft.XLANGs.BaseTypes.DesignerPosition("6aa8d3fe-8985-4e03-87dd-1935ab9d1ecf")]
  483. Shared_Order(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  484. Shared_Order(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  485. }
  486. [Microsoft.XLANGs.BaseTypes.DesignerPosition("5b895899-b542-4bf0-bd6c-389a40823927")]
  487. if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUVENLO01")
  488. {
  489. [Microsoft.XLANGs.BaseTypes.DesignerPosition("a8fff63d-7bce-420a-9569-63704b69c9ae")]
  490. construct Email
  491. {
  492. [Microsoft.XLANGs.BaseTypes.DesignerPosition("376d2e08-1a27-4baf-87a5-e47598fc2ff9")]
  493. Email.MailBody = new TM.Shared.Components.RawString("<html><body>Bosman EDI</body></html>");
  494. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  495. Email.SharedOrderAttachment = Shared_Order;
  496. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  497. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  498. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Venlo");
  499. Email(SMTP.Subject) = System.Convert.ToString(xpath(Email.SharedOrderAttachment, "string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])"));
  500. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  501. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  502. Email(SMTP.MessagePartsAttachments) = 2;
  503. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  504. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  505. }
  506. [Microsoft.XLANGs.BaseTypes.DesignerPosition("e6bf96e6-a6e2-44b3-ac74-5897eff14d36")]
  507. send (Mail_Send.Send, Email);
  508. }
  509. else if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUEERSE01")
  510. {
  511. [Microsoft.XLANGs.BaseTypes.DesignerPosition("d16ba0d4-6f35-4f6e-a6ba-4297c1107060")]
  512. construct Email
  513. {
  514. [Microsoft.XLANGs.BaseTypes.DesignerPosition("08b68c31-0d7d-4492-897c-9b9ebd0f09f1")]
  515. Email.MailBody = new TM.Shared.Components.RawString("<HTML><BODY><h1>Bosman IFCSUM</h1><p>Zojuist is een Edifakt bestand ontvangen van Bosman. In de bijlage de vertaling van dit bericht naar het KLG Order formaat. Deze gegevens worden aangeboden aan het transport management systeem.</p></BODY></HTML>");
  516. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  517. Email.SharedOrderAttachment = Shared_Order;
  518. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  519. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  520. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Eersel");
  521. Email(SMTP.Subject) = System.Convert.ToString(xpath(Email.SharedOrderAttachment, "string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])"));
  522. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  523. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  524. Email(SMTP.MessagePartsAttachments) = 2;
  525. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  526. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  527. }
  528. [Microsoft.XLANGs.BaseTypes.DesignerPosition("39d20012-4ea7-4f08-98a3-04896d8fcde9")]
  529. send (Mail_Send.Send, Email);
  530. }
  531. else
  532. {
  533. [Microsoft.XLANGs.BaseTypes.DesignerPosition("bb51293d-9170-4f66-a9de-e166d4946fb6")]
  534. construct Email
  535. {
  536. [Microsoft.XLANGs.BaseTypes.DesignerPosition("f4740781-2a39-4c8e-95e6-ee48a16fe754")]
  537. Email.MailBody = new TM.Shared.Components.RawString("<HTML><BODY><h1>Bosman IFCSUM</h1><p>Zojuist is een Edifakt bestand ontvangen van Bosman. In de bijlage de vertaling van dit bericht naar het KLG Order formaat. Deze gegevens worden aangeboden aan het transport management systeem.</p></BODY></HTML>");
  538. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  539. Email.SharedOrderAttachment = Shared_Order;
  540. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  541. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  542. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = "mailto:ITsupport@venlo.klgeurope.com";
  543. Email(SMTP.Subject) = "RECEIVER UNKNOWN - " + System.Convert.ToString(xpath(Email.SharedOrderAttachment, "string(/*[local-name()='Order' and namespace-uri()='http://TM.KLG.com/KLG/Order']/*[local-name()='Reference' and namespace-uri()=''])"));
  544. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  545. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  546. Email(SMTP.MessagePartsAttachments) = 2;
  547. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  548. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  549. }
  550. [Microsoft.XLANGs.BaseTypes.DesignerPosition("89eae990-7b97-44bd-9b6d-d00aa46558d3")]
  551. send (Mail_Send.Send, Email);
  552. }
  553. [Microsoft.XLANGs.BaseTypes.DesignerPosition("ce2a7e14-354a-4896-b310-373bedbfdc53")]
  554. if (Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == "YES")
  555. {
  556. [Microsoft.XLANGs.BaseTypes.DesignerPosition("cc9721e1-fd2b-42bd-a98f-087516d94e10")]
  557. send (Shared_Order_Consolidation_Todo_Send.Send, Shared_Order);
  558. }
  559. else
  560. {
  561. [Microsoft.XLANGs.BaseTypes.DesignerPosition("14ca036c-52be-4acc-a29c-2d942d9e5aa6")]
  562. send (Shared_Order_Send.Send, Shared_Order);
  563. }
  564. }
  565. }
  566. }