{"@odata.context":"$metadata#PolicyRuleadmin","value":[{"ID":"4c742b79-bbe9-4b16-af64-b1fa05877b1c","name":"JAL location checking","when":null,"event":"SEGMENT_SAVE","rules":"{\"appliesTo\":[\"request-segment\"],\"segmentType\":\"Train\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"request-segment.from_location\",\"operator\":\"equals\",\"value\":\"\",\"fieldSource\":\"\",\"formId\":\"fdfd697f-1831-49a9-b3ca-928610d4c101\",\"valueSource\":\"field\",\"valueField\":\"request-segment.to_location\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1785756532327\",\"exceptionCode\":\"FRMLOC\",\"exceptionLevel\":99,\"message\":\"FROM and TO Location cannot be same\",\"visibility\":[\"User\",\"Manager\",\"Processor\"]}]}","policy":"22c3121d-fa3f-4224-8c1b-ef6b28177afc","status":"ACTIVE","priority":null,"appliesTo":"[\"request-segment\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-08-03T11:29:39.926Z","exceptions":"[{\"id\":\"1785756532327\",\"exceptionCode\":\"FRMLOC\",\"exceptionLevel\":99,\"message\":\"FROM and TO Location cannot be same\",\"visibility\":[\"User\",\"Manager\",\"Processor\"]}]","updated_at":"2026-08-03T11:32:09.707Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"},{"ID":"90f5bf50-3b4f-414e-a24f-9f81400d5d06","name":"*JAL - Accommodation is Yes","when":null,"event":"SEGMENT_SAVE","rules":"{\"appliesTo\":[\"request-segment\",\"request-header\",\"employee\"],\"segmentType\":\"Hotel\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"request-header.custom_4\",\"operator\":\"equals\",\"value\":\"true\",\"valueField\":\"\",\"fieldSource\":\"\",\"formId\":\"96bce999-7b2b-43ca-967c-daaa4aa59674\",\"valueSource\":\"literal\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1784713873636\",\"exceptionCode\":\"Hotel\",\"exceptionLevel\":99,\"message\":\"Please select Company Accommodation as No to request Hotel\",\"visibility\":[\"User\",\"Manager\",\"Processor\"]}]}","policy":"22c3121d-fa3f-4224-8c1b-ef6b28177afc","status":"ACTIVE","priority":null,"appliesTo":"[\"request-segment\",\"request-header\",\"employee\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-07-22T09:53:17.562Z","exceptions":"[{\"id\":\"1784713873636\",\"exceptionCode\":\"Hotel\",\"exceptionLevel\":99,\"message\":\"Please select Company Accommodation as No to request Hotel\",\"visibility\":[\"User\",\"Manager\",\"Processor\"]}]","updated_at":"2026-08-04T03:45:01.271Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"},{"ID":"a99a168e-74bc-43f0-b641-b9fa3220e9de","name":"*JAL - Backdate segments - Airfare","when":null,"event":"SEGMENT_SAVE","rules":"{\"appliesTo\":[\"request-segment\",\"request-header\",\"employee\"],\"segmentType\":\"Air Ticket\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"request-header.Startdate\",\"operator\":\"notwithintodayminus\",\"value\":\"45\",\"fieldSource\":\"\",\"formId\":\"96bce999-7b2b-43ca-967c-daaa4aa59674\",\"valueSource\":\"literal\",\"valueField\":\"\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1786097149045\",\"exceptionCode\":\"AIRFARE\",\"exceptionLevel\":99,\"message\":\"Airfare cannot be requested for backdated Request\",\"visibility\":[\"User\"]}]}","policy":null,"status":"ACTIVE","priority":null,"appliesTo":"[\"request-segment\",\"request-header\",\"employee\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-08-07T10:06:19.444Z","exceptions":"[{\"id\":\"1786097149045\",\"exceptionCode\":\"AIRFARE\",\"exceptionLevel\":99,\"message\":\"Airfare cannot be requested for backdated Request\",\"visibility\":[\"User\"]}]","updated_at":"2026-08-07T10:06:19.444Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"},{"ID":"b6d1e444-aa6d-4d79-86c3-a89a6c39ef0b","name":"*JAL - Future Date","when":null,"event":"REPORT_SAVE","rules":"{\"appliesTo\":[\"expense-header\",\"employee\"],\"segmentType\":\"\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"expense-header.startdate\",\"operator\":\"isinfuture\",\"value\":\"\",\"fieldSource\":\"__standard__:expense-header\",\"formId\":\"\",\"valueSource\":\"literal\",\"valueField\":\"\"},{\"logic\":\"OR\",\"field\":\"expense-header.enddate\",\"operator\":\"isinfuture\",\"value\":\"\",\"fieldSource\":\"__standard__:expense-header\",\"formId\":\"\",\"valueSource\":\"literal\",\"valueField\":\"\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1785815605223\",\"exceptionCode\":\"FUture\",\"exceptionLevel\":99,\"message\":\"Report cannot be submitted for Future date\",\"visibility\":[\"User\"]}]}","policy":null,"status":"ACTIVE","priority":null,"appliesTo":"[\"expense-header\",\"employee\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-08-04T03:53:57.149Z","exceptions":"[{\"id\":\"1785815605223\",\"exceptionCode\":\"FUture\",\"exceptionLevel\":99,\"message\":\"Report cannot be submitted for Future date\",\"visibility\":[\"User\"]}]","updated_at":"2026-08-04T03:53:57.149Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"},{"ID":"c472d596-cf26-4d82-ae2d-a944efc7b2e5","name":"*JAL - Backdate Request","when":null,"event":"REQUEST_SAVE","rules":"{\"appliesTo\":[\"request-header\"],\"segmentType\":\"\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"request-header.Startdate\",\"operator\":\"notwithintodayminus\",\"value\":\"45\",\"fieldSource\":\"\",\"formId\":\"96bce999-7b2b-43ca-967c-daaa4aa59674\",\"valueSource\":\"literal\",\"valueField\":\"\"},{\"logic\":\"AND\",\"field\":\"request-header.Startdate\",\"operator\":\"notwithintodayplus\",\"value\":\"1000\",\"fieldSource\":\"\",\"formId\":\"96bce999-7b2b-43ca-967c-daaa4aa59674\",\"valueSource\":\"literal\",\"valueField\":\"\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1785815738201\",\"exceptionCode\":\"Backdate\",\"exceptionLevel\":99,\"message\":\"Allowed limit for Backdate request is 45 Days\",\"visibility\":[\"User\"]}]}","policy":"22c3121d-fa3f-4224-8c1b-ef6b28177afc","status":"ACTIVE","priority":null,"appliesTo":"[\"request-header\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-08-04T03:55:25.892Z","exceptions":"[{\"id\":\"1785815738201\",\"exceptionCode\":\"Backdate\",\"exceptionLevel\":99,\"message\":\"Allowed limit for Backdate request is 45 Days\",\"visibility\":[\"User\"]}]","updated_at":"2026-08-04T09:26:06.098Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"},{"ID":"e50c1443-047f-4531-9171-f57a4995d9d2","name":"*JAL - Transportation is Yes","when":null,"event":"SEGMENT_SAVE","rules":"{\"appliesTo\":[\"request-segment\",\"request-header\",\"employee\"],\"segmentType\":\"Flight\",\"whenLogic\":\"AND\",\"when\":[{\"field\":\"request-header.custom_9\",\"operator\":\"equals\",\"value\":\"true\",\"fieldSource\":\"\",\"formId\":\"96bce999-7b2b-43ca-967c-daaa4aa59674\",\"valueSource\":\"literal\",\"valueField\":\"\"}],\"validations\":[],\"exceptions\":[{\"id\":\"1785815297894\",\"exceptionCode\":\"ALert\",\"exceptionLevel\":99,\"message\":\"Please select Company Transportation as No to request Flight\",\"visibility\":[\"User\"]}]}","policy":"22c3121d-fa3f-4224-8c1b-ef6b28177afc","status":"ACTIVE","priority":null,"appliesTo":"[\"request-segment\",\"request-header\",\"employee\"]","tenant_id":"default-tenant","whenLogic":null,"created_at":"2026-08-04T03:48:06.009Z","exceptions":"[{\"id\":\"1785815297894\",\"exceptionCode\":\"ALert\",\"exceptionLevel\":99,\"message\":\"Please select Company Transportation as No to request Flight\",\"visibility\":[\"User\"]}]","updated_at":"2026-08-05T10:12:13.274Z","description":null,"validations":null,"createdBy_ID":null,"segmentTypes":null,"updatedBy_ID":null,"applicablefor":"[\"8f373627-f784-4af1-bf99-daa88ae2df53\"]"}]}