Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Id": "Repairs",
- "StateProperty": "CoreData.Status",
- "FriendlyName": "Repairs",
- "GlobalFields": [],
- "CustomFields": [
- {
- "Type": 9,
- "Name": "CoreData",
- "Weight": 1,
- "Disabled": false,
- "Metadata": {},
- "FieldsSchemas": [
- {
- "Name": "Id",
- "Type": 7,
- "Weight": 1,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "Amount",
- "Type": 4,
- "Weight": 2,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "ClientId",
- "Type": 7,
- "Weight": 3,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "ClientEmail",
- "Type": 7,
- "Weight": 4,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "EntryDate",
- "Type": 3,
- "Weight": 5,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "Status",
- "Type": 7,
- "Weight": 6,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "InWarranty",
- "Type": 2,
- "Weight": 7,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "EstimationIds",
- "Type": 1,
- "Weight": 8,
- "Disabled": false,
- "Metadata": {
- "ArrayType": 7
- }
- },
- {
- "Name": "ModificationDates",
- "Type": 1,
- "Weight": 9,
- "Disabled": false,
- "Metadata": {
- "ArrayType": 3
- }
- },
- {
- "Name": "RevisionNumbers",
- "Type": 1,
- "Weight": 10,
- "Disabled": false,
- "Metadata": {
- "ArrayType": 5
- }
- },
- {
- "Name": "Pieces",
- "Type": 1,
- "Weight": 11,
- "Disabled": false,
- "Metadata": {
- "ArrayType": 6,
- "ModelSchema": "Pieces"
- }
- }
- ]
- },
- {
- "Type": 9,
- "Name": "GSXData",
- "Weight": 2,
- "Disabled": false,
- "Metadata": {},
- "FieldsSchemas": [
- {
- "Name": "LoginData",
- "Type": 6,
- "Weight": 1,
- "Disabled": false,
- "Metadata": {
- "ModelSchema": "LoginDataSchema"
- }
- },
- {
- "Name": "GenericMachineDescription",
- "Type": 7,
- "Weight": 2,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "SpecificMachineDescription",
- "Type": 7,
- "Weight": 3,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "WarrantyType",
- "Type": 7,
- "Weight": 4,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "PurchaseDate",
- "Type": 3,
- "Weight": 5,
- "Disabled": false,
- "Metadata": {}
- }
- ]
- },
- {
- "Type": 9,
- "Name": "CustomOfficeFields",
- "Weight": 3,
- "Disabled": false,
- "Metadata": {},
- "FieldsSchemas": [
- {
- "Name": "Comments",
- "Type": 7,
- "Weight": 1,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "Diagnostic",
- "Type": 7,
- "Weight": 2,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "ClientComments",
- "Type": 7,
- "Weight": 3,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "Priority",
- "Type": 5,
- "Weight": 4,
- "Disabled": false,
- "Metadata": {}
- }
- ]
- },
- {
- "Type": 9,
- "Name": "BillingFields",
- "Weight": 4,
- "Disabled": false,
- "Metadata": {},
- "FieldsSchemas": [
- {
- "Name": "DefaultInvoiceBook",
- "Type": 7,
- "Weight": 1,
- "Disabled": false,
- "Metadata": {}
- },
- {
- "Name": "BillNumber",
- "Type": 7,
- "Weight": 2,
- "Disabled": false,
- "Metadata": {}
- }
- ]
- }
- ],
- "Operations": [],
- "Metadata": {},
- "WorkflowItemsToApply": [
- {
- "Id": "NotEmptyValidator",
- "Name": "NotEmptyValidator",
- "Type": "Validation",
- "RunAtServer": true,
- "RunAtClient": true,
- "Disabled": false,
- "Weight": 0,
- "Metadata": {},
- "FieldsToApply": [
- "CoreData.Id",
- "CoreData.Status",
- "CoreData.ClientId"
- ],
- "WorkflowItems": []
- },
- {
- "Id": "RangeValidator",
- "Name": "RangeValidator",
- "Type": "Validation",
- "RunAtServer": true,
- "RunAtClient": true,
- "Disabled": false,
- "Weight": 0,
- "Metadata": {
- "From": "\/Date(1374530400000)\/",
- "To": "\/Date(253402300799999)\/"
- },
- "FieldsToApply": [
- "CoreData.EntryDate"
- ],
- "WorkflowItems": []
- },
- {
- "Id": "EmailValidator",
- "Name": "EmailValidator",
- "Type": "Validation",
- "RunAtServer": true,
- "RunAtClient": true,
- "Disabled": false,
- "Weight": 0,
- "Metadata": {},
- "FieldsToApply": [
- "CoreData.ClientEmail"
- ],
- "WorkflowItems": []
- },
- {
- "Id": "ReadOnlyBehaviour",
- "Name": "ReadOnlyBehaviour",
- "Type": "Behaviour",
- "RunAtServer": false,
- "RunAtClient": true,
- "Disabled": false,
- "Weight": 0,
- "Metadata": {},
- "FieldsToApply": [
- "CoreData.Id"
- ],
- "WorkflowItems": []
- },
- {
- "Id": "HiddenBehaviour",
- "Name": "HiddenBehaviour",
- "Type": "Behaviour",
- "RunAtServer": false,
- "RunAtClient": true,
- "Disabled": false,
- "Weight": 0,
- "Metadata": {},
- "FieldsToApply": [
- "CoreData.Status"
- ],
- "WorkflowItems": []
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment