您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

604 行
49KB

  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="186.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="185.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 = false;&#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="True" />
  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="172.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="118.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="VariableAssignment" OID="8826afa8-74d1-4da2-a0e2-21b2849d405e" ParentLink="ComplexStatement_Statement" LowerBound="104.1" HigherBound="115.1">
  209. <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;" />
  210. <om:Property Name="ReportToAnalyst" Value="True" />
  211. <om:Property Name="Name" Value="Tracking_Init" />
  212. <om:Property Name="Signal" Value="False" />
  213. </om:Element>
  214. <om:Element Type="Send" OID="e6bf96e6-a6e2-44b3-ac74-5897eff14d36" ParentLink="ComplexStatement_Statement" LowerBound="115.1" HigherBound="117.1">
  215. <om:Property Name="PortName" Value="Mail_Send" />
  216. <om:Property Name="MessageName" Value="Email" />
  217. <om:Property Name="OperationName" Value="Send" />
  218. <om:Property Name="OperationMessageName" Value="Request" />
  219. <om:Property Name="ReportToAnalyst" Value="True" />
  220. <om:Property Name="Name" Value="Send to Venlo" />
  221. <om:Property Name="Signal" Value="True" />
  222. </om:Element>
  223. </om:Element>
  224. <om:Element Type="DecisionBranch" OID="05a4fa5a-de37-41ba-adea-d37096e54be6" ParentLink="ReallyComplexStatement_Branch" LowerBound="118.18" HigherBound="145.1">
  225. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == &quot;KLGEUEERSE01&quot;&#xD;&#xA;" />
  226. <om:Property Name="IsGhostBranch" Value="True" />
  227. <om:Property Name="ReportToAnalyst" Value="True" />
  228. <om:Property Name="Name" Value="KLGEUEERSE01" />
  229. <om:Property Name="Signal" Value="True" />
  230. <om:Element Type="Construct" OID="d16ba0d4-6f35-4f6e-a6ba-4297c1107060" ParentLink="ComplexStatement_Statement" LowerBound="120.1" HigherBound="142.1">
  231. <om:Property Name="ReportToAnalyst" Value="True" />
  232. <om:Property Name="Name" Value="Construct mail for Eersel" />
  233. <om:Property Name="Signal" Value="True" />
  234. <om:Element Type="MessageAssignment" OID="08b68c31-0d7d-4492-897c-9b9ebd0f09f1" ParentLink="ComplexStatement_Statement" LowerBound="123.1" HigherBound="141.1">
  235. <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;" />
  236. <om:Property Name="ReportToAnalyst" Value="False" />
  237. <om:Property Name="Name" Value="MessageAssignment_3" />
  238. <om:Property Name="Signal" Value="True" />
  239. </om:Element>
  240. <om:Element Type="MessageRef" OID="c8b0c180-5aeb-42b0-810c-5c994832170b" ParentLink="Construct_MessageRef" LowerBound="121.27" HigherBound="121.32">
  241. <om:Property Name="Ref" Value="Email" />
  242. <om:Property Name="ReportToAnalyst" Value="True" />
  243. <om:Property Name="Signal" Value="False" />
  244. </om:Element>
  245. </om:Element>
  246. <om:Element Type="Send" OID="39d20012-4ea7-4f08-98a3-04896d8fcde9" ParentLink="ComplexStatement_Statement" LowerBound="142.1" HigherBound="144.1">
  247. <om:Property Name="PortName" Value="Mail_Send" />
  248. <om:Property Name="MessageName" Value="Email" />
  249. <om:Property Name="OperationName" Value="Send" />
  250. <om:Property Name="OperationMessageName" Value="Request" />
  251. <om:Property Name="ReportToAnalyst" Value="True" />
  252. <om:Property Name="Name" Value="Send to Eersel" />
  253. <om:Property Name="Signal" Value="True" />
  254. </om:Element>
  255. </om:Element>
  256. <om:Element Type="DecisionBranch" OID="ab6d98ae-b406-40d3-baec-375aa6787d25" ParentLink="ReallyComplexStatement_Branch">
  257. <om:Property Name="IsGhostBranch" Value="True" />
  258. <om:Property Name="ReportToAnalyst" Value="True" />
  259. <om:Property Name="Name" Value="Else" />
  260. <om:Property Name="Signal" Value="False" />
  261. <om:Element Type="Construct" OID="bb51293d-9170-4f66-a9de-e166d4946fb6" ParentLink="ComplexStatement_Statement" LowerBound="147.1" HigherBound="169.1">
  262. <om:Property Name="ReportToAnalyst" Value="True" />
  263. <om:Property Name="Name" Value="Onbekende receiver!" />
  264. <om:Property Name="Signal" Value="True" />
  265. <om:Element Type="MessageAssignment" OID="f4740781-2a39-4c8e-95e6-ee48a16fe754" ParentLink="ComplexStatement_Statement" LowerBound="150.1" HigherBound="168.1">
  266. <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;" />
  267. <om:Property Name="ReportToAnalyst" Value="False" />
  268. <om:Property Name="Name" Value="MessageAssignment_1" />
  269. <om:Property Name="Signal" Value="True" />
  270. </om:Element>
  271. <om:Element Type="MessageRef" OID="b171dfa0-4c9c-4fc1-b42a-fd9e1ee7e361" ParentLink="Construct_MessageRef" LowerBound="148.27" HigherBound="148.32">
  272. <om:Property Name="Ref" Value="Email" />
  273. <om:Property Name="ReportToAnalyst" Value="True" />
  274. <om:Property Name="Signal" Value="False" />
  275. </om:Element>
  276. </om:Element>
  277. <om:Element Type="Send" OID="89eae990-7b97-44bd-9b6d-d00aa46558d3" ParentLink="ComplexStatement_Statement" LowerBound="169.1" HigherBound="171.1">
  278. <om:Property Name="PortName" Value="Mail_Send" />
  279. <om:Property Name="MessageName" Value="Email" />
  280. <om:Property Name="OperationName" Value="Send" />
  281. <om:Property Name="OperationMessageName" Value="Request" />
  282. <om:Property Name="ReportToAnalyst" Value="True" />
  283. <om:Property Name="Name" Value="Send to IT" />
  284. <om:Property Name="Signal" Value="True" />
  285. </om:Element>
  286. </om:Element>
  287. </om:Element>
  288. <om:Element Type="Decision" OID="ce2a7e14-354a-4896-b310-373bedbfdc53" ParentLink="ServiceBody_Statement" LowerBound="172.1" HigherBound="183.1">
  289. <om:Property Name="ReportToAnalyst" Value="True" />
  290. <om:Property Name="Name" Value="Consolidate?" />
  291. <om:Property Name="Signal" Value="True" />
  292. <om:Element Type="DecisionBranch" OID="c435b987-3d69-459e-90ab-2d276f5dc0f7" ParentLink="ReallyComplexStatement_Branch" LowerBound="173.13" HigherBound="178.1">
  293. <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == &quot;YES&quot;" />
  294. <om:Property Name="IsGhostBranch" Value="True" />
  295. <om:Property Name="ReportToAnalyst" Value="True" />
  296. <om:Property Name="Name" Value="YES" />
  297. <om:Property Name="Signal" Value="True" />
  298. <om:Element Type="Send" OID="cc9721e1-fd2b-42bd-a98f-087516d94e10" ParentLink="ComplexStatement_Statement" LowerBound="175.1" HigherBound="177.1">
  299. <om:Property Name="PortName" Value="Shared_Order_Consolidation_Todo_Send" />
  300. <om:Property Name="MessageName" Value="Shared_Order" />
  301. <om:Property Name="OperationName" Value="Send" />
  302. <om:Property Name="OperationMessageName" Value="Request" />
  303. <om:Property Name="ReportToAnalyst" Value="True" />
  304. <om:Property Name="Name" Value="Send Shared.Order" />
  305. <om:Property Name="Signal" Value="True" />
  306. </om:Element>
  307. </om:Element>
  308. <om:Element Type="DecisionBranch" OID="f876c7ad-213b-4dec-9cc7-d1920ed7ea1f" ParentLink="ReallyComplexStatement_Branch">
  309. <om:Property Name="IsGhostBranch" Value="True" />
  310. <om:Property Name="ReportToAnalyst" Value="True" />
  311. <om:Property Name="Name" Value="Else" />
  312. <om:Property Name="Signal" Value="False" />
  313. <om:Element Type="Send" OID="14ca036c-52be-4acc-a29c-2d942d9e5aa6" ParentLink="ComplexStatement_Statement" LowerBound="180.1" HigherBound="182.1">
  314. <om:Property Name="PortName" Value="Shared_Order_Send" />
  315. <om:Property Name="MessageName" Value="Shared_Order" />
  316. <om:Property Name="OperationName" Value="Send" />
  317. <om:Property Name="OperationMessageName" Value="Request" />
  318. <om:Property Name="ReportToAnalyst" Value="True" />
  319. <om:Property Name="Name" Value="Send Shared.Order" />
  320. <om:Property Name="Signal" Value="True" />
  321. </om:Element>
  322. </om:Element>
  323. </om:Element>
  324. </om:Element>
  325. <om:Element Type="PortDeclaration" OID="987a1083-3b33-46dc-9697-2f419a5ff48a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="40.1" HigherBound="42.1">
  326. <om:Property Name="PortModifier" Value="Implements" />
  327. <om:Property Name="Orientation" Value="Left" />
  328. <om:Property Name="PortIndex" Value="-1" />
  329. <om:Property Name="IsWebPort" Value="False" />
  330. <om:Property Name="OrderedDelivery" Value="False" />
  331. <om:Property Name="DeliveryNotification" Value="None" />
  332. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.IFCSUM_ReceivePort" />
  333. <om:Property Name="ParamDirection" Value="In" />
  334. <om:Property Name="ReportToAnalyst" Value="True" />
  335. <om:Property Name="Name" Value="IFCSUM_Receive" />
  336. <om:Property Name="Signal" Value="False" />
  337. <om:Element Type="LogicalBindingAttribute" OID="6933615c-c90d-4cc0-8fc8-f57438eafa71" ParentLink="PortDeclaration_CLRAttribute" LowerBound="40.1" HigherBound="41.1">
  338. <om:Property Name="Signal" Value="False" />
  339. </om:Element>
  340. </om:Element>
  341. <om:Element Type="PortDeclaration" OID="6ebe662f-5ef1-4cab-a555-cbfd2268a916" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="42.1" HigherBound="44.1">
  342. <om:Property Name="PortModifier" Value="Uses" />
  343. <om:Property Name="Orientation" Value="Right" />
  344. <om:Property Name="PortIndex" Value="41" />
  345. <om:Property Name="IsWebPort" Value="False" />
  346. <om:Property Name="OrderedDelivery" Value="False" />
  347. <om:Property Name="DeliveryNotification" Value="None" />
  348. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
  349. <om:Property Name="ParamDirection" Value="In" />
  350. <om:Property Name="ReportToAnalyst" Value="True" />
  351. <om:Property Name="Name" Value="Shared_Order_Send" />
  352. <om:Property Name="Signal" Value="False" />
  353. <om:Element Type="LogicalBindingAttribute" OID="2f4c1661-ce54-45dc-9947-72b4023534e9" ParentLink="PortDeclaration_CLRAttribute" LowerBound="42.1" HigherBound="43.1">
  354. <om:Property Name="Signal" Value="False" />
  355. </om:Element>
  356. </om:Element>
  357. <om:Element Type="PortDeclaration" OID="adda7bae-1841-43ba-a305-97c88d42e03a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="44.1" HigherBound="46.1">
  358. <om:Property Name="PortModifier" Value="Uses" />
  359. <om:Property Name="Orientation" Value="Right" />
  360. <om:Property Name="PortIndex" Value="35" />
  361. <om:Property Name="IsWebPort" Value="False" />
  362. <om:Property Name="OrderedDelivery" Value="False" />
  363. <om:Property Name="DeliveryNotification" Value="None" />
  364. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Mail_Send_Type" />
  365. <om:Property Name="ParamDirection" Value="In" />
  366. <om:Property Name="ReportToAnalyst" Value="True" />
  367. <om:Property Name="Name" Value="Mail_Send" />
  368. <om:Property Name="Signal" Value="False" />
  369. <om:Element Type="PhysicalBindingAttribute" OID="d5aefbc4-73e2-4f00-a778-5c7e2ddb9d80" ParentLink="PortDeclaration_CLRAttribute" LowerBound="44.1" HigherBound="45.1">
  370. <om:Property Name="InPipeline" Value="Microsoft.BizTalk.DefaultPipelines.XMLReceive" />
  371. <om:Property Name="OutPipeline" Value="Microsoft.BizTalk.DefaultPipelines.PassThruTransmit" />
  372. <om:Property Name="TransportType" Value="HTTP" />
  373. <om:Property Name="URI" Value="http://tempURI" />
  374. <om:Property Name="IsDynamic" Value="True" />
  375. <om:Property Name="Signal" Value="False" />
  376. </om:Element>
  377. </om:Element>
  378. <om:Element Type="PortDeclaration" OID="eab2b560-7840-4a9b-8ee5-5d440513a6ae" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="46.1" HigherBound="48.1">
  379. <om:Property Name="PortModifier" Value="Uses" />
  380. <om:Property Name="Orientation" Value="Right" />
  381. <om:Property Name="PortIndex" Value="-1" />
  382. <om:Property Name="IsWebPort" Value="False" />
  383. <om:Property Name="OrderedDelivery" Value="False" />
  384. <om:Property Name="DeliveryNotification" Value="None" />
  385. <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
  386. <om:Property Name="ParamDirection" Value="In" />
  387. <om:Property Name="ReportToAnalyst" Value="True" />
  388. <om:Property Name="Name" Value="Shared_Order_Consolidation_Todo_Send" />
  389. <om:Property Name="Signal" Value="True" />
  390. <om:Element Type="LogicalBindingAttribute" OID="596103c6-036b-414d-a49d-d64c2c810b6b" ParentLink="PortDeclaration_CLRAttribute" LowerBound="46.1" HigherBound="47.1">
  391. <om:Property Name="Signal" Value="False" />
  392. </om:Element>
  393. </om:Element>
  394. </om:Element>
  395. <om:Element Type="MultipartMessageType" OID="dca1bd25-fa66-4742-8f68-025ea750ba79" ParentLink="Module_MessageType" LowerBound="4.1" HigherBound="9.1">
  396. <om:Property Name="TypeModifier" Value="Internal" />
  397. <om:Property Name="ReportToAnalyst" Value="True" />
  398. <om:Property Name="Name" Value="Mail" />
  399. <om:Property Name="Signal" Value="True" />
  400. <om:Element Type="PartDeclaration" OID="64f5cf77-51a3-4fcb-a783-5cdb0809e230" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="6.1" HigherBound="7.1">
  401. <om:Property Name="ClassName" Value="TM.Shared.Components.RawString" />
  402. <om:Property Name="IsBodyPart" Value="True" />
  403. <om:Property Name="ReportToAnalyst" Value="True" />
  404. <om:Property Name="Name" Value="MailBody" />
  405. <om:Property Name="Signal" Value="True" />
  406. </om:Element>
  407. <om:Element Type="PartDeclaration" OID="ce1ebc77-90b7-47da-ba45-91f7b66aebf9" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="7.1" HigherBound="8.1">
  408. <om:Property Name="ClassName" Value="TM.Shared.Schemas.Order" />
  409. <om:Property Name="IsBodyPart" Value="False" />
  410. <om:Property Name="ReportToAnalyst" Value="True" />
  411. <om:Property Name="Name" Value="SharedOrderAttachment" />
  412. <om:Property Name="Signal" Value="True" />
  413. </om:Element>
  414. </om:Element>
  415. </om:Element>
  416. </om:MetaModel>
  417. #endif // __DESIGNER_DATA
  418. [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
  419. module TM.Bosman.Orchestrations
  420. {
  421. internal messagetype Mail
  422. {
  423. body TM.Shared.Components.RawString MailBody;
  424. TM.Shared.Schemas.Order SharedOrderAttachment;
  425. };
  426. internal porttype IFCSUM_ReceivePort
  427. {
  428. oneway Receive
  429. {
  430. TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN
  431. };
  432. };
  433. internal porttype Shared_Order_SendPort
  434. {
  435. oneway Send
  436. {
  437. TM.Shared.Schemas.Order
  438. };
  439. };
  440. internal porttype Shared_Order_SMTPPort
  441. {
  442. oneway Mail
  443. {
  444. Mail
  445. };
  446. };
  447. internal porttype Mail_Send_Type
  448. {
  449. oneway Send
  450. {
  451. Mail
  452. };
  453. };
  454. [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
  455. internal service TM_Bosman_Orchestrations_IFCSUM
  456. {
  457. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  458. port implements IFCSUM_ReceivePort IFCSUM_Receive;
  459. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  460. port uses Shared_Order_SendPort Shared_Order_Send;
  461. [Microsoft.XLANGs.BaseTypes.PhysicalBinding(typeof(Microsoft.BizTalk.DefaultPipelines.PassThruTransmit))]
  462. port uses dynamic Mail_Send_Type Mail_Send;
  463. [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
  464. port uses Shared_Order_SendPort Shared_Order_Consolidation_Todo_Send;
  465. message TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN Bosman_IFCSUM;
  466. message TM.Shared.Schemas.Order Shared_Order;
  467. message Mail Email;
  468. TM.Shared.Tracking.TrackingProps TrackingProps;
  469. TM.Shared.Tracking.TrackingParams TrackingParams;
  470. body ()
  471. {
  472. [Microsoft.XLANGs.BaseTypes.DesignerPosition("838a78ff-ddef-4640-82b1-a36dec9f644a")]
  473. activate receive (IFCSUM_Receive.Receive, Bosman_IFCSUM);
  474. TrackingProps = new TM.Shared.Tracking.TrackingProps();
  475. TrackingParams = new TM.Shared.Tracking.TrackingParams();
  476. [Microsoft.XLANGs.BaseTypes.DesignerPosition("1a5b1958-93d7-4aad-9813-5dfec1aaeb89")]
  477. TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);
  478. TrackingParams.Solution = "TM.Bosman";
  479. TrackingParams.Phase = "IFCSUM";
  480. TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
  481. TrackingParams.isMessageInDatabase = false;
  482. TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);
  483. [Microsoft.XLANGs.BaseTypes.DesignerPosition("4393856b-b891-4f39-89d4-24bb4cc35dbd")]
  484. construct Shared_Order
  485. {
  486. [Microsoft.XLANGs.BaseTypes.DesignerPosition("0181aaf4-dde9-42da-b034-f80ca2368399")]
  487. transform (Shared_Order) = TM.Bosman.Transforms.TM_Bosman_IFCSUM_to_TM_Shared_Order (Bosman_IFCSUM);
  488. [Microsoft.XLANGs.BaseTypes.DesignerPosition("6aa8d3fe-8985-4e03-87dd-1935ab9d1ecf")]
  489. Shared_Order(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  490. Shared_Order(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  491. }
  492. [Microsoft.XLANGs.BaseTypes.DesignerPosition("5b895899-b542-4bf0-bd6c-389a40823927")]
  493. if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUVENLO01")
  494. {
  495. [Microsoft.XLANGs.BaseTypes.DesignerPosition("a8fff63d-7bce-420a-9569-63704b69c9ae")]
  496. construct Email
  497. {
  498. [Microsoft.XLANGs.BaseTypes.DesignerPosition("376d2e08-1a27-4baf-87a5-e47598fc2ff9")]
  499. Email.MailBody = new TM.Shared.Components.RawString("<html><body>Bosman EDI</body></html>");
  500. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  501. Email.SharedOrderAttachment = Shared_Order;
  502. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  503. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  504. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Venlo");
  505. 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()=''])"));
  506. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  507. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  508. Email(SMTP.MessagePartsAttachments) = 2;
  509. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  510. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  511. }
  512. [Microsoft.XLANGs.BaseTypes.DesignerPosition("8826afa8-74d1-4da2-a0e2-21b2849d405e")]
  513. TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);
  514. TrackingParams.Solution = "TM.Bosman";
  515. TrackingParams.Phase = "IFCSUM";
  516. TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
  517. TrackingParams.isMessageInDatabase = true;
  518. TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);
  519. [Microsoft.XLANGs.BaseTypes.DesignerPosition("e6bf96e6-a6e2-44b3-ac74-5897eff14d36")]
  520. send (Mail_Send.Send, Email);
  521. }
  522. else if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUEERSE01")
  523. {
  524. [Microsoft.XLANGs.BaseTypes.DesignerPosition("d16ba0d4-6f35-4f6e-a6ba-4297c1107060")]
  525. construct Email
  526. {
  527. [Microsoft.XLANGs.BaseTypes.DesignerPosition("08b68c31-0d7d-4492-897c-9b9ebd0f09f1")]
  528. 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>");
  529. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  530. Email.SharedOrderAttachment = Shared_Order;
  531. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  532. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  533. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Eersel");
  534. 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()=''])"));
  535. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  536. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  537. Email(SMTP.MessagePartsAttachments) = 2;
  538. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  539. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  540. }
  541. [Microsoft.XLANGs.BaseTypes.DesignerPosition("39d20012-4ea7-4f08-98a3-04896d8fcde9")]
  542. send (Mail_Send.Send, Email);
  543. }
  544. else
  545. {
  546. [Microsoft.XLANGs.BaseTypes.DesignerPosition("bb51293d-9170-4f66-a9de-e166d4946fb6")]
  547. construct Email
  548. {
  549. [Microsoft.XLANGs.BaseTypes.DesignerPosition("f4740781-2a39-4c8e-95e6-ee48a16fe754")]
  550. 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>");
  551. Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
  552. Email.SharedOrderAttachment = Shared_Order;
  553. Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
  554. Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
  555. Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = "mailto:ITsupport@venlo.klgeurope.com";
  556. 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()=''])"));
  557. Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
  558. Email(SMTP.EmailBodyFileCharset) = "UTF-8";
  559. Email(SMTP.MessagePartsAttachments) = 2;
  560. Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
  561. Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
  562. }
  563. [Microsoft.XLANGs.BaseTypes.DesignerPosition("89eae990-7b97-44bd-9b6d-d00aa46558d3")]
  564. send (Mail_Send.Send, Email);
  565. }
  566. [Microsoft.XLANGs.BaseTypes.DesignerPosition("ce2a7e14-354a-4896-b310-373bedbfdc53")]
  567. if (Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == "YES")
  568. {
  569. [Microsoft.XLANGs.BaseTypes.DesignerPosition("cc9721e1-fd2b-42bd-a98f-087516d94e10")]
  570. send (Shared_Order_Consolidation_Todo_Send.Send, Shared_Order);
  571. }
  572. else
  573. {
  574. [Microsoft.XLANGs.BaseTypes.DesignerPosition("14ca036c-52be-4acc-a29c-2d942d9e5aa6")]
  575. send (Shared_Order_Send.Send, Shared_Order);
  576. }
  577. }
  578. }
  579. }