{
	"model":{
		"title":{
			"da":"Portfolio",
			"en":"Portfolio"
		},
		"proxy":{
			"defaultHive":"ip2-services/",
			"url":"ip2dmdProxy.aspx"
		},
		"defaults":{
			"permission":{
				"locked":{
					"form":false,
					"grid":false
				},
				"add":{
					"form":true,
					"grid":true
				},
				"edit":{
					"form":true,
					"grid":false
				},
				"remove":{
					"grid":true,
					"form":true
				}
			}
		},
		"entities":{
			"NAVUSDET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Aktive devices",
					"en":"Active Devices"
				},
				"cid":"A",
				"idColumn":"USDUSDTKN",
				"keys":[
					{
						"primary":true,
						"columns":[
							"USDUSRTKN"
						],
						"name":"NAVUSDET01"
					},{
						"columns":[
							"USDKEY"
						],
						"name":"NAVUSDET02"
					}
				],
				"columns":{
					"USDUSDTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"USDUSDTKN"
					},
					"USDUSRTKN":{
						"title":{
							"da":"Bruger ID",
							"en":"User ID"
						},
						"type":"integer",
						"name":"USDUSRTKN"
					},
					"USDKEY":{
						"title":{
							"da":"Aktive devices",
							"en":"Active Devices"
						},
						"type":"varchar(256)",
						"isTitle":true,
						"name":"USDKEY"
					},
					"USDTS":{
						"title":{
							"da":"Created",
							"en":"Created"
						},
						"type":"timestamp",
						"uitype":"isotimestamp",
						"name":"USDTS"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"USDUSRTKN",
							"columns":[
								{
									"name":"USDUSDTKN",
									"width":80
								},{
									"name":"USDUSRTKN",
									"width":80
								},{
									"name":"USDKEY",
									"align":"left"
								},{
									"name":"USDTS",
									"align":"RIGHT"
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Aktive devices",
								"en":"Active Devices"
							},
							"columns":[
								{
									"name":"USDUSDTKN"
								},{
									"name":"USDUSRTKN"
								},{
									"name":"USDKEY"
								},{
									"name":"USDTS"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"USDUSDTKN"
										},{
											"name":"USDUSRTKN"
										},{
											"name":"USDKEY"
										},{
											"name":"USDTS"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVUSDET00",
				"designer":{
					"x":10,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVUSRET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Bruger",
					"en":"User"
				},
				"cid":"B",
				"idColumn":"USRUSRTKN",
				"properties":{
					"xpd":"user.xpd",
					"poteriyhost":"USRPROP"
				},
				"columns":{
					"USRUSRTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"USRUSRTKN"
					},
					"USRID":{
						"title":{
							"da":"Bruger ID",
							"en":"User ID"
						},
						"type":"varchar(256)",
						"isTitle":true,
						"name":"USRID"
					},
					"USRPWD":{
						"title":{
							"da":"Kodeord",
							"en":"Password"
						},
						"type":"varchar(128)",
						"name":"USRPWD"
					},
					"USRPIN":{
						"title":{
							"da":"Pinkode",
							"en":"Pincode"
						},
						"type":"varchar(8)",
						"name":"USRPIN"
					},
					"USRNAM":{
						"title":{
							"da":"Bruger navn",
							"en":"User name"
						},
						"type":"varchar(256)",
						"name":"USRNAM"
					},
					"USRPRF":{
						"title":{
							"da":"IBMi bruger profile",
							"en":"IBMi user profile"
						},
						"type":"char(10)",
						"name":"USRPRF"
					},
					"USRIMG":{
						"title":{
							"da":"Billede",
							"en":"Image"
						},
						"type":"varchar(256)",
						"name":"USRIMG"
					},
					"USREML":{
						"title":{
							"da":"Email adresse",
							"en":"Email address"
						},
						"type":"varchar(256)",
						"name":"USREML"
					},
					"USRCID":{
						"title":{
							"da":"cid",
							"en":"cid"
						},
						"type":"integer",
						"name":"USRCID"
					},
					"USRLNG":{
						"title":{
							"da":"Sprogkode",
							"en":"Languagecode"
						},
						"type":"char(2)",
						"name":"USRLNG"
					},
					"USRERPTKN":{
						"title":{
							"da":"ERP Token",
							"en":"ERP Token"
						},
						"type":"varchar(64)",
						"name":"USRERPTKN"
					},
					"USRPROP":{
						"title":{
							"da":"Bruger egenskaber",
							"en":"User properties"
						},
						"xpd":"users",
						"uitype":"xpd",
						"type":"clob",
						"name":"USRPROP"
					},
					"USRFILTER":{
						"title":{
							"da":"Tabel tilgangsfilter",
							"en":"Table Access Filter"
						},
						"type":"clob",
						"uitype":"varchar",
						"name":"USRFILTER"
					},
					"USRLOGONTS":{
						"title":{
							"da":"Sidst logget på",
							"en":"Last logon time"
						},
						"type":"timestamp",
						"uitype":"isotimestamp",
						"name":"USRLOGONTS"
					},
					"USRACTSTS":{
						"title":{
							"da":"Status",
							"en":"Status"
						},
						"type":"integer",
						"enum":"activestatus",
						"uitype":"enum",
						"preprocess":[
							{
								"regexp":"^",
								"replace":"webr~activestatus~"
							}
						],
						"postprocess":[
							{
								"search":"webr~activestatus~",
								"replace":""
							}
						],
						"name":"USRACTSTS"
					}
				},
				"widgets":{
					"user":{
						"widgets":{
							"userrolepreview":{
								"path":"/wsh-widgets/userrolepreview.widget",
								"name":"userrolepreview",
								"title":{
									"da":"Roller",
									"en":"Roles"
								}
							},
							"usertableaccess":{
								"path":"/wsh-widgets/usertableaccess.widget",
								"name":"usertableaccess",
								"title":{
									"da":"Dataadgang",
									"en":"Data access"
								}
							},
							"history":{
								"name":"history",
								"path":"/wsh-widgets/entityhistory.widget",
								"title":{
									"da":"Historik",
									"en":"History"
								}
							}
						}
					}
				},
				"uiFeatures":{
					"menu":{
						"src":"/wsh-widgets/clientMenu.widget"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"USRNAM",
							"as":[
								"select USRUSRTKN, USRID, USRNAM, USRPRF, ","case ifnull(STATUS, '-1') ","when '-1' then USRACTSTS ","else ","case STATUS ","when '*ENABLED' then 50 ","else 10 end ","end as USRACTSTS, ","USRLOGONTS, USREML, USRPWD, USRPIN ","from NAVUSRET00 ","left join USER_INFO ","on USER_NAME = USRID"
							],
							"columns":[
								{
									"name":"USRUSRTKN",
									"width":80
								},{
									"name":"USRID",
									"align":"left"
								},{
									"name":"USRNAM",
									"align":"left"
								},{
									"name":"USRPRF"
								},{
									"name":"USRACTSTS"
								},{
									"name":"USRLOGONTS",
									"align":"center"
								},{
									"name":"USREML"
								},{
									"name":"USRPWD",
									"hide":true
								},{
									"name":"USRPIN",
									"hide":true
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Bruger",
								"en":"User"
							},
							"columns":[
								{
									"name":"USRUSRTKN"
								},{
									"name":"USRID"
								},{
									"name":"USRPWD"
								},{
									"name":"USRPIN"
								},{
									"name":"USRPRF"
								},{
									"name":"USRNAM"
								},{
									"name":"USRIMG"
								},{
									"name":"USREML"
								},{
									"name":"USRLNG"
								},{
									"name":"USRPROP"
								},{
									"name":"USRACTSTS"
								},{
									"name":"USRLOGONTS"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								},
								"user":{
									"index":1
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"USRUSRTKN"
										},{
											"name":"USRID"
										},{
											"name":"USRPWD"
										},{
											"name":"USRPIN"
										},{
											"name":"USRNAM"
										},{
											"name":"USRIMG"
										},{
											"name":"USREML"
										},{
											"name":"USRPROP"
										},{
											"name":"USRACTSTS"
										},{
											"name":"USRLOGONTS"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVUSRET00",
				"designer":{
					"x":220,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVROLET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Roller",
					"en":"Roles"
				},
				"cid":"C",
				"idColumn":"ROLROLTKN",
				"columns":{
					"ROLROLTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"ROLROLTKN"
					},
					"ROLTYP":{
						"title":{
							"da":"Rolletype",
							"en":"Role type"
						},
						"type":"varchar(32)",
						"name":"ROLTYP"
					},
					"ROLDSC":{
						"title":{
							"da":"Beskrivelse",
							"en":"Description"
						},
						"type":"varchar(256)",
						"isTitle":true,
						"name":"ROLDSC"
					},
					"ROLPROP":{
						"title":{
							"da":"Rolle egenskaber",
							"en":"Role properties"
						},
						"xpd":"userroles",
						"uitype":"xpd",
						"type":"clob",
						"name":"ROLPROP"
					},
					"ROLREGPROP":{
						"title":{
							"da":"Registry egenskaber",
							"en":"Registry properties"
						},
						"type":"clob",
						"name":"ROLREGPROP"
					},
					"ROLFILTER":{
						"title":{
							"da":"Tabel tilgangsfilter",
							"en":"Table Access Filter"
						},
						"type":"clob",
						"name":"ROLFILTER"
					},
					"ROLACCMSK":{
						"title":{
							"da":"Access mask",
							"en":"Access mask"
						},
						"type":"bigint",
						"name":"ROLACCMSK"
					},
					"ROLACTSTS":{
						"title":{
							"da":"Status",
							"en":"Status"
						},
						"type":"integer",
						"enum":"activestatus",
						"uitype":"enum",
						"preprocess":[
							{
								"regexp":"^",
								"replace":"webr~activestatus~"
							}
						],
						"postprocess":[
							{
								"search":"webr~activestatus~",
								"replace":""
							}
						],
						"name":"ROLACTSTS"
					}
				},
				"widgets":{
					"rolepermission":{
						"widgets":{
							"rolepermission":{
								"path":"/wsh-widgets/rolePermission.widget",
								"name":"rolepermission",
								"title":{
									"da":"Tilladelser",
									"en":"Permissions"
								}
							},
							"rolepermissionmenu":{
								"path":"/wsh-widgets/rolePermissionMenu.widget",
								"name":"rolepermissionmenu",
								"title":{
									"da":"Menu",
									"en":"Menu"
								}
							},
							"rolepermissionnavigation":{
								"path":"/wsh-widgets/rolePermissionNavigation.widget",
								"name":"rolepermissionnavigation",
								"title":{
									"da":"Navigation",
									"en":"Navigation"
								}
							},
							"roleusable":{
								"path":"/wsh-widgets/roleUsable.widget",
								"name":"roleusable",
								"title":{
									"da":"Rollestyring",
									"en":"Role control"
								}
							}
						}
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"ROLTYP",
							"columns":[
								{
									"name":"ROLROLTKN",
									"width":80
								},{
									"name":"ROLTYP",
									"align":"left"
								},{
									"name":"ROLDSC",
									"align":"left"
								},{
									"name":"ROLACTSTS"
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Rolle",
								"en":"Role"
							},
							"columns":[
								{
									"name":"ROLROLTKN"
								},{
									"name":"ROLTYP"
								},{
									"name":"ROLDSC"
								},{
									"name":"ROLPROP"
								},{
									"name":"ROLACTSTS"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								},
								"rolepermission":{
									"index":1
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"ROLROLTKN"
										},{
											"name":"ROLTYP"
										},{
											"name":"ROLDSC"
										},{
											"name":"ROLPROP"
										},{
											"name":"ROLACTSTS"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVROLET00",
				"designer":{
					"x":430,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVERLRL00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Entity / Rolle relation",
					"en":"Entity / Role relation"
				},
				"keys":[
					{
						"primary":true,
						"columns":[
							"ERLENT","ERLENTTKN","ERLROLTKN"
						],
						"name":"NAVERLRL01"
					},{
						"columns":[
							"ERLENT","ERLROLTKN"
						],
						"name":"NAVERLRL02"
					}
				],
				"cid":"D",
				"idColumn":"ERLERLTKN",
				"columns":{
					"ERLERLTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"ERLERLTKN"
					},
					"ERLENT":{
						"title":{
							"da":"Entity",
							"en":"Entity"
						},
						"type":"char(10)",
						"name":"ERLENT"
					},
					"ERLENTTKN":{
						"title":{
							"da":"Entity ID",
							"en":"Entity ID"
						},
						"type":"integer",
						"name":"ERLENTTKN"
					},
					"ERLROLTKN":{
						"title":{
							"da":"Rolle ID",
							"en":"Role ID"
						},
						"type":"integer",
						"name":"ERLROLTKN"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"ERLERLTKN",
							"columns":[
								{
									"name":"ERLERLTKN",
									"width":80
								},{
									"name":"ERLENT",
									"width":120
								},{
									"name":"ERLENTTKN",
									"width":80
								},{
									"name":"ERLROLTKN",
									"width":80
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Rolle",
								"en":"Role"
							},
							"columns":[
								{
									"name":"ERLERLTKN"
								},{
									"name":"ERLENT"
								},{
									"name":"ERLENTTKN"
								},{
									"name":"ERLROLTKN"
								}
							],
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"ERLERLTKN"
										},{
											"name":"ERLENT"
										},{
											"name":"ERLENTTKN"
										},{
											"name":"ERLROLTKN"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVERLRL00",
				"designer":{
					"x":640,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVPRMET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Tilladelser",
					"en":"Permissions"
				},
				"cid":"E",
				"idColumn":"PRMPRMTKN",
				"columns":{
					"PRMPRMTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"PRMPRMTKN"
					},
					"PRMROLTKN":{
						"title":{
							"da":"Rolle ID",
							"en":"Role ID"
						},
						"type":"integer",
						"name":"PRMROLTKN"
					},
					"PRMREGTKN":{
						"title":{
							"da":"Registry ID",
							"en":"Registry ID"
						},
						"type":"integer",
						"name":"PRMREGTKN"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"URLURLTKN",
							"columns":[
								{
									"name":"PRMPRMTKN",
									"width":80
								},{
									"name":"PRMROLTKN",
									"width":80
								},{
									"name":"PRMREGTKN",
									"width":80
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Rolle",
								"en":"Role"
							},
							"columns":[
								{
									"name":"PRMPRMTKN"
								},{
									"name":"PRMROLTKN"
								},{
									"name":"PRMREGTKN"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								},
								"ROLPROP":{
									"index":1
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"PRMPRMTKN"
										},{
											"name":"PRMROLTKN"
										},{
											"name":"PRMREGTKN"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVPRMET00",
				"designer":{
					"x":850,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVURFET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Bruger række filter",
					"en":"User row filter"
				},
				"cid":"F",
				"idColumn":"URFURFTKN",
				"index":[
					{
						"name":"NAVURFET01",
						"on":"URFUSRTKN,URFENTITY"
					}
				],
				"columns":{
					"URFURFTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"URFURFTKN"
					},
					"URFUSRTKN":{
						"title":{
							"da":"Bruger ID nummer",
							"en":"User tokten number"
						},
						"type":"integer",
						"name":"URFUSRTKN"
					},
					"URFENTITY":{
						"title":{
							"da":"Entitets navn",
							"en":"Entity name"
						},
						"type":"char(10)",
						"name":"URFENTITY"
					},
					"URFENTTKN":{
						"title":{
							"da":"Entitets række nummer",
							"en":"Entitets row token"
						},
						"type":"integer",
						"name":"URFENTTKN"
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVURFET00",
				"designer":{
					"x":1060,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVMNUET00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Menu",
					"en":"Menu"
				},
				"cid":"G",
				"idColumn":"MNUMNUTKN",
				"titleColumn":"MNUPROP_NAME",
				"columns":{
					"MNUMNUTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"MNUMNUTKN"
					},
					"MNUPNTTKN":{
						"title":{
							"da":"Parent ID",
							"en":"Parent ID"
						},
						"type":"integer",
						"name":"MNUPNTTKN"
					},
					"MNUPROP":{
						"title":{
							"da":"Egenskaber",
							"en":"Properties"
						},
						"xpd":"menus",
						"uitype":"xpd",
						"type":"varchar(30000)",
						"name":"MNUPROP"
					}
				},
				"widgets":{
					"navigation":{
						"widgets":{
							"userrole":{
								"path":"/wsh-widgets/userrole.widget",
								"name":"userrole",
								"title":{
									"da":"Roller",
									"en":"Roles"
								}
							}
						}
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"sort":"MNUPROP_SEQ",
							"columns":[
								{
									"name":"MNUMNUTKN",
									"width":50
								},{
									"name":"MNUPNTTKN",
									"width":80,
									"hidden":true
								},{
									"name":"MNUPROP_NAME",
									"from":"( cast (jsonGetStr(MNUPROP, 'name') as varchar(128)) )",
									"uitype":"i18n",
									"isTitle":true
								},{
									"name":"MNUPROP___CID__",
									"from":"( jsonGetInt(MNUPROP, '__cid__') )",
									"title":{
										"da":"Type",
										"en":"Type"
									},
									"width":130,
									"uitype":"nameType"
								},{
									"name":"MNUPROP_SEQ",
									"from":"( jsonGetNum(MNUPROP, 'seq') )",
									"width":130
								},{
									"name":"MNUPROP",
									"hidden":true
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"columns":[
								{
									"name":"MNUMNUTKN"
								},{
									"name":"MNUPNTTKN"
								},{
									"name":"MNUPROP"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								},
								"navigation":{
									"index":1
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"MNUMNUTKN",
											"readOnly":true,
											"hidden":true
										},{
											"name":"MNUPNTTKN",
											"readOnly":true,
											"hidden":true
										},{
											"name":"MNUPROP"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVMNUET00",
				"designer":{
					"x":1270,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVRLRRL00":{
				"hook":"ip2Hooks.ip2WriteEntityLog",
				"title":{
					"da":"Rolle / Rolle relation",
					"en":"Role / Role relation"
				},
				"cid":"H",
				"idColumn":"RLRRLRTKN",
				"columns":{
					"RLRRLRTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"RLRRLRTKN"
					},
					"RLRROLTKN1":{
						"title":{
							"da":"Fra rolle ID",
							"en":"From Role ID"
						},
						"type":"integer",
						"name":"RLRROLTKN1"
					},
					"RLRROLTKN2":{
						"title":{
							"da":"Til rolle ID",
							"en":"To Role ID"
						},
						"type":"integer",
						"name":"RLRROLTKN2"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"RLRROLTKN1",
							"columns":[
								{
									"name":"RLRRLRTKN",
									"width":80
								},{
									"name":"RLRROLTKN1",
									"width":80
								},{
									"name":"RLRROLTKN2",
									"width":80
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Rolle",
								"en":"Role"
							},
							"columns":[
								{
									"name":"RLRRLRTKN"
								},{
									"name":"RLRROLTKN1"
								},{
									"name":"RLRROLTKN2"
								}
							],
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"RLRRLRTKN"
										},{
											"name":"RLRROLTKN1"
										},{
											"name":"RLRROLTKN2"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVRLRRL00",
				"designer":{
					"x":1480,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVLNG":{
				"title":{
					"da":"Sprogkode",
					"en":"Languagecode"
				},
				"cid":"I",
				"idColumn":"LNGID",
				"columns":{
					"LNGID":{
						"title":{
							"da":"Sprogkode",
							"en":"Languagecode"
						},
						"type":"char(10)",
						"isTitle":true,
						"name":"LNGID"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"LNGID",
							"columns":[
								{
									"name":"LNGID"
								}
							]
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVLNG",
				"designer":{
					"x":1690,
					"y":10,
					"width":200,
					"height":150
				}
			},
			"NAVICOET00":{
				"title":{
					"da":"Ikoner",
					"en":"Icons"
				},
				"cid":"J",
				"idColumn":"ICOICOTKN",
				"columns":{
					"ICOICOTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"ICOICOTKN"
					},
					"ICOKEYW":{
						"title":{
							"da":"Keyword",
							"en":"Keyword"
						},
						"type":"varchar(256)",
						"isTitle":true,
						"name":"ICOKEYW"
					},
					"ICOICO":{
						"title":{
							"da":"Ikon",
							"en":"Icon"
						},
						"type":"varchar(256)",
						"name":"ICOICO"
					}
				},
				"widgets":{
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"ICOKEYW",
							"columns":[
								{
									"name":"ICOICOTKN",
									"width":80
								},{
									"name":"ICOKEYW",
									"align":"left"
								},{
									"name":"ICOICO",
									"align":"left"
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"title":{
								"da":"Ikon",
								"en":"Icon"
							},
							"columns":[
								{
									"name":"ICOICOTKN"
								},{
									"name":"ICOKEYW"
								},{
									"name":"ICOICO"
								}
							],
							"layout":{
								"portlets":{
									"index":0,
									"hidden":true
								},
								"rolepermission":{
									"index":1
								}
							},
							"items":{
								"portlet1":{
									"columns":[
										{
											"name":"ICOICOTKN"
										},{
											"name":"ICOKEYW"
										},{
											"name":"ICOICO"
										}
									]
								}
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVICOET00",
				"designer":{
					"x":10,
					"y":170,
					"width":200,
					"height":150
				}
			},
			"NAVLOGTR00":{
				"title":{
					"da":"Logs",
					"en":"Logs"
				},
				"cid":"K",
				"idColumn":"LOGLOGTKN",
				"description":"Log transactions for all Sitemule entities",
				"keys":[
					{
						"columns":[
							"LOGENT","LOGENTTKN","LOGTS"
						],
						"name":"NAVLOGTR01"
					},{
						"columns":[
							"LOGTRNTYP","LOGTRNTKN","LOGTS"
						],
						"name":"NAVLOGTR02"
					}
				],
				"columns":{
					"LOGLOGTKN":{
						"title":{
							"da":"ID",
							"en":"ID"
						},
						"type":"integer",
						"name":"LOGLOGTKN"
					},
					"LOGTRNTYP":{
						"title":{
							"da":"Transaktionstype",
							"en":"Transactionstype"
						},
						"type":"varchar(32)",
						"name":"LOGTRNTYP",
						"len":32
					},
					"LOGTRNTKN":{
						"title":{
							"da":"Transaktion row ID",
							"en":"Transaction row ID"
						},
						"type":"integer",
						"name":"LOGTRNTKN"
					},
					"LOGENT":{
						"title":{
							"da":"Entity",
							"en":"Entity"
						},
						"type":"char(10)",
						"name":"LOGENT",
						"len":10
					},
					"LOGENTTKN":{
						"title":{
							"da":"Entity row ID",
							"en":"Entity row ID"
						},
						"type":"integer",
						"name":"LOGENTTKN"
					},
					"LOGTS":{
						"title":{
							"da":"Log tidspunkt",
							"en":"Log timestamp"
						},
						"type":"timestamp",
						"uitype":"isotimestamp",
						"name":"LOGTS"
					},
					"LOGUSRTKN":{
						"title":{
							"da":"Bruger",
							"en":"User"
						},
						"type":"integer",
						"name":"LOGUSRTKN"
					},
					"LOGNEWSTS":{
						"title":{
							"da":"Status",
							"en":"Status"
						},
						"type":"integer",
						"uitype":"enum",
						"name":"LOGNEWSTS"
					},
					"LOGROW":{
						"title":{
							"da":"Række",
							"en":"Row"
						},
						"type":"clob",
						"name":"LOGROW"
					}
				},
				"ui":{
					"grids":{
						"portfolio":{
							"features":{
								"preview":{
								}
							},
							"sort":"LOGTS DESC",
							"as":[
								"select this.LOGLOGTKN, this.LOGTS, this.LOGUSRTKN, USRNAM, this.LOGENT, this.LOGROW, ","( select previous.LOGROW ","  from NAVLOGTR00 previous ","  where previous.LOGENT = this.LOGENT ","  and   previous.LOGENTTKN = this.LOGENTTKN ","  and   previous.LOGTS < this.LOGTS ","  order by previous.LOGTS desc ","  fetch first row only ",") as PREVROW, ","this.LOGTRNTYP, this.LOGTRNTKN, this.LOGENTTKN, this.LOGNEWSTS ","from NAVLOGTR00 this ","left join NAVUSRET00 ","on USRUSRTKN = this.LOGUSRTKN"
							],
							"columns":[
								{
									"showned":true,
									"name":"LOGLOGTKN",
									"width":50,
									"hidden":false,
									"isTitle":false
								},{
									"showned":true,
									"name":"LOGTS",
									"uitype":"isotimestamp",
									"isTitle":false,
									"hidden":false,
									"flex":1
								},{
									"showned":false,
									"name":"LOGUSRTKN",
									"hidden":false,
									"isTitle":false,
									"flex":1
								},{
									"flex":1,
									"showned":true,
									"name":"USRNAM",
									"title":{
										"da":"Bruger",
										"en":"User"
									},
									"hidden":false
								},{
									"showned":true,
									"name":"LOGENT",
									"isTitle":false,
									"hidden":false,
									"flex":1
								},{
									"showned":false,
									"name":"LOGROW",
									"hidden":false,
									"isTitle":false,
									"flex":1,
									"uitype": "html",
									"title": {
										"da": "Før",
										"en": "Before"
									},
								},{
									"flex":1,
									"showned":false,
									"name":"PREVROW",
									"hidden":false,
									"uitype": "html",
									"title": {
										"da": "Efter",
										"en": "After"
									},
								},{
									"showned":false,
									"name":"LOGTRNTYP",
									"hidden":false,
									"isTitle":false,
									"flex":1
								},{
									"showned":false,
									"name":"LOGTRNTKN",
									"hidden":false,
									"isTitle":false,
									"flex":1
								},{
									"showned":true,
									"name":"LOGENTTKN",
									"width":80,
									"hidden":false,
									"isTitle":false
								},{
									"showned":false,
									"name":"LOGNEWSTS",
									"hidden":false,
									"uitype":"enum",
									"isTitle":false,
									"flex":1
								}
							],
							"drop":"",
							"filters":[
								{
									"dataIndex":"LOGTS",
									"dataType":"date",
									"dataDateType":"datetime",
									"isString":false,
									"multiSelect":false,
									"sortDirection":"DESC",
									"dmd":{
									},
									"checkboxes":[
										false,false,false
									],
									"fieldValues":[
										"0001-01-01-00.00.00.000000","0001-01-01-00.00.00.000000",{
											"first":"0001-01-01-00.00.00.000000",
											"second":"0001-01-01-00.00.59.999999"
										}
									],
									"notValue":false,
									"text":"Log tidspunkt",
									"values":[

									]
								}
							]
						}
					},
					"forms":{
						"portfolio":{
							"columns":[
								{
									"name":"LOGLOGTKN"
								},{
									"name":"LOGENT"
								},{
									"name":"LOGENTTKN"
								},{
									"name":"LOGTS"
								},{
									"name":"LOGUSRTKN"
								},{
									"name":"LOGNEWSTS"
								},{
									"name":"LOGROW"
								}
							],
							"items":{
								"columns":[
									{
										"name":"LOGLOGTKN",
										"title":{
											"da":"ID",
											"en":"ID"
										},
										"type":"integer",
										"sequence":0,
										"group":""
									},{
										"name":"LOGENT",
										"title":{
											"da":"Entity",
											"en":"Entity"
										},
										"type":"char",
										"sequence":1,
										"group":""
									},{
										"name":"LOGENTTKN",
										"title":{
											"da":"Entity row ID",
											"en":"Entity row ID"
										},
										"type":"integer",
										"sequence":2,
										"group":""
									},{
										"name":"LOGTS",
										"title":{
											"da":"Log tidspunkt",
											"en":"Log timestamp"
										},
										"type":"timestamp",
										"uitype":"isotimestamp",
										"sequence":3,
										"group":""
									},{
										"name":"LOGUSRTKN",
										"title":{
											"da":"Bruger",
											"en":"User"
										},
										"type":"integer",
										"sequence":4,
										"group":""
									},{
										"name":"LOGNEWSTS",
										"title":{
											"da":"Status",
											"en":"Status"
										},
										"type":"integer",
										"enum":"activestatus",
										"uitype":"enum",
										"preprocess":[
											{
												"regexp":"^",
												"replace":"webr~activestatus~"
											}
										],
										"postprocess":[
											{
												"search":"webr~activestatus~",
												"replace":""
											}
										],
										"sequence":5,
										"group":""
									},{
										"name":"LOGROW",
										"title":{
											"da":"Række",
											"en":"Row"
										},
										"type":"clob",
										"sequence":6,
										"group":""
									}
								]
							}
						}
					}
				},
				"permission":{
					"add":{
						"form":true,
						"grid":true
					},
					"edit":{
						"form":true,
						"grid":true
					},
					"remove":{
						"grid":true,
						"form":true
					}
				},
				"name":"NAVLOGTR00",
				"designer":{
					"x":220,
					"y":170,
					"width":200,
					"height":150
				},
				"hook":""
			}
		},
		"relations":[
			{
				"between":{
					"entity":"NAVUSRET00",
					"on":[
						{
							"name":"USRROLTKN"
						}
					],
					"occurrence":"many"
				},
				"and":{
					"entity":"NAVROLET00",
					"on":[
						{
							"name":"ROLROLTKN"
						}
					],
					"occurrence":"many"
				},
				"properties":{
					"title":{
						"da":"Roller",
						"en":"Roles"
					},
					"cid":"R01",
					"as":"NAVREL01",
					"shownAsChild":{
						"between":true,
						"and":false
					}
				},
				"cid":"A"
			},{
				"between":{
					"entity":"NAVPRMET00",
					"on":[
						{
							"name":"PRMROLTKN"
						}
					],
					"occurrence":"many"
				},
				"and":{
					"entity":"NAVROLET00",
					"on":[
						{
							"name":"ROLROLTKN"
						}
					],
					"occurrence":"one"
				},
				"properties":{
					"title":{
						"da":"Roller",
						"en":"Roles"
					},
					"cid":"R02",
					"as":"NAVREL02",
					"shownAsChild":{
						"between":false,
						"and":false
					}
				},
				"cid":"B"
			},{
				"between":{
					"entity":"NAVUSRET00",
					"on":[
						{
							"name":"USRUSRTKN"
						}
					],
					"occurrence":"one"
				},
				"and":{
					"entity":"NAVUSDET00",
					"on":[
						{
							"name":"USDUSRTKN"
						}
					],
					"occurrence":"many"
				},
				"properties":{
					"title":{
						"da":"Aktive devices",
						"en":"Active devices"
					},
					"cid":"PIN01",
					"as":"NAVUSDRE01",
					"shownAsChild":{
						"between":false,
						"and":false
					}
				},
				"cid":"C"
			}
		],
		"API":{
			"eventHandler":""
		},
		"types":{
		},
		"languages":{
			"da":{
				"text":{
				}
			},
			"en":{
				"text":{
				}
			}
		},
		"navigator":{
			"rrn":25,
			"system":0,
			"applicationGroup":24
		},
		"menu":{
		},
		"designer":{
			"slider":200
		}
	}
}
