Skip to content

Commit

Permalink
Corrected according to usecase description.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterLBorresen committed Nov 21, 2023
1 parent e9d6a44 commit 0228b58
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
<cac:FreightAllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>1</cbc:AllowanceChargeReasonCode>
<cbc:Amount>100</cbc:Amount>
<cbc:Amount currencyID="EUR">100</cbc:Amount>
</cac:FreightAllowanceCharge>
<cac:MainCarriageShipmentStage>
<cbc:TransportModeCode>4</cbc:TransportModeCode>
Expand Down
6 changes: 3 additions & 3 deletions rules/examples/TransportExecutionPlan_Example_Full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@
<cac:DeliveryTerms>
<cbc:ID>DAP</cbc:ID>
<cbc:SpecialTerms>DAP</cbc:SpecialTerms>
<cac:Location>
<cac:DeliveryLocation>
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
<cbc:Name>CPH</cbc:Name>
</cac:Location>
</cac:DeliveryLocation>
</cac:DeliveryTerms>
<cac:PaymentTerms>
<cbc:ID>DAP</cbc:ID>
Expand All @@ -476,7 +476,7 @@
<cac:FreightAllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>1</cbc:AllowanceChargeReasonCode>
<cbc:Amount>100</cbc:Amount>
<cbc:Amount currencyID="EUR">100</cbc:Amount>
</cac:FreightAllowanceCharge>
<cac:MainCarriageShipmentStage>
<cbc:TransportModeCode>4</cbc:TransportModeCode>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
<cac:TransportHandlingUnit>
<cbc:ID>111113333333</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
<cac:TransportHandlingUnit>
<cbc:ID>111113333333</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
<cac:TransportHandlingUnit>
<cbc:ID>111113333333</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
<cac:TransportHandlingUnit>
<cbc:ID>111113333333</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
<cac:TransportHandlingUnit>
<cbc:ID>111113333333</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">1</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">1</cbc:ConditionCode>
<cbc:Description>Ok</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">5</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">5</cbc:ConditionCode>
<cbc:Description>Package broken</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down
6 changes: 3 additions & 3 deletions rules/examples/TransportationStatus_Example_Full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<cbc:TransportEventTypeCode>1</cbc:TransportEventTypeCode>
<cbc:CompletionIndicator>true</cbc:CompletionIndicator>
<cac:CurrentStatus>
<cbc:ConditionCode schemeID="zzz">4</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">4</cbc:ConditionCode>
<cbc:Description>Description</cbc:Description>
<cbc:StatusReasonCode listID="zzz">80</cbc:StatusReasonCode>
<cbc:StatusReason>Prolonged coffebreak</cbc:StatusReason>
Expand Down Expand Up @@ -74,7 +74,7 @@
<cac:TransportHandlingUnit>
<cbc:ID>CON_THU_1</cbc:ID>
<cac:Status>
<cbc:ConditionCode schemeID="zzz">4</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">4</cbc:ConditionCode>
<cbc:Description>Description</cbc:Description>
</cac:Status>
</cac:TransportHandlingUnit>
Expand Down Expand Up @@ -132,7 +132,7 @@
<cbc:TransportEventTypeCode>1</cbc:TransportEventTypeCode>
<cbc:CompletionIndicator>true</cbc:CompletionIndicator>
<cac:CurrentStatus>
<cbc:ConditionCode schemeID="zzz">4</cbc:ConditionCode>
<cbc:ConditionCode listID="zzz">4</cbc:ConditionCode>
<cbc:Description>Description</cbc:Description>
<cbc:StatusReasonCode listID="zzz">80</cbc:StatusReasonCode>
<cbc:StatusReason>Prolonged coffebreak</cbc:StatusReason>
Expand Down

0 comments on commit 0228b58

Please sign in to comment.