sozsoft-platform/configs/seeds/wizard/Hr_VehicleMovement.json
2026-10-20 11:52:23 +03:00

3181 lines
No EOL
107 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Wizard": {
"ComponentKind": 0,
"WizardName": "Hr_VehicleMovement",
"WizardCode": "Hr.VehicleMovement",
"SeededAt": "2026-10-02T09:43:30.9261362+03:00",
"CustomComponentName": null,
"PermissionGroupName": "Hr",
"ModuleId": "Hr",
"Menu": {
"MenuParentPath": [
{
"Code": "Hr",
"Icon": "FcConferenceCall",
"En": "Human Resources",
"Tr": "İnsan Kaynakları"
}
],
"MenuParentCode": "Hr.Vehicles",
"MenuParentIcon": "FcAutomotive",
"MenuCode": "Hr.VehicleMovement",
"MenuOrder": 6,
"MenuUrl": "/admin/list/Hr.VehicleMovement",
"MenuIcon": "FcInspection"
},
"Language": {
"MenuParentEn": "Vehicles",
"MenuParentTr": "Araçlar",
"PermissionGroupEn": "Human Resources",
"PermissionGroupTr": "İnsan Kaynakları",
"MenuEn": "Vehicle Gate Log",
"MenuTr": "Araç Giriş-Çıkış Takip",
"TitleEn": "Vehicle Entry-Exit Tracking",
"TitleTr": "Araç Giriş-Çıkış Takip Listesi",
"DescEn": "Vehicle Gate Log — the security log of vehicle movements: when, with whom and at which km a vehicle left and returned.\nWhere: Human Resources › Vehicles › Vehicle Gate Log.\nFields:\n• Exit → date and time (now on open), branch, km (vehicle's current km suggested, cannot go lower), sender, security, driver, destination, reason\n• Entry → entering the entry km sets status Arrived and fills entry date/time; entry km cannot be lower than exit km\n• TravelledKm = entry − exit km; DurationMinutes = entry − exit time (automatic)\nAutomatic: insert assigns the movement number and updates vehicle status/km and the driver's total km; delete recalculates them.\nNote: when the return is entered by editing an existing record, vehicle and driver values are not updated on update.",
"DescTr": "Araç Giriş-Çıkış Takip — güvenliğin tuttuğu araç hareket defteri: araç şirketten ne zaman, kimle, hangi km ile çıktı, ne zaman döndü.\nNerede: İnsan Kaynakları › Araçlar › Araç Giriş-Çıkış Takip.\nAlanlar:\n• Çıkış → tarih ve saat (açılışta şimdi), şube, km (aracın güncel km'si önerilir; altına inilemez), gönderen ve güvenlik personeli, kullanan personel, gidilen yer, sebep\n• Giriş → giriş km'si girilince durum Geldi olur, giriş tarihi/saati dolar; giriş km çıkış km'den küçük olamaz\n• TravelledKm = giriş − çıkış km; DurationMinutes = giriş − çıkış zamanı (otomatik)\nOtomatik: kayıt eklenince hareket numarası verilir, aracın durumu ve km'si ile şoförün toplam km'si güncellenir; kayıt silinince bu değerler yeniden hesaplanır.\nDikkat: dönüş, var olan kaydı düzenleyerek girildiğinde araç ve şoför değerleri kayıt güncellemesinde güncellenmez.",
"Texts": [
{
"Key": "Hr.Vehicle.Widget.Left",
"En": "Left",
"Tr": "Gitti"
},
{
"Key": "Hr.VehicleMovement.Group.Exit",
"En": "Exit Information",
"Tr": "Çıkış Bilgileri"
},
{
"Key": "Hr.VehicleMovement.Group.Entry",
"En": "Entry Information",
"Tr": "Giriş Bilgileri"
}
]
},
"Data": {
"DataSourceCode": "Default",
"SelectCommandType": 1,
"SelectCommand": "Hr_T_VehicleMovement",
"TableName": null,
"KeyFieldName": "Id",
"KeyFieldDbSourceType": 9,
"IsTenant": true,
"IsBranch": true,
"IsOrganizationUnit": false,
"DefaultFilter": "\"IsDeleted\" = 'false'",
"SeedFilePath": null,
"SeedSyncInsert": false,
"SeedSyncUpdate": false,
"SeedSyncDelete": false,
"SelectFieldsDefaultValue": []
},
"Details": {
"ListFormType": "List",
"PageSize": 10,
"Width": 0,
"Height": 0,
"FullHeight": false,
"ShowNote": false,
"IsSubForm": false,
"SubFormsListFormType": "Form",
"SortMode": "single",
"UserId": null,
"RoleId": null,
"CustomJsSources": [],
"CustomStyleSources": []
},
"Layout": {
"DefaultLayout": "grid",
"Grid": true,
"Card": true,
"Pivot": true,
"Chart": true,
"Tree": false,
"Gantt": false,
"Scheduler": false,
"Todo": false
},
"Editing": {
"Mode": "popup",
"RefreshMode": "full",
"AllowUpdating": true,
"AllowDetail": false,
"AllowDeleting": true,
"AllowAllDeleting": false,
"AllowAdding": true,
"AllowDuplicate": false,
"OpenDetailAfterInsert": false,
"UseIcons": false,
"ConfirmDelete": true,
"NewRowPosition": "viewportTop",
"SelectTextOnEditStart": false,
"StartEditAction": "click",
"EditColumnName": null,
"Popup": {
"Title": "Hr.VehicleMovement.Title",
"ShowTitle": true,
"Width": 800,
"Height": 700,
"FullScreen": false,
"HideOnOutsideClick": true,
"ResizeEnabled": true,
"DragEnabled": true,
"RestorePosition": true,
"Position": "center"
},
"SendOnlyChangedFormValuesUpdate": false,
"AddPageUrl": null,
"AddDialogName": null,
"AddDialogParameters": null
},
"Insert": {
"ServiceAddress": "list-form-data/insert",
"Command": null,
"BeforeCommand": null,
"AfterCommand": "UPDATE m SET MovementNo = (SELECT COALESCE(MAX(x.MovementNo),0)+1 FROM Hr_T_VehicleMovement x WHERE x.TenantId = m.TenantId OR (x.TenantId IS NULL AND m.TenantId IS NULL)) FROM Hr_T_VehicleMovement m WHERE m.Id = @ID AND m.MovementNo = 0;\nUPDATE Hr_T_Vehicle SET Status = @Status, CurrentKm = CASE WHEN @EntryKm IS NOT NULL THEN @EntryKm ELSE CurrentKm END WHERE Id = @VehicleId;\nUPDATE d SET TotalKm = (SELECT COALESCE(SUM(m.TravelledKm),0) FROM Hr_T_VehicleMovement m WHERE m.DriverUserId = d.UserId AND m.IsDeleted = 'false') FROM Hr_T_Driver d WHERE d.UserId = @DriverUserId AND d.IsDeleted = 'false'",
"FieldsDefaultValue": [
{
"FieldName": "CreationTime",
"FieldDbType": 6,
"Value": "@NOW",
"CustomValueType": 2,
"SqlQuery": null
},
{
"FieldName": "CreatorId",
"FieldDbType": 9,
"Value": "@USERID",
"CustomValueType": 2,
"SqlQuery": null
},
{
"FieldName": "IsDeleted",
"FieldDbType": 3,
"Value": "false",
"CustomValueType": 1,
"SqlQuery": null
},
{
"FieldName": "Id",
"FieldDbType": 9,
"Value": "@NEWID",
"CustomValueType": 2,
"SqlQuery": null
}
]
},
"Update": {
"ServiceAddress": "list-form-data/update",
"Command": null,
"BeforeCommand": null,
"AfterCommand": null,
"FieldsDefaultValue": []
},
"Delete": {
"ServiceAddress": "list-form-data/delete",
"Command": "UPDATE \"Hr_T_VehicleMovement\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\" IN @Id",
"BeforeCommand": null,
"AfterCommand": "UPDATE d SET TotalKm = (SELECT COALESCE(SUM(m.TravelledKm),0) FROM Hr_T_VehicleMovement m WHERE m.DriverUserId = d.UserId AND m.IsDeleted = 'false') FROM Hr_T_Driver d WHERE d.UserId IN (SELECT DriverUserId FROM Hr_T_VehicleMovement WHERE Id IN @ID);\nUPDATE v SET CurrentKm = COALESCE((SELECT TOP 1 m.EntryKm FROM Hr_T_VehicleMovement m WHERE m.VehicleId = v.Id AND m.IsDeleted = 'false' AND m.EntryKm IS NOT NULL ORDER BY m.EntryDate DESC, m.EntryTime DESC),0), Status = COALESCE((SELECT TOP 1 m.Status FROM Hr_T_VehicleMovement m WHERE m.VehicleId = v.Id AND m.IsDeleted = 'false' ORDER BY m.ExitDate DESC, m.ExitTime DESC),'Arrived') FROM Hr_T_Vehicle v WHERE v.Id IN (SELECT VehicleId FROM Hr_T_VehicleMovement WHERE Id IN @ID)",
"FieldsDefaultValue": [
{
"FieldName": "DeleterId",
"FieldDbType": 9,
"Value": "@USERID",
"CustomValueType": 2,
"SqlQuery": null
},
{
"FieldName": "Id",
"FieldDbType": 9,
"Value": "@ID",
"CustomValueType": 2,
"SqlQuery": null
}
]
},
"FormDefaults": [
{
"FieldName": "BranchId",
"FieldDbType": 9,
"Value": "",
"CustomValueType": 3,
"SqlQuery": "SELECT b.\"Id\" FROM \"Sas_T_Branch\" b INNER JOIN \"Sas_T_BranchUsers\" bu ON bu.\"BranchId\" = b.\"Id\" AND bu.\"UserId\" = '@USERID' WHERE b.\"IsDeleted\" = 'false' AND b.\"IsActive\" = 'true' AND b.\"TenantId\" = '@TENANTID' ORDER BY b.\"Name\""
}
],
"Permission": {
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"D": "Hr.VehicleMovement.Delete",
"E": "Hr.VehicleMovement.Export",
"I": "Hr.VehicleMovement.Import",
"N": "Hr.VehicleMovement.Note"
},
"FilterRow": {
"Visible": true,
"ApplyFilter": "auto",
"AllowUserUiFilterSave": true
},
"HeaderFilter": {
"Visible": true,
"AllowSearch": false,
"Height": 325,
"SearchTimeout": 500,
"Width": 252
},
"FilterPanel": {
"Visible": false,
"Texts": null,
"FilterEnabled": false,
"CustomizeText": null
},
"SearchPanel": {
"Visible": true,
"Width": 160
},
"GroupPanel": {
"Visible": true,
"AutoExpandAll": false
},
"Selection": {
"Mode": "none",
"AllowSelectAll": false,
"SelectAllMode": "allPages",
"ShowCheckBoxesMode": "always"
},
"ColumnOption": {
"ShowBorders": true,
"ShowRowLines": true,
"ShowColumnLines": false,
"RowAlternationEnabled": true,
"AllowColumnReordering": true,
"AllowColumnResizing": true,
"ColumnResizingMode": "widget",
"ColumnAutoWidth": true,
"RtlEnabled": false,
"ColumnFixingEnabled": true,
"ColumnChooserEnabled": true,
"ColumnChooserMode": "dragAndDrop",
"HoverStateEnabled": false,
"ColumnHidingEnabled": true,
"FocusedRowEnabled": true,
"ShowColumnHeaders": true
},
"Row": {
"RowHeight": "auto",
"WhiteSpace": "normal",
"OverflowWrap": "break-word"
},
"Pager": {
"Visible": true,
"ShowPageSizeSelector": true,
"ShowInfo": false,
"ShowNavigationButtons": true,
"AllowedPageSizes": "10,20,50,100",
"InfoText": "Page {0} of {1} ({2} items)",
"DisplayMode": "adaptive",
"ScrollingMode": "standard",
"LoadPanelEnabled": "auto",
"LoadPanelText": "Loading..."
},
"StateStoring": {
"Enabled": true,
"Type": "custom",
"StorageKey": "listFormGridStorage-Hr.VehicleMovement",
"SavingTimeout": 5000
},
"PivotOption": {
"ColumnChooserEnabled": false,
"AllowFieldDragging": true,
"ShowFieldPanel": true,
"ShowDataFields": true,
"ShowColumnFields": true,
"ShowRowFields": true,
"ShowFilterFields": true,
"ShowChart": false,
"ChartHeight": 320,
"ChartCommonSeriesType": "bar"
},
"TreeOptionDto": {
"KeyExpr": null,
"ParentIdExpr": null,
"HasItemsExpr": null,
"RootValue": null,
"ExpandedRowKeys": [],
"AutoExpandAll": false,
"RecursiveSelection": false,
"TitleExpr": null,
"StartExpr": null,
"EndExpr": null,
"ProgressExpr": null
},
"GanttOptionDto": {
"KeyExpr": null,
"ParentIdExpr": null,
"HasItemsExpr": null,
"RootValue": null,
"ExpandedRowKeys": [],
"AutoExpandAll": false,
"RecursiveSelection": false,
"TitleExpr": null,
"ScaleType": "weeks",
"StartExpr": null,
"EndExpr": null,
"ProgressExpr": null,
"EditingEnabled": false,
"AllowTaskAdding": false,
"AllowTaskUpdating": false,
"AllowTaskResourceUpdating": false,
"AllowTaskDeleting": false,
"AllowDependencyAdding": false,
"AllowDependencyDeleting": false,
"AllowResourceAdding": false,
"AllowResourceUpdating": false,
"AllowResourceDeleting": false
},
"SchedulerOptionDto": {
"TextExpr": null,
"UserNameExpr": null,
"DescriptionExpr": null,
"StartDateExpr": null,
"EndDateExpr": null,
"AllDayExpr": null,
"RecurrenceRuleExpr": null,
"RecurrenceExceptionExpr": null,
"StartDayHour": 8,
"EndDayHour": 20,
"DefaultView": "week",
"ShowAllDayPanel": true,
"CellDuration": 30,
"FirstDayOfWeek": 1,
"CrossScrollingEnabled": false,
"AllowResizing": false,
"AllowDragging": false,
"AllowDeleting": false,
"AllowEditing": false,
"AllowAdding": false
},
"TodoOptionDto": {
"TitleExpr": null,
"StatusExpr": null,
"DescriptionExpr": null,
"AnalysisExpr": null,
"DueDateExpr": null,
"TagExpr": null,
"AssigneeExpr": null,
"PriorityExpr": null,
"CompletedExpr": null,
"OrderExpr": null,
"TimesheetExpr": null,
"SubTaskExpr": null,
"StatusOrder": null,
"AllowDragging": true
},
"ExtraFilters": [],
"CommandColumns": [],
"SubForms": [],
"Widgets": [
{
"ColGap": 3,
"ColSpan": 4,
"SqlQuery": "SELECT 'Sas.Widget.Total' AS \"Title\", CAST(COUNT(*) AS VARCHAR(32)) AS \"Value\", 'blue' AS \"Color\", 'Hr.VehicleMovement' AS \"SubTitle\", 'FaExchangeAlt' AS \"Icon\" FROM \"Hr_T_VehicleMovement\" WHERE \"TenantId\" = '@TENANTID' UNION ALL SELECT 'Hr.Vehicle.Widget.Left', CAST(COUNT(*) AS VARCHAR(32)), 'orange', 'Hr.VehicleMovement', 'FaRoad' FROM \"Hr_T_VehicleMovement\" WHERE \"TenantId\" = '@TENANTID' AND \"Status\" = 'Left' UNION ALL SELECT 'Sas.Widget.Today', CAST(COUNT(*) AS VARCHAR(32)), 'green', 'Hr.VehicleMovement', 'FaCalendarDay' FROM \"Hr_T_VehicleMovement\" WHERE \"TenantId\" = '@TENANTID' AND CAST(\"ExitDate\" AS DATE) = CAST(CURRENT_TIMESTAMP AS DATE)",
"Title": "Title",
"Value": "Value",
"ValueClassName": "text-3xl",
"Color": "Color",
"Icon": "Icon",
"SubTitle": "SubTitle",
"OnClick": null,
"ClassName": "mb-3",
"IsActive": true
}
],
"WorkflowDto": {
"ApprovalUserFieldName": null,
"ApprovalDateFieldName": null,
"ApprovalStatusFieldName": null,
"ApprovalDescriptionFieldName": null,
"ApprovalIsFilterUserName": false,
"ApprovalIsResetWorkflow": false,
"ApprovalIsManualStart": false,
"Criteria": []
},
"ChartOptions": {
"Common": {
"AdjustOnZoom": true,
"ContainerBackgroundColor": "#FFFFFF",
"Palette": "Material",
"PaletteExtensionMode": "blend",
"DefaultPane": null,
"Disabled": false,
"Theme": "generic.light"
},
"AdaptiveLayout": {
"Height": 80,
"Width": 80,
"KeepLabels": true
},
"Animation": {
"Duration": 1000,
"Easing": "easeOutCubic",
"Enabled": true,
"MaxPointCountSupported": 300
},
"Annotations": [],
"ArgumentAxis": {
"ArgumentType": null,
"AggregationInterval": null,
"Grid": {
"Color": "#d3d3d3",
"Visible": false,
"Width": 1
},
"HoverMode": "none",
"Label": {
"DisplayMode": "standard",
"RotationAngle": 90,
"OverlappingBehavior": "hide"
},
"Position": "bottom",
"Title": null,
"Visible": true,
"Width": 1,
"WorkdaysOnly": false
},
"CommonAnnotationSettings": {
"Argument": null,
"Border": {
"Color": "#d3d3d3",
"CornerRadius": 0,
"DashStyle": "solid",
"Visible": false,
"Width": 1
},
"Color": "#ffffff",
"Description": null,
"Font": {
"Color": "#FFFFFF",
"Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif",
"Size": 12,
"Weight": 400
},
"Height": -1,
"Image": null,
"OffsetX": -1,
"OffsetY": -1,
"PaddingLeftRight": 10,
"PaddingTopBottom": 10,
"Series": null,
"Text": null,
"TooltipEnabled": true,
"Type": null,
"Value": null,
"Width": 0,
"WordWrap": "normal",
"X": 0,
"Y": 0
},
"CommonAxisSettings": {
"Grid": {
"Color": "#d3d3d3",
"Visible": false,
"Width": 1
},
"Title": null,
"Visible": true,
"Width": 1
},
"CommonPaneSettings": {
"BackgroundColor": null
},
"CommonSeriesSettings": {
"ArgumentField": "arg",
"Axis": null,
"BarOverlapGroup": null,
"BarPadding": 0,
"BarWidth": 0,
"Color": null,
"CornerRadius": 0,
"DashStyle": "solid",
"IgnoreEmptyPoints": false,
"Pane": null,
"RangeValue1Field": "val1",
"RangeValue2Field": "val2",
"SelectionMode": "none",
"ShowInLegend": true,
"Type": null,
"ValueField": null,
"Visible": true,
"Width": 2,
"Label": null
},
"Crosshair": {
"Color": "#f05b41",
"DashStyle": "dot",
"Enabled": false,
"Width": 1,
"HorizontalLine": {
"Color": "#f05b41",
"DashStyle": "dot",
"Label": {
"BackgroundColor": "#f05b41",
"CustomizeText": null,
"Font": {
"Color": "#FFFFFF",
"Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif",
"Size": 12,
"Weight": 400
},
"Visible": false,
"Format": null
},
"Visible": true,
"Width": 1
},
"Label": {
"BackgroundColor": "#f05b41",
"CustomizeText": null,
"Font": {
"Color": "#FFFFFF",
"Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif",
"Size": 12,
"Weight": 400
},
"Visible": false,
"Format": null
},
"VerticalLine": {
"Color": "#f05b41",
"DashStyle": "dot",
"Label": {
"BackgroundColor": "#f05b41",
"CustomizeText": null,
"Font": {
"Color": "#FFFFFF",
"Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif",
"Size": 12,
"Weight": 400
},
"Visible": false,
"Format": null
},
"Visible": true,
"Width": 1
}
},
"Export": {
"BackgroundColor": "#FFFFFF",
"Enabled": true,
"AllowExportSelectedData": false,
"Margin": 10,
"PrintingEnabled": true
},
"Legend": {
"BackgroundColor": null,
"Border": {
"Color": "#d3d3d3",
"CornerRadius": 0,
"DashStyle": "solid",
"Visible": false,
"Width": 1
},
"ColumnCount": 0,
"Orientation": "vertical",
"Position": "outside",
"RowCount": 0,
"Title": null,
"Visible": true
},
"Margin": {
"Bottom": 0,
"Left": 0,
"Right": 0,
"Top": 0
},
"Panes": [],
"ScrollBar": {
"Color": "gray",
"Offset": 5,
"Position": "top",
"Visible": false,
"Width": 10
},
"Series": [],
"Size": {
"UseSize": false,
"Width": 400,
"Height": 200
},
"Title": {
"Text": null,
"VerticalAlignment": "top",
"HorizontalAlignment": "center",
"Subtitle": null,
"TextOverflow": "ellipsis",
"WordWrap": null
},
"Tooltip": {
"ArgumentFormat": null,
"ArrowLength": 10,
"Border": {
"Color": "#d3d3d3",
"CornerRadius": 0,
"DashStyle": "solid",
"Visible": false,
"Width": 1
},
"Color": "#ffffff",
"Enabled": false,
"Font": {
"Color": "#000000",
"Family": "\"Segoe UI\", \"Helvetica Neue\", \"Trebuchet MS\", Verdana, sans-serif",
"Size": 12,
"Weight": 400
},
"Format": null,
"Location": "center",
"PaddingLeftRight": 18,
"PaddingTopBottom": 15,
"Shared": false
},
"ValueAxis": [],
"ZoomAndPan": {
"AllowMouseWheel": true,
"AllowTouchGestures": true,
"ArgumentAxis": "none",
"DragToZoom": false,
"PanKey": "shift",
"ValueAxis": "none",
"DragBoxStyle": {
"Color": null,
"Opacity": 0
}
}
},
"Groups": [
{
"Caption": "Hr.VehicleMovement.Group.Exit",
"ColCount": 2,
"ColSpan": 2,
"Items": [
{
"FieldName": "ExitDate",
"CaptionName": "Sas.Listform.ListformField.ExitDate",
"En": "Exit Date",
"Tr": "Çıkış Tarihi",
"EditorType": "dxDateBox",
"EditorOptions": "{\"type\":\"date\",\"displayFormat\":\"shortDate\",\"dateSerializationFormat\":\"yyyy-MM-dd\",\"useMaskBehavior\":true,\"showClearButton\":true}",
"EditorScript": "// @runOnOpen\nif (isReady && !get(\"ExitDate\")) set(\"ExitDate\", new Date().toISOString().slice(0, 10))\nif (isReady && !get(\"ExitTime\")) { const n = new Date(); set(\"ExitTime\", String(n.getHours()).padStart(2, \"0\") + \":\" + String(n.getMinutes()).padStart(2, \"0\")) }\nif (isReady && !get(\"Status\")) set(\"Status\", \"Left\")",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 5,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 3,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [
{
"Type": "required",
"Message": null,
"IgnoreEmptyValue": false,
"Reevaluate": true,
"ComparisonType": "",
"ComparisonTarget": null,
"ValidationCallback": null,
"Pattern": "",
"Max": null,
"Min": null,
"Trim": true
}
],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "BranchId",
"CaptionName": "Sas.Listform.ListformField.ExitBranchId",
"En": "Exit Branch",
"Tr": "Çıkış Şube",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT b.\"Id\" AS \"Key\", b.\"Name\" AS \"Name\" FROM \"Sas_T_Branch\" b INNER JOIN \"Sas_T_BranchUsers\" bu ON bu.\"BranchId\" = b.\"Id\" AND bu.\"UserId\" = '@USERID' WHERE b.\"IsDeleted\" = 'false' AND b.\"IsActive\" = 'true' AND b.\"TenantId\" = '@TENANTID' ORDER BY b.\"Name\"",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 4,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "ExitTime",
"CaptionName": "Sas.Listform.ListformField.ExitTime",
"En": "Exit Time",
"Tr": "Çıkış Saati",
"EditorType": "dxTextBox",
"EditorOptions": "{\"mask\":\"00:00\",\"useMaskedValue\":true,\"maxLength\":5}",
"EditorScript": "const toMin = (d, t) => { const dt = dateOf(d); const tm = String(get(t) || \"\"); if (!dt || !/^\\d{1,2}:\\d{2}$/.test(tm)) return null; const p = tm.split(\":\").map(Number); return Math.floor(Date.UTC(dt.getFullYear(), dt.getMonth(), dt.getDate()) / 60000) + p[0] * 60 + p[1]; }\nconst s0 = toMin(\"ExitDate\", \"ExitTime\"), s1 = toMin(\"EntryDate\", \"EntryTime\")\nset(\"DurationMinutes\", (s0 !== null && s1 !== null && s1 >= s0) ? s1 - s0 : null)",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 16,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 5,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [
{
"Type": "required",
"Message": null,
"IgnoreEmptyValue": false,
"Reevaluate": true,
"ComparisonType": "",
"ComparisonTarget": null,
"ValidationCallback": null,
"Pattern": "",
"Max": null,
"Min": null,
"Trim": true
}
],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "ExitKm",
"CaptionName": "Sas.Listform.ListformField.ExitKm",
"En": "Exit Km",
"Tr": "Çıkış Km",
"EditorType": "dxNumberBox",
"EditorOptions": "{\"min\":0,\"format\":\"#,##0\"}",
"EditorScript": "if (num(\"ExpectedKm\") > 0 && num(\"ExitKm\") < num(\"ExpectedKm\")) { notify(\"Çıkış Km, olması gereken km'den küçük olamaz; olması gereken km yazıldı.\"); set(\"ExitKm\", num(\"ExpectedKm\")) }\nconst ek = get(\"EntryKm\")\nif (ek !== null && ek !== undefined && ek !== \"\") set(\"TravelledKm\", num(\"EntryKm\") - num(\"ExitKm\"))",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 6,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [
{
"Type": "required",
"Message": null,
"IgnoreEmptyValue": false,
"Reevaluate": true,
"ComparisonType": "",
"ComparisonTarget": null,
"ValidationCallback": null,
"Pattern": "",
"Max": null,
"Min": null,
"Trim": true
}
],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "SenderUserId",
"CaptionName": "Sas.Listform.ListformField.SenderUserId",
"En": "Sent By",
"Tr": "Gönderen Personel",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], COALESCE(Name, '') + ' ' + COALESCE(Surname, '') AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 7,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "SecurityUserId",
"CaptionName": "Sas.Listform.ListformField.SecurityUserId",
"En": "Security Staff",
"Tr": "Güvenlik Personeli",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], COALESCE(Name, '') + ' ' + COALESCE(Surname, '') AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 8,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "DriverUserId",
"CaptionName": "Sas.Listform.ListformField.DriverUserId",
"En": "Driver",
"Tr": "Kullanan Personel",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], COALESCE(Name, '') + ' ' + COALESCE(Surname, '') AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 9,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [
{
"Type": "required",
"Message": null,
"IgnoreEmptyValue": false,
"Reevaluate": true,
"ComparisonType": "",
"ComparisonTarget": null,
"ValidationCallback": null,
"Pattern": "",
"Max": null,
"Min": null,
"Trim": true
}
],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "VehicleId",
"CaptionName": "Sas.Listform.ListformField.VehicleId",
"En": "Vehicle / Plate",
"Tr": "Araç Adı / Plaka",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": "const km = snum(\"CurrentKm\")\nset(\"ExpectedKm\", km)\nif (!num(\"ExitKm\")) set(\"ExitKm\", km)",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], Name + ' - ' + PlateNumber AS [Name], CurrentKm AS [CurrentKm] FROM Hr_T_Vehicle WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 10,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [
{
"Type": "required",
"Message": null,
"IgnoreEmptyValue": false,
"Reevaluate": true,
"ComparisonType": "",
"ComparisonTarget": null,
"ValidationCallback": null,
"Pattern": "",
"Max": null,
"Min": null,
"Trim": true
}
],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "DestinationId",
"CaptionName": "Sas.Listform.ListformField.DestinationId",
"En": "Destination",
"Tr": "Gidilen Yer",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Hr_T_VehicleDestination WHERE IsDeleted = 'false' AND IsActive = 1 AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 11,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "Reason",
"CaptionName": "Sas.Listform.ListformField.Reason",
"En": "Reason",
"Tr": "Gidiş Sebebi",
"EditorType": "dxTextBox",
"EditorOptions": null,
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 16,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 12,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "Location",
"CaptionName": "Sas.Listform.ListformField.Location",
"En": "Location",
"Tr": "Konum",
"EditorType": "dxTextBox",
"EditorOptions": "{\"showClearButton\":true,\"maxLength\":128}",
"EditorScript": null,
"ColSpan": 2,
"IncludeInEditingForm": true,
"DbSourceType": 16,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 13,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "Id",
"CaptionName": "Sas.Listform.ListformField.Id",
"En": "Id",
"Tr": "Kimlik",
"EditorType": "dxTextBox",
"EditorOptions": null,
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": false,
"DbSourceType": 9,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": false,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 1,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "MovementNo",
"CaptionName": "Sas.Listform.ListformField.MovementNo",
"En": "Movement No",
"Tr": "Hareket No",
"EditorType": "dxNumberBox",
"EditorOptions": null,
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": false,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 2,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
}
]
},
{
"Caption": "Hr.VehicleMovement.Group.Entry",
"ColCount": 2,
"ColSpan": 2,
"Items": [
{
"FieldName": "EntrySecurityUserId",
"CaptionName": "Sas.Listform.ListformField.EntrySecurityUserId",
"En": "Entry Security Staff",
"Tr": "Giriş Yapan Güvenlik Per.",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 2,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], COALESCE(Name, '') + ' ' + COALESCE(Surname, '') AS [Name] FROM AbpUsers WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 14,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "EntryDate",
"CaptionName": "Sas.Listform.ListformField.EntryDate",
"En": "Entry Date",
"Tr": "Giriş Tarihi",
"EditorType": "dxDateBox",
"EditorOptions": "{\"type\":\"date\",\"displayFormat\":\"shortDate\",\"dateSerializationFormat\":\"yyyy-MM-dd\",\"useMaskBehavior\":true,\"showClearButton\":true}",
"EditorScript": "const toMin = (d, t) => { const dt = dateOf(d); const tm = String(get(t) || \"\"); if (!dt || !/^\\d{1,2}:\\d{2}$/.test(tm)) return null; const p = tm.split(\":\").map(Number); return Math.floor(Date.UTC(dt.getFullYear(), dt.getMonth(), dt.getDate()) / 60000) + p[0] * 60 + p[1]; }\nconst s0 = toMin(\"ExitDate\", \"ExitTime\"), s1 = toMin(\"EntryDate\", \"EntryTime\")\nset(\"DurationMinutes\", (s0 !== null && s1 !== null && s1 >= s0) ? s1 - s0 : null)",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 5,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 15,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "EntryBranchId",
"CaptionName": "Sas.Listform.ListformField.EntryBranchId",
"En": "Entry Branch",
"Tr": "Giriş Şube",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"searchEnabled\":true,\"showClearButton\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 9,
"LookupDataSourceType": 2,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": "SELECT Id AS [Key], Name AS [Name] FROM Sas_T_Branch WHERE IsDeleted = 'false' AND TenantId = '@TENANTID' ORDER BY Name",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 16,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "EntryTime",
"CaptionName": "Sas.Listform.ListformField.EntryTime",
"En": "Entry Time",
"Tr": "Giriş Saati",
"EditorType": "dxTextBox",
"EditorOptions": "{\"mask\":\"00:00\",\"useMaskedValue\":true,\"maxLength\":5}",
"EditorScript": "const toMin = (d, t) => { const dt = dateOf(d); const tm = String(get(t) || \"\"); if (!dt || !/^\\d{1,2}:\\d{2}$/.test(tm)) return null; const p = tm.split(\":\").map(Number); return Math.floor(Date.UTC(dt.getFullYear(), dt.getMonth(), dt.getDate()) / 60000) + p[0] * 60 + p[1]; }\nconst s0 = toMin(\"ExitDate\", \"ExitTime\"), s1 = toMin(\"EntryDate\", \"EntryTime\")\nset(\"DurationMinutes\", (s0 !== null && s1 !== null && s1 >= s0) ? s1 - s0 : null)",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 16,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 17,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "EntryKm",
"CaptionName": "Sas.Listform.ListformField.EntryKm",
"En": "Entry Km",
"Tr": "Giriş Km",
"EditorType": "dxNumberBox",
"EditorOptions": "{\"min\":0,\"format\":\"#,##0\"}",
"EditorScript": "const ek = get(\"EntryKm\")\nconst hasEntry = ek !== null && ek !== undefined && ek !== \"\"\nif (hasEntry && num(\"EntryKm\") < num(\"ExitKm\")) { notify(\"Giriş Km, çıkış km'den küçük olamaz.\"); revert(); return }\nif (hasEntry) { const n = new Date(); set({ Status: \"Arrived\", TravelledKm: num(\"EntryKm\") - num(\"ExitKm\") }); if (!get(\"EntryDate\")) set(\"EntryDate\", n.toISOString().slice(0, 10)); if (!get(\"EntryTime\")) set(\"EntryTime\", String(n.getHours()).padStart(2, \"0\") + \":\" + String(n.getMinutes()).padStart(2, \"0\")) }\nelse { set({ Status: \"Left\", TravelledKm: null }) }",
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": "0",
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 18,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "TravelledKm",
"CaptionName": "Sas.Listform.ListformField.TravelledKm",
"En": "Travelled Km",
"Tr": "Yapılan Km",
"EditorType": "dxNumberBox",
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0\"}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 19,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "Status",
"CaptionName": "Sas.Listform.ListformField.VehicleStatus",
"En": "Status",
"Tr": "Durum",
"EditorType": "dxSelectBox",
"EditorOptions": "{\"readOnly\":true}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 16,
"LookupDataSourceType": 1,
"ValueExpr": "key",
"DisplayExpr": "name",
"LookupQuery": "[{\"key\":\"Arrived\",\"name\":\"Sas.StaticLookup.Arrived\"},{\"key\":\"Left\",\"name\":\"Sas.StaticLookup.Status.Left\"}]",
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 20,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "DurationMinutes",
"CaptionName": "Sas.Listform.ListformField.DurationMinutes",
"En": "Duration (min)",
"Tr": "Gezinti Süresi / Dk",
"EditorType": "dxNumberBox",
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0\"}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 21,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
},
{
"FieldName": "ExpectedKm",
"CaptionName": "Sas.Listform.ListformField.ExpectedKm",
"En": "Expected Km",
"Tr": "Olması Gereken Km",
"EditorType": "dxNumberBox",
"EditorOptions": "{\"readOnly\":true,\"format\":\"#,##0\"}",
"EditorScript": null,
"ColSpan": 1,
"IncludeInEditingForm": true,
"DbSourceType": 11,
"LookupDataSourceType": 0,
"ValueExpr": "Key",
"DisplayExpr": "Name",
"LookupQuery": null,
"DefaultValue": null,
"CascadeParentFields": null,
"CascadeRelationField": null,
"CascadeFilterOperator": null,
"CascadeEmptyFields": null,
"CultureName": "en",
"RoleId": null,
"UserId": null,
"PlaceHolder": null,
"BandName": null,
"ReadOnly": false,
"Visible": true,
"IsActive": true,
"AllowSearch": true,
"Alignment": "left",
"Format": null,
"ListOrderNo": 22,
"Width": 0,
"SortIndex": 0,
"SortDirection": null,
"AllowEditing": true,
"AllowAdding": true,
"ColumnCssClass": null,
"ColumnCssValue": null,
"Filter": {
"AllowFiltering": true,
"FilterOperations": null,
"SelectedFilterOperation": null,
"FilterValue": null
},
"Header": {
"AllowHeaderFiltering": true,
"AllowSearch": false,
"DataSource": null,
"DataSourceString": ""
},
"Grouping": {
"AllowGrouping": true,
"GroupIndex": null,
"AutoExpandGroup": false
},
"Customization": {
"Fixed": false,
"FixedPosition": "left",
"AllowReordering": true
},
"TotalSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"GroupSummary": {
"SummaryType": null,
"ValueFormat": null,
"ShowInGroupFooter": false,
"AlignByColumn": false,
"DisplayFormat": null,
"ShowInColumn": null
},
"Join": {
"JoinType": null,
"TableName": null,
"JoinFieldName": null,
"BaseTableJoinFieldName": null,
"SelectFieldName": null,
"FieldNameAlias": null,
"JoinCondition2": "AND",
"JoinFieldName2": null,
"BaseTableJoinFieldName2_OrValue": null
},
"ValidationRules": [],
"Styling": [],
"Permission": {
"Deny": false,
"C": "Hr.VehicleMovement.Create",
"R": "Hr.VehicleMovement",
"U": "Hr.VehicleMovement.Update",
"E": true,
"I": true
},
"PivotSettings": {
"IsPivot": true,
"Expanded": false,
"SortOrder": "asc",
"Area": "filter",
"Format": null,
"SummaryType": null,
"GroupInterval": "",
"WordWrapEnabled": false
}
}
]
}
]
},
"InsertedRecords": {
"LanguageKeys": [
"Hr.VehicleMovement",
"Hr.VehicleMovement.Title",
"Hr.VehicleMovement.Desc",
"Hr.VehicleMovement.Group.Exit",
"Hr.VehicleMovement.Group.Entry",
"Sas.Listform.ListformField.MovementNo",
"Sas.Listform.ListformField.ExitBranchId",
"Sas.Listform.ListformField.ExitKm",
"Sas.Listform.ListformField.SenderUserId",
"Sas.Listform.ListformField.SecurityUserId",
"Sas.Listform.ListformField.DriverUserId",
"Sas.Listform.ListformField.DestinationId",
"Sas.Listform.ListformField.EntrySecurityUserId",
"Sas.Listform.ListformField.EntryBranchId",
"Sas.Listform.ListformField.EntryKm",
"Sas.Listform.ListformField.TravelledKm",
"Sas.Listform.ListformField.DurationMinutes",
"Sas.Listform.ListformField.ExpectedKm"
],
"PermissionGroupNames": [],
"PermissionNames": [
"Hr.VehicleMovement",
"Hr.VehicleMovement.Create",
"Hr.VehicleMovement.Update",
"Hr.VehicleMovement.Delete",
"Hr.VehicleMovement.Export",
"Hr.VehicleMovement.Import",
"Hr.VehicleMovement.Note"
],
"MenuCodes": [
"Hr.VehicleMovement"
],
"DataSourceCodes": [],
"ModuleIds": []
},
"DevRequest": {
"Id": "b0b200d4-f3f6-4fe3-9f11-5bff3040a110",
"Title": "Human Resources -> Araçlar"
}
}