Guest User

Untitled

a guest
Jul 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. try {
  2. Context.getLogicService().getLogicDataSource("obs").getKeys().add("LAST RETURN VISIT DATE");
  3. Context.getLogicService().addRule("RETURN VISIT DATE", new ReferenceRule("obs.LAST RETURN VISIT DATE"));
  4. } catch (InvalidReferenceRuleException e1) {
  5. // TODO Auto-generated catch block
  6. e1.printStackTrace();
  7. } catch (LogicException e1) {
  8. // TODO Auto-generated catch block
  9. e1.printStackTrace();
  10. }
  11.  
  12. nextWeeksAppointments.addLogicColumn(new LogicDataSetColumn("RETURN VISIT DATE", Date.class, "RETURN VISIT DATE"));
Add Comment
Please, Sign In to add comment