IFS Mobile Development - Customization


Add sync Entities to the app

Below I'm explaining customizing of ServiceEngApp but it will be same for the MaintEngApp as well.

Customize ServiceEngApp (.app) file to add your entities (new entities) like below to enable sync capabilities.

File Name: ServiceEngApp-Cust.app
@Override
syncentities {
   entity CPartOrder {
      offlinewhere = "Objstate in ('Planned', 'Released', 'Completed')";
      transactiongroup = "C Part Order:${PartOrderId}";
      syncpolicy Batch {
         syncschedule = daily at 00:00;
      }
   }
   entity CPartOrderLine {
      transactiongroup = "C Part Order Line:${PartOrderId}-${LineNo}";
      syncpolicy Batch {
         syncschedule = daily at 00:00;
      }
   }
}

Post a Comment

0 Comments