Jaehoon

EXT201_5.4.1

Feb 12th, 2020
358
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. managed implementation in class ZCL_BP_I_TRAVEL_M_XXX unique;
  2.  
  3. define behavior for ZI_Travel_M_XXX alias Travel
  4. persistent table ztravel_xxx
  5. etag last_changed_at
  6. lock master
  7. {
  8. // administrative fields (read only)
  9. field ( readonly ) last_changed_at, last_changed_by, created_at, created_by;
  10.  
  11. // mandatory fields that are required to create a travel
  12. field ( mandatory ) agency_id, overall_status, booking_fee, currency_code;
  13.  
  14. // dynamic field control
  15. field (features : instance ) travel_id;
  16.  
  17. // standard operations for travel entity
  18. create;
  19. update;
  20. delete;
  21.  
  22. // instance action and dynamic action control
  23. action  ( features: instance ) acceptTravel result [1] $self;
  24.  
  25. // validations
  26. validation validateCustomer on save { field customer_id; }
  27. validation validateDates    on save { field begin_date, end_date; }
  28. validation validateStatus   on save { field overall_status; }
  29. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×