{ "$id": "Workflow-CountOrder_CalculateLineDestinationStations_PR-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}.EasyBpart", "$type": "Mecalux.ITSW.EasyBuilder.Workflow, Mecalux.ITSW.EasyBuilder.Model", "AttributesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticHolderTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Automatic holder tasks", "EntityStereotypeInternal": "c254d428-6f03-4376-a356-375fcb5349cb", "EntityStereotypeName": "HolderCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "8f7a9cdf-1478-4355-933c-5821a79457fe", "InitialValue": "new HolderCountTaskDataList()", "Length": 0, "Name": "automaticHolderTasks", "Persist": true, "Stereotype": "List" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticProductTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Automatic product tasks", "EntityStereotypeInternal": "a8639390-98de-4824-a6df-473f281cd3e9", "EntityStereotypeName": "ProductCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "d8adb5a0-42b3-496f-a514-d9b02cd45c1a", "InitialValue": "new ProductCountTaskDataList()", "Length": 0, "Name": "automaticProductTasks", "Persist": true, "Stereotype": "List" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLineId", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "(Required) Id of the count line", "EntityStereotypeInternal": "4740ce9f-bdfe-4ce6-b485-05b93cb9de57", "Guid": "476f8a71-c783-46a6-9442-0e45e4afc4e4", "InitialValue": "", "Length": 100, "Name": "countLineId", "Persist": true, "Stereotype": "Guid" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLocationIndex", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Index to iterate line count locations.", "EntityStereotypeInternal": "4740ce9f-bdfe-4ce6-b485-05b93cb9de57", "Guid": "51b27bb4-3895-4bc6-8b46-a545ecbd7d1c", "InitialValue": "0", "Length": 0, "Name": "countLocationIndex", "Persist": true, "Stereotype": "Integer" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Line for which destination stations will be calculated.", "EntityStereotypeInternal": "bf66289f-cfdf-4eca-a8ab-bf1c3d586936", "EntityStereotypeName": "CountOrderLineWF", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "88e18d3e-f71d-4367-b4f4-81069f5a1f4c", "InitialValue": null, "Length": 0, "Name": "countOrderLine", "Persist": true, "Stereotype": "Record" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Description", "EntityStereotypeInternal": "80ef96ec-0a15-482f-8c65-f81b48079c14", "EntityStereotypeName": "CountLocationWF", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "f2570897-fa76-4e97-a811-0c8eaad51c13", "InitialValue": null, "Length": 0, "Name": "currentCountLocation", "Persist": true, "Stereotype": "Record" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualHolderTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Manual holder tasks", "EntityStereotypeInternal": "c254d428-6f03-4376-a356-375fcb5349cb", "EntityStereotypeName": "HolderCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "3c7523ab-cf06-4208-b63f-ef0657683c22", "InitialValue": "new HolderCountTaskDataList()", "Length": 0, "Name": "manualHolderTasks", "Persist": true, "Stereotype": "List" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualProductTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Manual product tasks", "EntityStereotypeInternal": "a8639390-98de-4824-a6df-473f281cd3e9", "EntityStereotypeName": "ProductCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "aa2c2ff8-3287-4d7c-be54-a4a9b913a687", "InitialValue": "new ProductCountTaskDataList()", "Length": 0, "Name": "manualProductTasks", "Persist": true, "Stereotype": "List" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-station", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "Station to use in the query", "EntityStereotypeInternal": "21bb1311-4dc6-4e8d-82da-6e486c337cac", "EntityStereotypeName": "StationWF", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "602e9a76-2c5e-4129-a7eb-b379f80d5b1b", "InitialValue": "null", "Length": 0, "Name": "station", "Persist": true, "Stereotype": "Record" }, { "$id": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-stocksInLocation", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowInternalAttribute, Mecalux.ITSW.EasyBuilder.Model", "Description": "List of stock in the location", "EntityStereotypeInternal": "0a25785b-a966-45d0-81ed-2e79d21c486b", "EntityStereotypeName": "StockList", "EntityStereotypeOriginApplicationName": "EasyWMS", "Guid": "9301c4dd-0c70-46be-801e-1ad38b4d5de4", "InitialValue": "", "Length": 100, "Name": "stocksInLocation", "Persist": true, "Stereotype": "List" } ] }, "ActivitiesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivity, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set task for container", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowCodeActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "Expression": "//START CST #:if(currentCountLocation.Location.Containers.Any(x => x.ContainerId == countOrderLine.ContainerId.Value) && #: !currentCountLocation.CountedStockHolderIds.Any(x => x.Value == countOrderLine.ContainerId.Value) && #: !currentCountLocation.Tasks.Any() && #: currentCountLocation.LocationAllowCount) #:// END CST #:{ #: #: HolderCountTaskDataWF task= new HolderCountTaskDataWF() #: { #: TaskId=Guid.NewGuid(), #: StationId=station?.Id, #: HolderId=countOrderLine.ContainerId.Value #: }; #: #: if(station == null && !currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: manualHolderTasks.Add(task); #: } else if (station != null && currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: automaticHolderTasks.Add(task); #: } #:}", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticHolderTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "e0d0e8d5-1a2a-47f5-a07f-157ffadf77a4", "Name": "automaticHolderTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine" }, "Expression": "", "FormalParameterInternal": null, "Guid": "2eb8cc42-d49c-406e-bd20-95c5644ce864", "Name": "countOrderLine", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation" }, "Expression": "", "FormalParameterInternal": null, "Guid": "e9b17fe5-8fed-440a-a74a-12a88a5f2de5", "Name": "currentCountLocation", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualHolderTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "38d2ab46-b855-4635-8d33-0ed48854189e", "Name": "manualHolderTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-station" }, "Expression": "", "FormalParameterInternal": null, "Guid": "0b13acb3-c55c-465c-a0af-283865d7946d", "Name": "station", "UseType": "Attribute" } ] }, "Guid": "f588db93-7e05-4120-adf8-f48e51367dcf", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "CST Set task for container", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST_Set_task_for_container-Next_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "ExceptionRollback": false, "Guid": "7d88f028-d851-4d14-bc2f-ed22f5ec064a", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 374 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set tasks for location", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowCodeActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "Expression": "if (station == null && !currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: if(!currentCountLocation.CountedStockHolderIds.Any(x => x.Value == currentCountLocation.LocationId) && !currentCountLocation.Tasks.Any() && currentCountLocation.LocationAllowCount) #: { #: HolderCountTaskDataWF task= new HolderCountTaskDataWF() #: { #: TaskId=Guid.NewGuid(), #: StationId=null, #: HolderId=currentCountLocation.LocationId #: }; #: #: manualHolderTasks.Add(task); #: } #:} else if (station != null && currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: if(currentCountLocation.LocationAllowCount) #: { #: foreach (Guid containerId in currentCountLocation.Location.Containers.Select(x => x.ContainerId).Distinct()) #: { #: //START CST #: if(!countOrderLine.CountLocations #: .SelectMany(x => x.CountedStockHolderIds) #: .Any(x => x.Value == containerId) && #: !currentCountLocation.Tasks.Any(x => x.ContainerId == containerId)) #: //END CST #: { #: HolderCountTaskDataWF task= new HolderCountTaskDataWF() #: { #: TaskId = Guid.NewGuid(), #: StationId = station.Id, #: HolderId = containerId #: }; #: #: automaticHolderTasks.Add(task); #: } #: } #: } #:}", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticHolderTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "b578a5f4-64a7-46f5-b917-2347ba8d6462", "Name": "automaticHolderTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine" }, "Expression": "", "FormalParameterInternal": null, "Guid": "1b98d93d-1d73-470b-9b58-754d8043f1f2", "Name": "countOrderLine", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation" }, "Expression": "", "FormalParameterInternal": null, "Guid": "34e0b029-4755-479d-a00c-c84175198780", "Name": "currentCountLocation", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualHolderTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "42fb9a4a-73f5-4fe6-8d1c-f266af2f5f30", "Name": "manualHolderTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-station" }, "Expression": "", "FormalParameterInternal": null, "Guid": "b5a042ec-0cb1-4585-8650-fda4ab34c93f", "Name": "station", "UseType": "Attribute" } ] }, "Guid": "817a7cca-d952-4772-a61b-c5399b2bdde3", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "CST Set tasks for location", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST_Set_tasks_for_location-Next_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "ExceptionRollback": false, "Guid": "fd3fa2f5-a9c5-45c3-a9c6-22de2fe3162c", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 38, "Y": 374 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set tasks for stock", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowCodeActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "Expression": "if(!stocksInLocation.Any(x => !x.ContainerId.HasValue)) #:{ #: foreach(Guid containerId in stocksInLocation.Select(x => x.ContainerId).Distinct().Where(x => x.HasValue)) #: { #: //START CST #: if(!countOrderLine.CountLocations.SelectMany(x => x.CountedStockHolderIds).Any(x => x.Value == containerId) && !currentCountLocation.Tasks.Any(x => x.ContainerId == containerId)) #: //END CST #: { #: ProductCountTaskDataWF task= new ProductCountTaskDataWF() #: { #: TaskId = Guid.NewGuid(), #: StationId = station?.Id, #: HolderId = containerId, #: LogisticAttributes = new StockLogisticAttributesWF() #: { #: Colour = countOrderLine.Color, #: LotCode = countOrderLine.LotCode, #: PostProductionTreatment = countOrderLine.PostProductionTreatment, #: Quality = countOrderLine.Quality, #: SerialNumber = countOrderLine.SerialNumber, #: Size = countOrderLine.Size, #: Source = countOrderLine.Source, #: Version = countOrderLine.Version #: } #: }; #: #: if(station == null && !currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: manualProductTasks.Add(task); #: } else if (station != null && currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: automaticProductTasks.Add(task); #: } #: } #: } #:} #:else #:{ #: if(!currentCountLocation.CountedStockHolderIds.Any(x => x.Value == currentCountLocation.LocationId) && !currentCountLocation.Tasks.Any()) #: { #: ProductCountTaskDataWF task= new ProductCountTaskDataWF() #: { #: TaskId = Guid.NewGuid(), #: StationId = station?.Id, #: HolderId = currentCountLocation.LocationId, #: LogisticAttributes = new StockLogisticAttributesWF() #: { #: Colour = countOrderLine.Color, #: LotCode = countOrderLine.LotCode, #: PostProductionTreatment = countOrderLine.PostProductionTreatment, #: Quality = countOrderLine.Quality, #: SerialNumber = countOrderLine.SerialNumber, #: Size = countOrderLine.Size, #: Source = countOrderLine.Source, #: Version = countOrderLine.Version #: } #: }; #: #: if(station == null && !currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: manualProductTasks.Add(task); #: } else if (station != null && currentCountLocation.Location.UnloadAisle.IsAutomatic){ #: automaticProductTasks.Add(task); #: } #: } #:}", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticProductTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "094a71af-04fc-4362-b385-815ed0342252", "Name": "automaticProductTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine" }, "Expression": "", "FormalParameterInternal": null, "Guid": "89f6bded-d01a-4d0c-8b8d-f1ff1ca71b4f", "Name": "countOrderLine", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation" }, "Expression": "", "FormalParameterInternal": null, "Guid": "66dfbc0a-15f4-4e68-9feb-b9b8c31d8709", "Name": "currentCountLocation", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualProductTasks" }, "Expression": "", "FormalParameterInternal": null, "Guid": "e9e4e4e7-df6d-47bd-acdb-33758e156669", "Name": "manualProductTasks", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-station" }, "Expression": "", "FormalParameterInternal": null, "Guid": "1ef19dd0-d641-483d-9b04-3bfcca810320", "Name": "station", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-stocksInLocation" }, "Expression": "", "FormalParameterInternal": null, "Guid": "d0172b19-b170-454c-80a8-cac05d619051", "Name": "stocksInLocation", "UseType": "Attribute" } ] }, "Guid": "9c4bf3a6-d7ca-45f1-897f-8b2cac9e9458", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "CST Set tasks for stock", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST_Set_tasks_for_stock-Next_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "ExceptionRollback": false, "Guid": "89ec1d4e-6d59-472a-9a6a-d406d37dfb8d", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 158, "Y": 474 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Init", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowCodeActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "Expression": "Guard.That.Expression.IsTrue(countLineId != Guid.Empty, \"Count line id can not be empty\");", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLineId" }, "Expression": "", "FormalParameterInternal": null, "Guid": "36cfb4ad-d860-4083-ba26-e748aad4fabd", "Name": "countLineId", "UseType": "Attribute" } ] }, "Guid": "32f73535-348a-427a-b997-ef8ee23bca1d", "Height": 24, "ImplementationInternal": null, "JoinType": "Initiator", "Limit": 0, "Name": "Init", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Init-CST_Get_count_line-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Get count line", "ExceptionRollback": false, "Guid": "01028538-3cf5-418c-bf30-2d663408cc01", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 22 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowCodeActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "Expression": "countLocationIndex++;", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLocationIndex" }, "Expression": "", "FormalParameterInternal": null, "Guid": "a6abea83-2230-4c9b-9d7b-283aaec06f36", "Name": "countLocationIndex", "UseType": "Attribute" } ] }, "Guid": "f3e3458c-a976-4920-9e32-97289566bd9b", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "Next location", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next_location-Iterate_count_locations-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [ { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 108.6, "Y": 507.43 }, { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 25.76, "Y": 442.1 }, { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 26, "Y": 198 }, { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 110.48, "Y": 152.24 } ] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Iterate count locations", "ExceptionRollback": false, "Guid": "8059f634-2a1f-4630-9e08-d184cc08f2c9", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 506 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-End", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowDecisionActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Guid": "7502a2a1-ca3d-4f99-957e-6031ef58b050", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "End", "Priority": 0, "SplitType": "Terminator", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Width": 48, "X": 188, "Y": 134 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Has picking locations?", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowDecisionActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Guid": "9d079c0b-2e57-491e-8bad-3d58179847e6", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "Has picking locations?", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Has_picking_locations?-Get_stock_in_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get stock in location", "ExceptionRollback": false, "Guid": "01a8e53e-e58f-4a89-a488-0afffb6fa0d0", "Name": "Continue", "Sequence": 0 }, { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Has_picking_locations?-Get_product_tasks_for_location_line-Yes-Condition", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "countOrderLine.IsLocationLine && currentCountLocation.IsDrawer && station == null #: #: #: #:", "ConditionType": "Condition", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get product tasks for location line", "ExceptionRollback": false, "Guid": "f7510116-7e9b-4c76-a27e-0aa1a2aebaed", "Name": "Yes", "Sequence": 0 } ] }, "Width": 48, "X": 158, "Y": 374 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Iterate count locations", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowDecisionActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Guid": "901a4394-b1ec-4ad8-85ee-5461d6c3a252", "Height": 24, "ImplementationInternal": null, "JoinType": "Xor", "Limit": 0, "Name": "Iterate count locations", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Iterate_count_locations-End-No more locations-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-End", "ExceptionRollback": false, "Guid": "c8e66368-59a4-49ce-acc8-678e922b14dd", "Name": "No more locations", "Sequence": 0 }, { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Iterate_count_locations-Get_count_location-More locations-Condition", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "countLocationIndex !x.IsLabeled)) #: #: #: #: #: #: #:", "ConditionType": "Condition", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set tasks for location", "ExceptionRollback": false, "Guid": "b87ae4d7-f4d7-49b9-894a-f6fbc1ade352", "Name": "Location", "Sequence": 0 }, { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Line_type?-Has_picking_locations?-Stock-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Has picking locations?", "ExceptionRollback": false, "Guid": "51a4c9e6-9936-4c6a-864b-42cb661db53f", "Name": "Stock", "Sequence": 0 }, { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Line_type?-CST_Set_task_for_container-Container-Condition", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "countOrderLine.IsContainerLine", "ConditionType": "Condition", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set task for container", "ExceptionRollback": false, "Guid": "49501f72-f05f-4aa2-b3e7-4263f4b0feef", "Name": "Container", "Sequence": 1 } ] }, "Width": 48, "X": 98, "Y": 314 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Get count line", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowQueryActivity, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine" }, "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLineId" }, "Expression": "", "FormalParameterInternal": "FOPA-Query-{4de6d144-11c4-4151-b685-a6931bf61db8}-countOrderLineId", "Guid": "5cf7af5c-ec57-4461-9ad1-8ed860e42342", "Name": "NoName", "UseType": "Attribute" } ] }, "Guid": "39beb3ef-7f0d-40c7-abf7-b3d47a7c1277", "Height": 24, "ImplementationInternal": "Query-CountOrderLine_ById-{4de6d144-11c4-4151-b685-a6931bf61db8}.EasyBpart", "JoinType": "Xor", "Limit": 0, "Name": "CST Get count line", "OrderBy": "", "Priority": 0, "Select": "x => new CountOrderLineWF(){ #: Id = x.Id, #: CountOrderId = x.CountOrderId, #: LineNumber=x.LineNumber, #: IsProductLine = (x.ProductId.HasValue && x.OwnerId.HasValue) || x.BestBeforeDateMax != null || x.BestBeforeDateMin != null || #: !string.IsNullOrEmpty(x.Color) || x.DaysOfLifeDateMax != null || x.DaysOfLifeDateMin != null || #: x.ExpirationDateMax != null || x.ExpirationDateMin != null || !string.IsNullOrEmpty(x.LotCode) || #: !string.IsNullOrEmpty(x.PostProductionTreatment) || !string.IsNullOrEmpty(x.ProductionMethod) || #: x.ProductionDateMax != null || x.ProductionDateMin != null || #: !string.IsNullOrEmpty(x.Quality) || !string.IsNullOrEmpty(x.SerialNumber) || !string.IsNullOrEmpty(x.Size) #: || !string.IsNullOrEmpty(x.Source) || !string.IsNullOrEmpty(x.Version), #: IsContainerLine = !((x.ProductId.HasValue && x.OwnerId.HasValue) || x.BestBeforeDateMax != null || x.BestBeforeDateMin != null || #: !string.IsNullOrEmpty(x.Color) || x.DaysOfLifeDateMax != null || x.DaysOfLifeDateMin != null || #: x.ExpirationDateMax != null || x.ExpirationDateMin != null || !string.IsNullOrEmpty(x.LotCode) || #: !string.IsNullOrEmpty(x.PostProductionTreatment) || !string.IsNullOrEmpty(x.ProductionMethod) || #: x.ProductionDateMax != null || x.ProductionDateMin != null || #: !string.IsNullOrEmpty(x.Quality) || !string.IsNullOrEmpty(x.SerialNumber) || !string.IsNullOrEmpty(x.Size) #: || !string.IsNullOrEmpty(x.Source) || !string.IsNullOrEmpty(x.Version)) && x.ContainerId.HasValue, #: IsLocationLine= !(x.ContainerId.HasValue) && !((x.ProductId.HasValue && x.OwnerId.HasValue) || x.BestBeforeDateMax != null || x.BestBeforeDateMin != null || #: !string.IsNullOrEmpty(x.Color) || x.DaysOfLifeDateMax != null || x.DaysOfLifeDateMin != null || #: x.ExpirationDateMax != null || x.ExpirationDateMin != null || !string.IsNullOrEmpty(x.LotCode) || #: !string.IsNullOrEmpty(x.PostProductionTreatment) || !string.IsNullOrEmpty(x.ProductionMethod) || #: x.ProductionDateMax != null || x.ProductionDateMin != null || #: !string.IsNullOrEmpty(x.Quality) || !string.IsNullOrEmpty(x.SerialNumber) || !string.IsNullOrEmpty(x.Size) #: || !string.IsNullOrEmpty(x.Source) || !string.IsNullOrEmpty(x.Version)), #: LotCode = x.LotCode, #: SerialNumber = x.SerialNumber, #: PostProductionTreatment = x.PostProductionTreatment, #: Version = x.Version, #: Source = x.Source, #: Size = x.Size, #: Quality = x.Quality, #: Color = x.Color, #: ContainerId = x.ContainerId, #: OwnerId = x.OwnerId, #: ProductId = x.ProductId, #:// START CST #:CountLocations= new CountLocationList(x.CountLocations.Select(cl=> new CountLocationWF() #:{ #: Id = cl.Id, #: CountedStockHolderIds = new GuidList(cl.CountedStockHolderIds.Select(y => new GuidWF(){Value = y})), #:})) #://END CST #:}", "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST_Get_count_line-Iterate_count_locations-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Iterate count locations", "ExceptionRollback": false, "Guid": "f1ed371a-3fd1-4e07-9c56-7dc9dfc8cec0", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 82 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get count location", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowQueryActivity, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation" }, "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "countOrderLine.CountLocations[(int)countLocationIndex].Id", "FormalParameterInternal": "FOPA-Query-{f3acd488-6adc-4d24-ab85-579d8ea6db86}-countLocationId", "Guid": "bc647970-5334-4e53-b4f2-335d20c66406", "Name": "NoName", "UseType": "Expression" } ] }, "Guid": "7fd3c5c6-3b63-4a1d-a879-7104d1c79dc5", "Height": 24, "ImplementationInternal": "Query-CountLocation_ById-{f3acd488-6adc-4d24-ab85-579d8ea6db86}.EasyBpart", "JoinType": "Xor", "Limit": 0, "Name": "Get count location", "OrderBy": "", "Priority": 0, "Select": "x => new CountLocationWF() #:{ #: Id = x.Id, #: UnloadAisleAllowsOutput = x.Location.UnloadAisle != null ? x.Location.UnloadAisle.AllowOutput : false, #: UnloadAisleIsLocked = x.Location.UnloadAisle != null ? x.Location.UnloadAisle.IsLock : false, #: LocationId = x.LocationId, #: StationId = x.Location.StationId, #: LocationCode = x.Location.Code, #: LocationAllowCount = (x.Location as IStoreLocation).TransformOrDefault(z => #: z.LocationLocks.All(y => y.LocationLockType.IsCountAllowed && (y.LocationLockType.IsMoveAllowed || (z.LoadAisle != null && z.LoadAisle is IManualAisle))) && #: ((z.MyContainers.Any() && z.ContainersTotal.All(y => y.ContainerLocks.All(cl => cl.ContainerLockType.IsCountAllowed && cl.ContainerLockType.IsMoveAllowed || #: (z.LoadAisle != null && z.LoadAisle is IManualAisle)))) || z.StoreLocationLogic.AllowCount) && #: z.StockHolderStockTotal.All(y => (y.ReceptionDefaultStatus == null || (y.ReceptionDefaultStatus.AllowCount && (y.ReceptionDefaultStatus.AllowMove || (z.LoadAisle != null && z.LoadAisle is IManualAisle)))) && #: (y.UserDefinedStatus == null || y.UserDefinedStatus.AllowCount && (y.UserDefinedStatus.AllowMove || (z.LoadAisle != null && z.LoadAisle is IManualAisle))))), #: Location = new LocationWF(){ #: Id = x.Location.Id, #: Code = x.Location.Code, #: Containers = new ContainerList(x.Location.Containers.Select(y => new ContainerWF() #: { #: ContainerId = y.Id, #: Code = y.Code, #: })), #: UnloadAisle = new AisleWF(){ IsAutomatic = x.Location.UnloadAisle is IAutomaticAisle} #: }, #: Tasks = new TaskList(x.Tasks.Select(y => new TaskWF() #: { #: Id = y.Id, #: ContainerId = (y.StockHolderOrigin as IContainer)?.Id, #: ProductId = y.ProductConversion?.ProductId #: })), #: CountedStockHolderIds = new GuidList(x.CountedStockHolderIds.Select(y => new GuidWF(){Value = y})), #: CountedProductLocationIds = new GuidList(x.CountedProductLocationIds.Select(y => new GuidWF(){Value = y})), #: IsDrawer = x.Location is IStoreLocation ? ((IStoreLocation)x.Location).ProductLocations.Any() && !((IStoreLocation)x.Location).ProductLocations.Any(x => !x.IsLabeled) : false, #: ProductLocationList = x.Location is IStoreLocation ? new ProductLocationList(((IStoreLocation)x.Location).ProductLocations.Select( #: p => new ProductLocationWF(){ #: Id = p.Id, #: ProductId = p.Product.Id, #: ProductCode = p.Product.Code, #: CustomText = p.CustomText, #: IsLabeled = p.IsLabeled #: })) : new ProductLocationList(), #: LooseStock = new StockList(x.Location.StockHolderStockTotal.Where(st => st.StockHolder.HolderContainer != null ? !st.StockHolder.HolderContainer.IsClient : true).Select( #: s => new StockWF(){ #: StockId = s.Id, #: ProductId = s.ProductConversion.Product.Id, #: ProductLocationId = s.ProductLocationId #: })) #:}", "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get_count_location-Get_station-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get station", "ExceptionRollback": false, "Guid": "e30b3dee-1ca8-4f0d-8796-d9be1e66f6f0", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 198 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get station", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowQueryActivity, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-station" }, "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "countOrderLine.CountOrderId", "FormalParameterInternal": "FOPA-Query-{60382767-d4ab-4bff-a6eb-ee43f4a0e261}-countOrderId", "Guid": "072ca6c3-d65e-4cf6-a3f5-21bff850819d", "Name": "NoName", "UseType": "Expression" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "currentCountLocation.StationId", "FormalParameterInternal": "FOPA-Query-{60382767-d4ab-4bff-a6eb-ee43f4a0e261}-stationFromId", "Guid": "679d42a4-eb48-4928-b5aa-8bf47c39ab74", "Name": "NoName", "UseType": "Expression" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "countOrderLine.IsProductLine ? \"ProductCount\" : \"ContainerCount\"", "FormalParameterInternal": "FOPA-Query-{60382767-d4ab-4bff-a6eb-ee43f4a0e261}-taskType", "Guid": "d875ea0b-2ab7-4a7a-9379-ab66dc2e3347", "Name": "NoName", "UseType": "Expression" } ] }, "Guid": "60c8c1b4-4754-4f35-abce-fcd12cce52ca", "Height": 24, "ImplementationInternal": "Query-PickingStation_GetForCount_V2-{60382767-d4ab-4bff-a6eb-ee43f4a0e261}.EasyBpart", "JoinType": "Xor", "Limit": 0, "Name": "Get station", "OrderBy": "", "Priority": 0, "Select": "s => new StationWF() #:{ #: Id = s.Id, #: Code = s.Code #:}", "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get_station-Line_type?-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Line type?", "ExceptionRollback": false, "Guid": "c1bd85c9-4a33-47e5-8be9-0b31751829b8", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 98, "Y": 254 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get stock in location", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowQueryActivity, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-stocksInLocation" }, "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "currentCountLocation.LocationId", "FormalParameterInternal": "FOPA-Query-{0abc1ec7-b44d-4e0c-822a-a228669ef328}-locationId", "Guid": "6850af6a-4ab9-4edd-bfd8-57c0d596f4c9", "Name": "NoName", "UseType": "Expression" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": null, "Expression": "countOrderLine.ProductId.GetValueOrDefault()", "FormalParameterInternal": "FOPA-Query-{0abc1ec7-b44d-4e0c-822a-a228669ef328}-productId", "Guid": "f7b54a72-7db6-418d-849b-04ba4031d6bf", "Name": "NoName", "UseType": "Expression" } ] }, "Guid": "024eab40-2b39-41b5-bf65-390bd64cecef", "Height": 24, "ImplementationInternal": "Query-Stocks_GetStockInHolderNotClient-{0abc1ec7-b44d-4e0c-822a-a228669ef328}.EasyBpart", "JoinType": "Xor", "Limit": 0, "Name": "Get stock in location", "OrderBy": "", "Priority": 0, "Select": "x=> new StockWF(){ #: StockId = x.Id, #: ContainerId = x.StockHolder.HolderContainer?.Id, #: #:}", "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get_stock_in_location-Next_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "ExceptionRollback": false, "Guid": "3dfba8a6-bcb4-4eeb-9bb4-14482bf9ed86", "Name": "Continue", "Sequence": 0 }, { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get_stock_in_location-CST_Set_tasks_for_stock-Valid-Condition", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "stocksInLocation.Any()", "ConditionType": "Condition", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CST Set tasks for stock", "ExceptionRollback": false, "Guid": "aa9fb0ae-1ff8-4f98-b68c-db7b626bc67b", "Name": "Valid", "Sequence": 0 } ] }, "Width": 48, "X": 158, "Y": 426 }, { "$id": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get product tasks for location line", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowSubProcessActivity, Mecalux.ITSW.EasyBuilder.Model", "CreationDelay": null, "DeadlinesInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActivityDeadline, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [] }, "Description": "", "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countOrderLine" }, "Expression": "", "FormalParameterInternal": "FOPA-Workflow-{bd20b76a-ed5e-4c6e-b316-b06282e09ad0}-CountOrderLine", "Guid": "2146e8cd-8f35-4770-8f96-9b71bc698962", "Name": "NoName", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-currentCountLocation" }, "Expression": "", "FormalParameterInternal": "FOPA-Workflow-{bd20b76a-ed5e-4c6e-b316-b06282e09ad0}-CurrentCountLocation", "Guid": "df21d2ff-4d82-4677-8c8c-4f6876355d64", "Name": "NoName", "UseType": "Attribute" }, { "$type": "Mecalux.ITSW.EasyBuilder.WorkflowActualParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualProductTasks" }, "Expression": "", "FormalParameterInternal": "FOPA-Workflow-{bd20b76a-ed5e-4c6e-b316-b06282e09ad0}-ManualProductTasks", "Guid": "ec4fdbb8-a2f5-483b-8d76-c2ef8cf33886", "Name": "NoName", "UseType": "Attribute" } ] }, "Guid": "a5dbeccf-dc6a-4deb-bdf9-cad8bbabc0a4", "Height": 24, "ImplementationInternal": "Workflow-CountOrder_GetProductTasksForCountLocationLine_PR-{bd20b76a-ed5e-4c6e-b316-b06282e09ad0}.EasyBpart", "JoinType": "Xor", "Limit": 0, "Name": "Get product tasks for location line", "Priority": 0, "SplitType": "Xor", "StartMode": "Automatic", "SubflowExecutionMode": "Sync", "SubProcessAttributesAttribute": null, "SubProcessModule": "", "SubProcessNameAttribute": null, "TerminationMode": "Automatic", "TransitionsInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "Transition-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Get_product_tasks_for_location_line-Next_location-Continue-Otherwise", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowTransition, Mecalux.ITSW.EasyBuilder.Model", "Condition": "", "ConditionType": "Otherwise", "ControlPoints": { "$type": "System.Collections.Generic.List`1[[System.Drawing.PointF, System.Drawing]], mscorlib", "$values": [ { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 249.2, "Y": 450 }, { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 222, "Y": 518 }, { "$type": "System.Drawing.PointF, System.Drawing", "IsEmpty": false, "X": 146, "Y": 518 } ] }, "Description": "", "DestinyWorkflowActivityInternal": "Activity-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-Next location", "ExceptionRollback": false, "Guid": "04b64229-9a14-485c-9ceb-782ce4e7c340", "Name": "Continue", "Sequence": 0 } ] }, "Width": 48, "X": 230, "Y": 426 } ] }, "FormalParametersInternal": { "$type": "System.Collections.Generic.List`1[[Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model]], mscorlib", "$values": [ { "$id": "FOPA-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-AutomaticHolderTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticHolderTasks" }, "Description": "List of automatic holder tasks for the line (empty if no tasks)", "EntityStereotypeInternal": "c254d428-6f03-4376-a356-375fcb5349cb", "EntityStereotypeName": "HolderCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "IsRequiredParameter": false, "Mode": "Out", "Name": "AutomaticHolderTasks", "Stereotype": "List", "WorkflowFormalParameterType": "UserCreated" }, { "$id": "FOPA-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-AutomaticProductTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-automaticProductTasks" }, "Description": "List of automatic product tasks for the line (empty if no tasks)", "EntityStereotypeInternal": "a8639390-98de-4824-a6df-473f281cd3e9", "EntityStereotypeName": "ProductCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "IsRequiredParameter": false, "Mode": "Out", "Name": "AutomaticProductTasks", "Stereotype": "List", "WorkflowFormalParameterType": "UserCreated" }, { "$id": "FOPA-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-CountLineId", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-countLineId" }, "Description": "(Required) Id of the count line", "EntityStereotypeInternal": "4740ce9f-bdfe-4ce6-b485-05b93cb9de57", "IsRequiredParameter": false, "Mode": "In", "Name": "CountLineId", "Stereotype": "Guid", "WorkflowFormalParameterType": "UserCreated" }, { "$id": "FOPA-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-ManualHolderTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualHolderTasks" }, "Description": "List of manual holder tasks for the line (empty if no tasks)", "EntityStereotypeInternal": "c254d428-6f03-4376-a356-375fcb5349cb", "EntityStereotypeName": "HolderCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "IsRequiredParameter": false, "Mode": "Out", "Name": "ManualHolderTasks", "Stereotype": "List", "WorkflowFormalParameterType": "UserCreated" }, { "$id": "FOPA-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-ManualProductTasks", "$type": "Mecalux.ITSW.EasyBuilder.WorkflowFormalParameter, Mecalux.ITSW.EasyBuilder.Model", "Attribute": { "$ref": "Attribute-Workflow-{cbbec5a8-3915-4be8-98b3-378e0cf1a1ce}-manualProductTasks" }, "Description": "List of manual product tasks for the line (empty if no tasks)", "EntityStereotypeInternal": "a8639390-98de-4824-a6df-473f281cd3e9", "EntityStereotypeName": "ProductCountTaskDataList", "EntityStereotypeOriginApplicationName": "EasyWMS", "IsRequiredParameter": false, "Mode": "Out", "Name": "ManualProductTasks", "Stereotype": "List", "WorkflowFormalParameterType": "UserCreated" } ] }, "Description": "For a given line, calculates destination stations for each of its locations.", "DurationUnit": "Second", "Limit": 0, "Module": "", "Name": "CountOrder_CalculateLineDestinationStations_PR", "ValidFrom": "2015-04-20", "VersionId": "cbbec5a8-3915-4be8-98b3-378e0cf1a1ce" }