Skip to Main Content
AVEVA™ Products Feedback Portal

Welcome to our new feedback site!


We created this site to hear your enhancement ideas, suggestions and feedback about AVEVA products and services. All of the feedback you share here is monitored and reviewed by the AVEVA product managers.

To start, select the product of your interest in the left column. Then take a look at the ideas in the list below and VOTE for your favorite ideas submitted by other users. POST your own idea if it hasn’t been suggested yet. Include COMMENTS and share relevant business case details that will help our product team get more information on the suggestion. Please note that your ideas will first be moderated before they are made visible to other users of this portal.

This page is for feedback for specific AVEVA solutions, excluding PI Systems and Data Hub. For links to these other feedback portals, please see the tab RESOURCES below.

Status Future consideration
Created by Nina NICHOLLS
Created on Feb 4, 2021

Movement lookup should support updating records with merge criteria

This was originally raised as a bug but this was the intended behaviour at the time of implementation, please see description of the problem below:


Description

Movement Lookup does not work when updating record using Submit Data Merge Criteria

Repro Steps

1. Import the attached bhp.xml2. Change the SubmitData command configuration to point to local amqp queue3. Place the attached message on submit data ESB queue.4. The records (movement events) are inserted.5. Place the same message again (Can change quantity if required).

Expected:The movement event records are updated.

Actual:Errors

The Movement Path LookUp Service could not find a matching material movement path based on the specified information:MovementPathFullName:MovementDirection:SourceEquipment:DestinationEquipment:SourceMaterialClass:DestinationMaterialClass:SourceMaterial:DestinationMaterial:


Context----------

- We are using the movement lookup feature to submit movement events into Ampla.- These movement events will be coming via an external integration layer.- It gets pretty complex to have the integration layer submit different Location Identifiers, based on source destination equipment, material class, material etc.- Ampla has the movement look up feature that automatically figures which movement item to submit the record to, based on the above fields.- This works for inserts but does not work when it finds a matching record and needs to update it.

I have briefly looked at what is causing it, and I will share it here:

- The SubmitDataHandler correctly finds the matching record (SetId) based on the merge criteria.- But if it is an update it removes the Merge criteria fields from the request.

// If it is an update, get rid of the fields that has been used as a merge criteria. removeFieldsUsedAsMergeCriteria(record);
- As a result when building the merged result movement event specification, the "merge" fields have their Source (SpecValueSource) property as "Stored" rather than "Submitted". - The lookup service ends up searching a movement item based on NULL values.

As a result we are unable to use the movement lookup feature.


  • Attach files