|
- #if __DESIGNER_DATA
- #error Do not define __DESIGNER_DATA.
- <?xml version="1.0" encoding="utf-8" standalone="yes"?>
- <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">
- <om:Element Type="Module" OID="5a98477c-8382-4cc7-937f-01e7de2eca19" LowerBound="1.1" HigherBound="175.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="TM.Bosman.Orchestrations" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="PortType" OID="66e03941-3209-4b87-95b9-e743f132a603" ParentLink="Module_PortType" LowerBound="9.1" HigherBound="16.1">
- <om:Property Name="Synchronous" Value="False" />
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="IFCSUM_ReceivePort" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="OperationDeclaration" OID="bffa4aad-100f-41b7-a0c5-c733422091e2" ParentLink="PortType_OperationDeclaration" LowerBound="11.1" HigherBound="15.1">
- <om:Property Name="OperationType" Value="OneWay" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Receive" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageRef" OID="7d0e8c7f-4e86-4d9b-a815-569064fcf9b9" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="13.13" HigherBound="13.55">
- <om:Property Name="Ref" Value="TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Request" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="PortType" OID="d57d8313-8f5e-4a6d-b672-40852301ab24" ParentLink="Module_PortType" LowerBound="16.1" HigherBound="23.1">
- <om:Property Name="Synchronous" Value="False" />
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Shared_Order_SendPort" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="OperationDeclaration" OID="03a09ce7-88a5-495a-af39-48314b81a6e8" ParentLink="PortType_OperationDeclaration" LowerBound="18.1" HigherBound="22.1">
- <om:Property Name="OperationType" Value="OneWay" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageRef" OID="ef36a019-b7af-4ca6-9709-57dd089d0903" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="20.13" HigherBound="20.36">
- <om:Property Name="Ref" Value="TM.Shared.Schemas.Order" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Request" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="PortType" OID="454b165c-cb54-4dab-899b-0d4ed66455af" ParentLink="Module_PortType" LowerBound="23.1" HigherBound="30.1">
- <om:Property Name="Synchronous" Value="False" />
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Shared_Order_SMTPPort" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="OperationDeclaration" OID="1e58018f-4cc6-4f17-a13a-6f0c28ed60d8" ParentLink="PortType_OperationDeclaration" LowerBound="25.1" HigherBound="29.1">
- <om:Property Name="OperationType" Value="OneWay" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Mail" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageRef" OID="d557a894-7acd-460d-aa3d-27bec691b26e" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="27.13" HigherBound="27.17">
- <om:Property Name="Ref" Value="TM.Bosman.Orchestrations.Mail" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Request" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="PortType" OID="0e5c0c05-923b-420d-afad-34b52e35629c" ParentLink="Module_PortType" LowerBound="30.1" HigherBound="37.1">
- <om:Property Name="Synchronous" Value="False" />
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Mail_Send_Type" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="OperationDeclaration" OID="1fa3583e-1f9e-43c3-b987-1a68bb0b5e27" ParentLink="PortType_OperationDeclaration" LowerBound="32.1" HigherBound="36.1">
- <om:Property Name="OperationType" Value="OneWay" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageRef" OID="06a52907-a746-41ce-8fbc-1df427df1459" ParentLink="OperationDeclaration_RequestMessageRef" LowerBound="34.13" HigherBound="34.17">
- <om:Property Name="Ref" Value="TM.Bosman.Orchestrations.Mail" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Request" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="ServiceDeclaration" OID="44b24865-1c15-4bc1-a6ac-5884c5995d2d" ParentLink="Module_ServiceDeclaration" LowerBound="37.1" HigherBound="174.1">
- <om:Property Name="InitializedTransactionType" Value="False" />
- <om:Property Name="IsInvokable" Value="False" />
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="AnalystComments" Value="IFCSUM Mapping + Email" />
- <om:Property Name="Name" Value="TM_Bosman_Orchestrations_IFCSUM" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="VariableDeclaration" OID="b4fc4587-c88d-4d14-b058-2948637282dd" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="51.1" HigherBound="52.1">
- <om:Property Name="UseDefaultConstructor" Value="True" />
- <om:Property Name="Type" Value="TM.Shared.Tracking.TrackingProps" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="TrackingProps" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="VariableDeclaration" OID="793f9560-621d-484f-8778-00c4de41b82c" ParentLink="ServiceDeclaration_VariableDeclaration" LowerBound="52.1" HigherBound="53.1">
- <om:Property Name="UseDefaultConstructor" Value="True" />
- <om:Property Name="Type" Value="TM.Shared.Tracking.TrackingParams" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="TrackingParams" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="MessageDeclaration" OID="578b6002-4bf5-4773-8584-d8cf9862d32e" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="48.1" HigherBound="49.1">
- <om:Property Name="Type" Value="TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Bosman_IFCSUM" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="MessageDeclaration" OID="30f6a476-6b3c-4a19-bfbd-24fe7bc372a8" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="49.1" HigherBound="50.1">
- <om:Property Name="Type" Value="TM.Shared.Schemas.Order" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Shared_Order" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="MessageDeclaration" OID="7cd7dea8-4994-49fb-ba13-c2d0e99d1743" ParentLink="ServiceDeclaration_MessageDeclaration" LowerBound="50.1" HigherBound="51.1">
- <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Mail" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Email" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="ServiceBody" OID="d84d6478-69e5-4a63-8bf1-eb6599c424af" ParentLink="ServiceDeclaration_ServiceBody">
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="Receive" OID="838a78ff-ddef-4640-82b1-a36dec9f644a" ParentLink="ServiceBody_Statement" LowerBound="55.1" HigherBound="59.1">
- <om:Property Name="Activate" Value="True" />
- <om:Property Name="PortName" Value="IFCSUM_Receive" />
- <om:Property Name="MessageName" Value="Bosman_IFCSUM" />
- <om:Property Name="OperationName" Value="Receive" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="EDI_Receive" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="VariableAssignment" OID="1a5b1958-93d7-4aad-9813-5dfec1aaeb89" ParentLink="ServiceBody_Statement" LowerBound="59.1" HigherBound="70.1">
- <om:Property Name="Expression" Value="TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);


TrackingParams.Solution = "TM.Bosman";
TrackingParams.Phase = "IFCSUM";
TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
TrackingParams.isMessageInDatabase = true;

TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);

" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Tracking_Init" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- <om:Element Type="Construct" OID="4393856b-b891-4f39-89d4-24bb4cc35dbd" ParentLink="ServiceBody_Statement" LowerBound="70.1" HigherBound="79.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="IFCSUM_to_Order" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="Transform" OID="0181aaf4-dde9-42da-b034-f80ca2368399" ParentLink="ComplexStatement_Statement" LowerBound="73.1" HigherBound="75.1">
- <om:Property Name="ClassName" Value="TM.Bosman.Transforms.TM_Bosman_IFCSUM_to_TM_Shared_Order" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Transform_1" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="MessagePartRef" OID="b6d45b82-745b-454f-aed8-472a2a91171b" ParentLink="Transform_InputMessagePartRef" LowerBound="74.102" HigherBound="74.115">
- <om:Property Name="MessageRef" Value="Bosman_IFCSUM" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="MessagePartReference_1" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- <om:Element Type="MessagePartRef" OID="a8cda863-0b3c-4258-8769-96dd0ea51949" ParentLink="Transform_OutputMessagePartRef" LowerBound="74.28" HigherBound="74.40">
- <om:Property Name="MessageRef" Value="Shared_Order" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="MessagePartReference_2" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="MessageAssignment" OID="6aa8d3fe-8985-4e03-87dd-1935ab9d1ecf" ParentLink="ComplexStatement_Statement" LowerBound="75.1" HigherBound="78.1">
- <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
Shared_Order(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
- <om:Property Name="ReportToAnalyst" Value="False" />
- <om:Property Name="Name" Value="Tracking_Order" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- <om:Element Type="MessageRef" OID="9a905cbb-832f-4334-81b0-f01347e017ae" ParentLink="Construct_MessageRef" LowerBound="71.23" HigherBound="71.35">
- <om:Property Name="Ref" Value="Shared_Order" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="Decision" OID="5b895899-b542-4bf0-bd6c-389a40823927" ParentLink="ServiceBody_Statement" LowerBound="79.1" HigherBound="161.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Receiver?" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="DecisionBranch" OID="c318ca5f-42dd-4ba6-bfc3-3389de9c7ca2" ParentLink="ReallyComplexStatement_Branch" LowerBound="80.13" HigherBound="107.1">
- <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUVENLO01"" />
- <om:Property Name="IsGhostBranch" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="KLGEUVENLO01" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="Construct" OID="a8fff63d-7bce-420a-9569-63704b69c9ae" ParentLink="ComplexStatement_Statement" LowerBound="82.1" HigherBound="104.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Construct mail for Venlo" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageAssignment" OID="376d2e08-1a27-4baf-87a5-e47598fc2ff9" ParentLink="ComplexStatement_Statement" LowerBound="85.1" HigherBound="103.1">
- <om:Property Name="Expression" Value="
Email.MailBody = new TM.Shared.Components.RawString("<html><body>Bosman EDI</body></html>");
Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";

Email.SharedOrderAttachment = Shared_Order;
Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";

Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Venlo");

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()=''])"));
Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
Email(SMTP.EmailBodyFileCharset) = "UTF-8";
Email(SMTP.MessagePartsAttachments) = 2;

Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
- <om:Property Name="ReportToAnalyst" Value="False" />
- <om:Property Name="Name" Value="MessageAssignment_2" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- <om:Element Type="MessageRef" OID="9a86480f-1755-458c-b8a0-caec216be3b5" ParentLink="Construct_MessageRef" LowerBound="83.27" HigherBound="83.32">
- <om:Property Name="Ref" Value="Email" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="Send" OID="e6bf96e6-a6e2-44b3-ac74-5897eff14d36" ParentLink="ComplexStatement_Statement" LowerBound="104.1" HigherBound="106.1">
- <om:Property Name="PortName" Value="Mail_Send" />
- <om:Property Name="MessageName" Value="Email" />
- <om:Property Name="OperationName" Value="Send" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send to Venlo" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- <om:Element Type="DecisionBranch" OID="05a4fa5a-de37-41ba-adea-d37096e54be6" ParentLink="ReallyComplexStatement_Branch" LowerBound="107.18" HigherBound="134.1">
- <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUEERSE01"
" />
- <om:Property Name="IsGhostBranch" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="KLGEUEERSE01" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="Construct" OID="d16ba0d4-6f35-4f6e-a6ba-4297c1107060" ParentLink="ComplexStatement_Statement" LowerBound="109.1" HigherBound="131.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Construct mail for Eersel" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageAssignment" OID="08b68c31-0d7d-4492-897c-9b9ebd0f09f1" ParentLink="ComplexStatement_Statement" LowerBound="112.1" HigherBound="130.1">
- <om:Property Name="Expression" Value="
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>");
Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";

Email.SharedOrderAttachment = Shared_Order;
Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";

Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Eersel");

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()=''])"));
Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
Email(SMTP.EmailBodyFileCharset) = "UTF-8";
Email(SMTP.MessagePartsAttachments) = 2;

Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
- <om:Property Name="ReportToAnalyst" Value="False" />
- <om:Property Name="Name" Value="MessageAssignment_3" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="MessageRef" OID="c8b0c180-5aeb-42b0-810c-5c994832170b" ParentLink="Construct_MessageRef" LowerBound="110.27" HigherBound="110.32">
- <om:Property Name="Ref" Value="Email" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="Send" OID="39d20012-4ea7-4f08-98a3-04896d8fcde9" ParentLink="ComplexStatement_Statement" LowerBound="131.1" HigherBound="133.1">
- <om:Property Name="PortName" Value="Mail_Send" />
- <om:Property Name="MessageName" Value="Email" />
- <om:Property Name="OperationName" Value="Send" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send to Eersel" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- <om:Element Type="DecisionBranch" OID="ab6d98ae-b406-40d3-baec-375aa6787d25" ParentLink="ReallyComplexStatement_Branch">
- <om:Property Name="IsGhostBranch" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Else" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="Construct" OID="bb51293d-9170-4f66-a9de-e166d4946fb6" ParentLink="ComplexStatement_Statement" LowerBound="136.1" HigherBound="158.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Onbekende receiver!" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="MessageAssignment" OID="f4740781-2a39-4c8e-95e6-ee48a16fe754" ParentLink="ComplexStatement_Statement" LowerBound="139.1" HigherBound="157.1">
- <om:Property Name="Expression" Value="
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>");
Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";

Email.SharedOrderAttachment = Shared_Order;
Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";

Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = "mailto:ITsupport@venlo.klgeurope.com";

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()=''])"));
Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
Email(SMTP.EmailBodyFileCharset) = "UTF-8";
Email(SMTP.MessagePartsAttachments) = 2;

Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;" />
- <om:Property Name="ReportToAnalyst" Value="False" />
- <om:Property Name="Name" Value="MessageAssignment_1" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="MessageRef" OID="b171dfa0-4c9c-4fc1-b42a-fd9e1ee7e361" ParentLink="Construct_MessageRef" LowerBound="137.27" HigherBound="137.32">
- <om:Property Name="Ref" Value="Email" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="Send" OID="89eae990-7b97-44bd-9b6d-d00aa46558d3" ParentLink="ComplexStatement_Statement" LowerBound="158.1" HigherBound="160.1">
- <om:Property Name="PortName" Value="Mail_Send" />
- <om:Property Name="MessageName" Value="Email" />
- <om:Property Name="OperationName" Value="Send" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send to IT" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="Decision" OID="ce2a7e14-354a-4896-b310-373bedbfdc53" ParentLink="ServiceBody_Statement" LowerBound="161.1" HigherBound="172.1">
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Consolidate?" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="DecisionBranch" OID="c435b987-3d69-459e-90ab-2d276f5dc0f7" ParentLink="ReallyComplexStatement_Branch" LowerBound="162.13" HigherBound="167.1">
- <om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == "YES"" />
- <om:Property Name="IsGhostBranch" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="YES" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="Send" OID="cc9721e1-fd2b-42bd-a98f-087516d94e10" ParentLink="ComplexStatement_Statement" LowerBound="164.1" HigherBound="166.1">
- <om:Property Name="PortName" Value="Shared_Order_Consolidation_Todo_Send" />
- <om:Property Name="MessageName" Value="Shared_Order" />
- <om:Property Name="OperationName" Value="Send" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send Shared.Order" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- <om:Element Type="DecisionBranch" OID="f876c7ad-213b-4dec-9cc7-d1920ed7ea1f" ParentLink="ReallyComplexStatement_Branch">
- <om:Property Name="IsGhostBranch" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Else" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="Send" OID="14ca036c-52be-4acc-a29c-2d942d9e5aa6" ParentLink="ComplexStatement_Statement" LowerBound="169.1" HigherBound="171.1">
- <om:Property Name="PortName" Value="Shared_Order_Send" />
- <om:Property Name="MessageName" Value="Shared_Order" />
- <om:Property Name="OperationName" Value="Send" />
- <om:Property Name="OperationMessageName" Value="Request" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Send Shared.Order" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="PortDeclaration" OID="987a1083-3b33-46dc-9697-2f419a5ff48a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="40.1" HigherBound="42.1">
- <om:Property Name="PortModifier" Value="Implements" />
- <om:Property Name="Orientation" Value="Left" />
- <om:Property Name="PortIndex" Value="-1" />
- <om:Property Name="IsWebPort" Value="False" />
- <om:Property Name="OrderedDelivery" Value="False" />
- <om:Property Name="DeliveryNotification" Value="None" />
- <om:Property Name="Type" Value="TM.Bosman.Orchestrations.IFCSUM_ReceivePort" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="IFCSUM_Receive" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="LogicalBindingAttribute" OID="6933615c-c90d-4cc0-8fc8-f57438eafa71" ParentLink="PortDeclaration_CLRAttribute" LowerBound="40.1" HigherBound="41.1">
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="PortDeclaration" OID="6ebe662f-5ef1-4cab-a555-cbfd2268a916" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="42.1" HigherBound="44.1">
- <om:Property Name="PortModifier" Value="Uses" />
- <om:Property Name="Orientation" Value="Right" />
- <om:Property Name="PortIndex" Value="41" />
- <om:Property Name="IsWebPort" Value="False" />
- <om:Property Name="OrderedDelivery" Value="False" />
- <om:Property Name="DeliveryNotification" Value="None" />
- <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Shared_Order_Send" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="LogicalBindingAttribute" OID="2f4c1661-ce54-45dc-9947-72b4023534e9" ParentLink="PortDeclaration_CLRAttribute" LowerBound="42.1" HigherBound="43.1">
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="PortDeclaration" OID="adda7bae-1841-43ba-a305-97c88d42e03a" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="44.1" HigherBound="46.1">
- <om:Property Name="PortModifier" Value="Uses" />
- <om:Property Name="Orientation" Value="Right" />
- <om:Property Name="PortIndex" Value="35" />
- <om:Property Name="IsWebPort" Value="False" />
- <om:Property Name="OrderedDelivery" Value="False" />
- <om:Property Name="DeliveryNotification" Value="None" />
- <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Mail_Send_Type" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Mail_Send" />
- <om:Property Name="Signal" Value="False" />
- <om:Element Type="PhysicalBindingAttribute" OID="d5aefbc4-73e2-4f00-a778-5c7e2ddb9d80" ParentLink="PortDeclaration_CLRAttribute" LowerBound="44.1" HigherBound="45.1">
- <om:Property Name="InPipeline" Value="Microsoft.BizTalk.DefaultPipelines.XMLReceive" />
- <om:Property Name="OutPipeline" Value="Microsoft.BizTalk.DefaultPipelines.PassThruTransmit" />
- <om:Property Name="TransportType" Value="HTTP" />
- <om:Property Name="URI" Value="http://tempURI" />
- <om:Property Name="IsDynamic" Value="True" />
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- <om:Element Type="PortDeclaration" OID="eab2b560-7840-4a9b-8ee5-5d440513a6ae" ParentLink="ServiceDeclaration_PortDeclaration" LowerBound="46.1" HigherBound="48.1">
- <om:Property Name="PortModifier" Value="Uses" />
- <om:Property Name="Orientation" Value="Right" />
- <om:Property Name="PortIndex" Value="-1" />
- <om:Property Name="IsWebPort" Value="False" />
- <om:Property Name="OrderedDelivery" Value="False" />
- <om:Property Name="DeliveryNotification" Value="None" />
- <om:Property Name="Type" Value="TM.Bosman.Orchestrations.Shared_Order_SendPort" />
- <om:Property Name="ParamDirection" Value="In" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Shared_Order_Consolidation_Todo_Send" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="LogicalBindingAttribute" OID="596103c6-036b-414d-a49d-d64c2c810b6b" ParentLink="PortDeclaration_CLRAttribute" LowerBound="46.1" HigherBound="47.1">
- <om:Property Name="Signal" Value="False" />
- </om:Element>
- </om:Element>
- </om:Element>
- <om:Element Type="MultipartMessageType" OID="dca1bd25-fa66-4742-8f68-025ea750ba79" ParentLink="Module_MessageType" LowerBound="4.1" HigherBound="9.1">
- <om:Property Name="TypeModifier" Value="Internal" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="Mail" />
- <om:Property Name="Signal" Value="True" />
- <om:Element Type="PartDeclaration" OID="64f5cf77-51a3-4fcb-a783-5cdb0809e230" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="6.1" HigherBound="7.1">
- <om:Property Name="ClassName" Value="TM.Shared.Components.RawString" />
- <om:Property Name="IsBodyPart" Value="True" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="MailBody" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- <om:Element Type="PartDeclaration" OID="ce1ebc77-90b7-47da-ba45-91f7b66aebf9" ParentLink="MultipartMessageType_PartDeclaration" LowerBound="7.1" HigherBound="8.1">
- <om:Property Name="ClassName" Value="TM.Shared.Schemas.Order" />
- <om:Property Name="IsBodyPart" Value="False" />
- <om:Property Name="ReportToAnalyst" Value="True" />
- <om:Property Name="Name" Value="SharedOrderAttachment" />
- <om:Property Name="Signal" Value="True" />
- </om:Element>
- </om:Element>
- </om:Element>
- </om:MetaModel>
- #endif // __DESIGNER_DATA
- [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
- module TM.Bosman.Orchestrations
- {
- internal messagetype Mail
- {
- body TM.Shared.Components.RawString MailBody;
- TM.Shared.Schemas.Order SharedOrderAttachment;
- };
- internal porttype IFCSUM_ReceivePort
- {
- oneway Receive
- {
- TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN
- };
- };
- internal porttype Shared_Order_SendPort
- {
- oneway Send
- {
- TM.Shared.Schemas.Order
- };
- };
- internal porttype Shared_Order_SMTPPort
- {
- oneway Mail
- {
- Mail
- };
- };
- internal porttype Mail_Send_Type
- {
- oneway Send
- {
- Mail
- };
- };
- [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
- internal service TM_Bosman_Orchestrations_IFCSUM
- {
- [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
- port implements IFCSUM_ReceivePort IFCSUM_Receive;
- [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
- port uses Shared_Order_SendPort Shared_Order_Send;
- [Microsoft.XLANGs.BaseTypes.PhysicalBinding(typeof(Microsoft.BizTalk.DefaultPipelines.PassThruTransmit))]
- port uses dynamic Mail_Send_Type Mail_Send;
- [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
- port uses Shared_Order_SendPort Shared_Order_Consolidation_Todo_Send;
- message TM.Bosman.Schemas.EFACT_D96A_IFCSUM_BOSMAN Bosman_IFCSUM;
- message TM.Shared.Schemas.Order Shared_Order;
- message Mail Email;
- TM.Shared.Tracking.TrackingProps TrackingProps;
- TM.Shared.Tracking.TrackingParams TrackingParams;
- body ()
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("838a78ff-ddef-4640-82b1-a36dec9f644a")]
- activate receive (IFCSUM_Receive.Receive, Bosman_IFCSUM);
- TrackingProps = new TM.Shared.Tracking.TrackingProps();
- TrackingParams = new TM.Shared.Tracking.TrackingParams();
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("1a5b1958-93d7-4aad-9813-5dfec1aaeb89")]
- TrackingProps = TM.Shared.Tracking.TrackingService.GetTrackingProps(Bosman_IFCSUM);
-
-
- TrackingParams.Solution = "TM.Bosman";
- TrackingParams.Phase = "IFCSUM";
- TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
- TrackingParams.isMessageInDatabase = true;
-
- TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);
-
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("4393856b-b891-4f39-89d4-24bb4cc35dbd")]
- construct Shared_Order
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("0181aaf4-dde9-42da-b034-f80ca2368399")]
- transform (Shared_Order) = TM.Bosman.Transforms.TM_Bosman_IFCSUM_to_TM_Shared_Order (Bosman_IFCSUM);
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("6aa8d3fe-8985-4e03-87dd-1935ab9d1ecf")]
- Shared_Order(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
- Shared_Order(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
- }
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("5b895899-b542-4bf0-bd6c-389a40823927")]
- if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUVENLO01")
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("a8fff63d-7bce-420a-9569-63704b69c9ae")]
- construct Email
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("376d2e08-1a27-4baf-87a5-e47598fc2ff9")]
-
- Email.MailBody = new TM.Shared.Components.RawString("<html><body>Bosman EDI</body></html>");
- Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
-
- Email.SharedOrderAttachment = Shared_Order;
- Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
- Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
-
- Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Venlo");
-
- 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()=''])"));
- Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
- Email(SMTP.EmailBodyFileCharset) = "UTF-8";
- Email(SMTP.MessagePartsAttachments) = 2;
-
- Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
- Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
- }
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("e6bf96e6-a6e2-44b3-ac74-5897eff14d36")]
- send (Mail_Send.Send, Email);
- }
- else if (Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == "KLGEUEERSE01")
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("d16ba0d4-6f35-4f6e-a6ba-4297c1107060")]
- construct Email
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("08b68c31-0d7d-4492-897c-9b9ebd0f09f1")]
-
- 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>");
- Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
-
- Email.SharedOrderAttachment = Shared_Order;
- Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
- Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
-
- Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: mailto: Eersel");
-
- 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()=''])"));
- Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
- Email(SMTP.EmailBodyFileCharset) = "UTF-8";
- Email(SMTP.MessagePartsAttachments) = 2;
-
- Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
- Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
- }
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("39d20012-4ea7-4f08-98a3-04896d8fcde9")]
- send (Mail_Send.Send, Email);
- }
- else
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("bb51293d-9170-4f66-a9de-e166d4946fb6")]
- construct Email
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("f4740781-2a39-4c8e-95e6-ee48a16fe754")]
-
- 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>");
- Email.MailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";
-
- Email.SharedOrderAttachment = Shared_Order;
- Email.SharedOrderAttachment(Microsoft.XLANGs.BaseTypes.ContentType) = "text/xml";
- Email.SharedOrderAttachment(MIME.FileName) = "Shared.Order.xml";
-
- Mail_Send(Microsoft.XLANGs.BaseTypes.Address) = "mailto:ITsupport@venlo.klgeurope.com";
-
- 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()=''])"));
- Email(SMTP.CC) = TM.Shared.Components.SSOFunctions.GetValue("TM.Bosman", "TM.Bosman: CC: IT Department");
- Email(SMTP.EmailBodyFileCharset) = "UTF-8";
- Email(SMTP.MessagePartsAttachments) = 2;
-
- Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
- Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
- }
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("89eae990-7b97-44bd-9b6d-d00aa46558d3")]
- send (Mail_Send.Send, Email);
- }
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("ce2a7e14-354a-4896-b310-373bedbfdc53")]
- if (Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == "YES")
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("cc9721e1-fd2b-42bd-a98f-087516d94e10")]
- send (Shared_Order_Consolidation_Todo_Send.Send, Shared_Order);
- }
- else
- {
- [Microsoft.XLANGs.BaseTypes.DesignerPosition("14ca036c-52be-4acc-a29c-2d942d9e5aa6")]
- send (Shared_Order_Send.Send, Shared_Order);
- }
- }
- }
- }
|