Skip to main content

Hi,

I am working on a IFS MWO Mobile Development (Customization). I have enabled state machine in one of my newly introduced entity (Planned, Released, Completed, Cancelled). 

I have added relevant code changes to the .client and .projection and already defined Sync policies on .app file. Now I am facing an issue when changing status from MWO it’s locally changing but not Syncing to the IFS Cloud. All other fields working as expected but ‘Objstate’ doesn’t change.

.offline file
 

MWO
 

 

IFS Cloud
 

 

I cannot see any failed transaction on the mobile as well.

Any idea will be really appreciated.

 

Thanks & Regards,
Asanka.

I was able to identify the issue. It was due to missing ‘performAction’ keyword after the super call in the action. After adding that I was able to overcome the issue.

 

@Override
procedure Action<CPartOrder.SetReleased> {
   execute {
      super(Record);
      performAction;
      set Record.Objstate = "Released";
      saveLocal Record;
   }
}

 


Reply