{
	"name": "kureg.dmd",
	"rules": {
		"db": "ip2-rules/db/db2.xpd",
		"dmd": "ip2-rules/dmd/type.xpd",
		"ui": "ip2-rules/ui/ext-4.0.7.xpd"
	},
	"model": {
		"title": {
			"da": "Kunder",
			"en": "Customers"
		},
		"proxy": {
			"defaultHive": "ip2-services/",
			"url": "ip2dmdProxy.aspx"
		},
		"API": {
			"eventHandler": "ip2-services/ip2dmdProxy.aspx"
		},
		"defaults": {
			"permission": {
				"locked": {
					"form": false,
					"grid": false
				},
				"add": {
					"form": false,
					"grid": false
				},
				"edit": {
					"form": false,
					"grid": false
				},
				"remove": {
					"grid": false,
					"form": false
				}
			}
		},
		"entities": {
			"KUREG": {
				"title": {
					"da": "Kunder",
					"en": "Customers"
				},
				"cid": "A",
				"idColumn": "K1KEY",
				"columns": {
					"K1KEY": {
						"title": {
							"da": "ID",
							"en": "ID"
						},
						"type": "varchar(32)"
					},
					"K1KUST": {
						"title": {
							"da": "Kunde status",
							"en": "Customer status"
						},
						"type": "integer"
					},
					"K1AFDK": {
						"title": {
							"da": "Afd. kode",
							"en": "Department code"
						},
						"type": "varchar(3)"
					},
					"K1KUNR": {
						"title": {
							"da": "Kundenr.",
							"en": "Customerno."
						},
						"type": "integer"
					},
					"K1KNV1": {
						"title": {
							"da": "Kundenavn",
							"en": "Customer name"
						},
						"type": "varchar(32)"
					},
					"K1KNV2": {
						"title": {
							"da": "Kundenavn 2",
							"en": "Customer name 2"
						},
						"type": "varchar(32)"
					},
					"K1KNV3": {
						"title": {
							"da": "Adresse",
							"en": "Address"
						},
						"type": "varchar(32)"
					},
					"K1KNV4": {
						"title": {
							"da": "By",
							"en": "City"
						},
						"type": "varchar(32)"
					},
					"K1KNV5": {
						"title": {
							"da": "Att.",
							"en": "Att."
						},
						"type": "varchar(32)"
					}
				},
				"ui": {
					"grids": {
						"portfolio": {
							"features": {
								"preview": {}
							},
							"sort": "K1AFDK, K1KUNR",
							"columns": [
								{
									"name": "K1KEY",
									"width": 80,
									"hidden": true
								},
								{
									"name": "K1KUST",
									"width": 80
								},
								{
									"name": "K1AFDK",
									"width": 80
								},
								{
									"name": "K1KUNR",
									"width": 80
								},
								{
									"name": "K1KNV1"
								},
								{
									"name": "K1KNV2"
								},
								{
									"name": "K1KNV3"
								},
								{
									"name": "K1KNV4"
								},
								{
									"name": "K1KNV5"
								}
							]
						}
					}
				}
			}
		},
		"relations": []
	}
}
