Browse Source

Copy Tracking_Init & small change

master
Thomas Driessen 1 week ago
parent
commit
b49bd68689
1 changed files with 38 additions and 21 deletions
  1. +38
    -21
      Orchestrations/TM.Bosman.IFCSUM.odx

+ 38
- 21
Orchestrations/TM.Bosman.IFCSUM.odx View File

@@ -2,7 +2,7 @@
#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:Element Type="Module" OID="5a98477c-8382-4cc7-937f-01e7de2eca19" LowerBound="1.1" HigherBound="186.1">
<om:Property Name="ReportToAnalyst" Value="True" />
<om:Property Name="Name" Value="TM.Bosman.Orchestrations" />
<om:Property Name="Signal" Value="False" />
@@ -82,7 +82,7 @@
</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:Element Type="ServiceDeclaration" OID="44b24865-1c15-4bc1-a6ac-5884c5995d2d" ParentLink="Module_ServiceDeclaration" LowerBound="37.1" HigherBound="185.1">
<om:Property Name="InitializedTransactionType" Value="False" />
<om:Property Name="IsInvokable" Value="False" />
<om:Property Name="TypeModifier" Value="Internal" />
@@ -140,10 +140,10 @@
<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);&#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;" />
<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;" />
<om:Property Name="ReportToAnalyst" Value="True" />
<om:Property Name="Name" Value="Tracking_Init" />
<om:Property Name="Signal" Value="False" />
<om:Property Name="Signal" Value="True" />
</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" />
@@ -179,11 +179,11 @@
<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:Element Type="Decision" OID="5b895899-b542-4bf0-bd6c-389a40823927" ParentLink="ServiceBody_Statement" LowerBound="79.1" HigherBound="172.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:Element Type="DecisionBranch" OID="c318ca5f-42dd-4ba6-bfc3-3389de9c7ca2" ParentLink="ReallyComplexStatement_Branch" LowerBound="80.13" HigherBound="118.1">
<om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == &quot;KLGEUVENLO01&quot;" />
<om:Property Name="IsGhostBranch" Value="True" />
<om:Property Name="ReportToAnalyst" Value="True" />
@@ -205,7 +205,13 @@
<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:Element Type="VariableAssignment" OID="8826afa8-74d1-4da2-a0e2-21b2849d405e" ParentLink="ComplexStatement_Statement" LowerBound="104.1" HigherBound="115.1">
<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;" />
<om:Property Name="ReportToAnalyst" Value="True" />
<om:Property Name="Name" Value="Tracking_Init" />
<om:Property Name="Signal" Value="False" />
</om:Element>
<om:Element Type="Send" OID="e6bf96e6-a6e2-44b3-ac74-5897eff14d36" ParentLink="ComplexStatement_Statement" LowerBound="115.1" HigherBound="117.1">
<om:Property Name="PortName" Value="Mail_Send" />
<om:Property Name="MessageName" Value="Email" />
<om:Property Name="OperationName" Value="Send" />
@@ -215,29 +221,29 @@
<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:Element Type="DecisionBranch" OID="05a4fa5a-de37-41ba-adea-d37096e54be6" ParentLink="ReallyComplexStatement_Branch" LowerBound="118.18" HigherBound="145.1">
<om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Receiver) == &quot;KLGEUEERSE01&quot;&#xD;&#xA;" />
<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:Element Type="Construct" OID="d16ba0d4-6f35-4f6e-a6ba-4297c1107060" ParentLink="ComplexStatement_Statement" LowerBound="120.1" HigherBound="142.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:Element Type="MessageAssignment" OID="08b68c31-0d7d-4492-897c-9b9ebd0f09f1" ParentLink="ComplexStatement_Statement" LowerBound="123.1" HigherBound="141.1">
<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;" />
<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:Element Type="MessageRef" OID="c8b0c180-5aeb-42b0-810c-5c994832170b" ParentLink="Construct_MessageRef" LowerBound="121.27" HigherBound="121.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:Element Type="Send" OID="39d20012-4ea7-4f08-98a3-04896d8fcde9" ParentLink="ComplexStatement_Statement" LowerBound="142.1" HigherBound="144.1">
<om:Property Name="PortName" Value="Mail_Send" />
<om:Property Name="MessageName" Value="Email" />
<om:Property Name="OperationName" Value="Send" />
@@ -252,23 +258,23 @@
<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:Element Type="Construct" OID="bb51293d-9170-4f66-a9de-e166d4946fb6" ParentLink="ComplexStatement_Statement" LowerBound="147.1" HigherBound="169.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:Element Type="MessageAssignment" OID="f4740781-2a39-4c8e-95e6-ee48a16fe754" ParentLink="ComplexStatement_Statement" LowerBound="150.1" HigherBound="168.1">
<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;" />
<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:Element Type="MessageRef" OID="b171dfa0-4c9c-4fc1-b42a-fd9e1ee7e361" ParentLink="Construct_MessageRef" LowerBound="148.27" HigherBound="148.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:Element Type="Send" OID="89eae990-7b97-44bd-9b6d-d00aa46558d3" ParentLink="ComplexStatement_Statement" LowerBound="169.1" HigherBound="171.1">
<om:Property Name="PortName" Value="Mail_Send" />
<om:Property Name="MessageName" Value="Email" />
<om:Property Name="OperationName" Value="Send" />
@@ -279,17 +285,17 @@
</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:Element Type="Decision" OID="ce2a7e14-354a-4896-b310-373bedbfdc53" ParentLink="ServiceBody_Statement" LowerBound="172.1" HigherBound="183.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:Element Type="DecisionBranch" OID="c435b987-3d69-459e-90ab-2d276f5dc0f7" ParentLink="ReallyComplexStatement_Branch" LowerBound="173.13" HigherBound="178.1">
<om:Property Name="Expression" Value="Shared_Order(TM.Shared.Schemas.PropertySchema.Consolidation) == &quot;YES&quot;" />
<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:Element Type="Send" OID="cc9721e1-fd2b-42bd-a98f-087516d94e10" ParentLink="ComplexStatement_Statement" LowerBound="175.1" HigherBound="177.1">
<om:Property Name="PortName" Value="Shared_Order_Consolidation_Todo_Send" />
<om:Property Name="MessageName" Value="Shared_Order" />
<om:Property Name="OperationName" Value="Send" />
@@ -304,7 +310,7 @@
<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:Element Type="Send" OID="14ca036c-52be-4acc-a29c-2d942d9e5aa6" ParentLink="ComplexStatement_Statement" LowerBound="180.1" HigherBound="182.1">
<om:Property Name="PortName" Value="Shared_Order_Send" />
<om:Property Name="MessageName" Value="Shared_Order" />
<om:Property Name="OperationName" Value="Send" />
@@ -474,7 +480,7 @@ module TM.Bosman.Orchestrations
TrackingParams.Solution = "TM.Bosman";
TrackingParams.Phase = "IFCSUM";
TrackingParams.Trackinglevel = TM.Shared.Tracking.TrackingLevel.TRACE;
TrackingParams.isMessageInDatabase = true;
TrackingParams.isMessageInDatabase = false;
TM.Shared.Tracking.TrackingService.TrackProcessingMessage(Bosman_IFCSUM, TrackingParams);
@@ -512,6 +518,17 @@ module TM.Bosman.Orchestrations
Email(TM.Shared.Tracking.Schemas.TrackingID) = TrackingProps.TrackingID;
Email(TM.Shared.Tracking.Schemas.TrackingBranch) = TrackingProps.TrackingBranch;
}
[Microsoft.XLANGs.BaseTypes.DesignerPosition("8826afa8-74d1-4da2-a0e2-21b2849d405e")]
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("e6bf96e6-a6e2-44b3-ac74-5897eff14d36")]
send (Mail_Send.Send, Email);
}


Loading…
Cancel
Save