aamarber

Untitled

Jul 23rd, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. {
  2. "Id": "Repairs",
  3. "StateProperty": "CoreData.Status",
  4. "FriendlyName": "Repairs",
  5. "GlobalFields": [],
  6. "CustomFields": [
  7. {
  8. "Type": 9,
  9. "Name": "CoreData",
  10. "Weight": 1,
  11. "Disabled": false,
  12. "Metadata": {},
  13. "FieldsSchemas": [
  14. {
  15. "Name": "Id",
  16. "Type": 7,
  17. "Weight": 1,
  18. "Disabled": false,
  19. "Metadata": {}
  20. },
  21. {
  22. "Name": "Amount",
  23. "Type": 4,
  24. "Weight": 2,
  25. "Disabled": false,
  26. "Metadata": {}
  27. },
  28. {
  29. "Name": "ClientId",
  30. "Type": 7,
  31. "Weight": 3,
  32. "Disabled": false,
  33. "Metadata": {}
  34. },
  35. {
  36. "Name": "ClientEmail",
  37. "Type": 7,
  38. "Weight": 4,
  39. "Disabled": false,
  40. "Metadata": {}
  41. },
  42. {
  43. "Name": "EntryDate",
  44. "Type": 3,
  45. "Weight": 5,
  46. "Disabled": false,
  47. "Metadata": {}
  48. },
  49. {
  50. "Name": "Status",
  51. "Type": 7,
  52. "Weight": 6,
  53. "Disabled": false,
  54. "Metadata": {}
  55. },
  56. {
  57. "Name": "InWarranty",
  58. "Type": 2,
  59. "Weight": 7,
  60. "Disabled": false,
  61. "Metadata": {}
  62. },
  63. {
  64. "Name": "EstimationIds",
  65. "Type": 1,
  66. "Weight": 8,
  67. "Disabled": false,
  68. "Metadata": {
  69. "ArrayType": 7
  70. }
  71. },
  72. {
  73. "Name": "ModificationDates",
  74. "Type": 1,
  75. "Weight": 9,
  76. "Disabled": false,
  77. "Metadata": {
  78. "ArrayType": 3
  79. }
  80. },
  81. {
  82. "Name": "RevisionNumbers",
  83. "Type": 1,
  84. "Weight": 10,
  85. "Disabled": false,
  86. "Metadata": {
  87. "ArrayType": 5
  88. }
  89. },
  90. {
  91. "Name": "Pieces",
  92. "Type": 1,
  93. "Weight": 11,
  94. "Disabled": false,
  95. "Metadata": {
  96. "ArrayType": 6,
  97. "ModelSchema": "Pieces"
  98. }
  99. }
  100. ]
  101. },
  102. {
  103. "Type": 9,
  104. "Name": "GSXData",
  105. "Weight": 2,
  106. "Disabled": false,
  107. "Metadata": {},
  108. "FieldsSchemas": [
  109. {
  110. "Name": "LoginData",
  111. "Type": 6,
  112. "Weight": 1,
  113. "Disabled": false,
  114. "Metadata": {
  115. "ModelSchema": "LoginDataSchema"
  116. }
  117. },
  118. {
  119. "Name": "GenericMachineDescription",
  120. "Type": 7,
  121. "Weight": 2,
  122. "Disabled": false,
  123. "Metadata": {}
  124. },
  125. {
  126. "Name": "SpecificMachineDescription",
  127. "Type": 7,
  128. "Weight": 3,
  129. "Disabled": false,
  130. "Metadata": {}
  131. },
  132. {
  133. "Name": "WarrantyType",
  134. "Type": 7,
  135. "Weight": 4,
  136. "Disabled": false,
  137. "Metadata": {}
  138. },
  139. {
  140. "Name": "PurchaseDate",
  141. "Type": 3,
  142. "Weight": 5,
  143. "Disabled": false,
  144. "Metadata": {}
  145. }
  146. ]
  147. },
  148. {
  149. "Type": 9,
  150. "Name": "CustomOfficeFields",
  151. "Weight": 3,
  152. "Disabled": false,
  153. "Metadata": {},
  154. "FieldsSchemas": [
  155. {
  156. "Name": "Comments",
  157. "Type": 7,
  158. "Weight": 1,
  159. "Disabled": false,
  160. "Metadata": {}
  161. },
  162. {
  163. "Name": "Diagnostic",
  164. "Type": 7,
  165. "Weight": 2,
  166. "Disabled": false,
  167. "Metadata": {}
  168. },
  169. {
  170. "Name": "ClientComments",
  171. "Type": 7,
  172. "Weight": 3,
  173. "Disabled": false,
  174. "Metadata": {}
  175. },
  176. {
  177. "Name": "Priority",
  178. "Type": 5,
  179. "Weight": 4,
  180. "Disabled": false,
  181. "Metadata": {}
  182. }
  183. ]
  184. },
  185. {
  186. "Type": 9,
  187. "Name": "BillingFields",
  188. "Weight": 4,
  189. "Disabled": false,
  190. "Metadata": {},
  191. "FieldsSchemas": [
  192. {
  193. "Name": "DefaultInvoiceBook",
  194. "Type": 7,
  195. "Weight": 1,
  196. "Disabled": false,
  197. "Metadata": {}
  198. },
  199. {
  200. "Name": "BillNumber",
  201. "Type": 7,
  202. "Weight": 2,
  203. "Disabled": false,
  204. "Metadata": {}
  205. }
  206. ]
  207. }
  208. ],
  209. "Operations": [],
  210. "Metadata": {},
  211. "WorkflowItemsToApply": [
  212. {
  213. "Id": "NotEmptyValidator",
  214. "Name": "NotEmptyValidator",
  215. "Type": "Validation",
  216. "RunAtServer": true,
  217. "RunAtClient": true,
  218. "Disabled": false,
  219. "Weight": 0,
  220. "Metadata": {},
  221. "FieldsToApply": [
  222. "CoreData.Id",
  223. "CoreData.Status",
  224. "CoreData.ClientId"
  225. ],
  226. "WorkflowItems": []
  227. },
  228. {
  229. "Id": "RangeValidator",
  230. "Name": "RangeValidator",
  231. "Type": "Validation",
  232. "RunAtServer": true,
  233. "RunAtClient": true,
  234. "Disabled": false,
  235. "Weight": 0,
  236. "Metadata": {
  237. "From": "\/Date(1374530400000)\/",
  238. "To": "\/Date(253402300799999)\/"
  239. },
  240. "FieldsToApply": [
  241. "CoreData.EntryDate"
  242. ],
  243. "WorkflowItems": []
  244. },
  245. {
  246. "Id": "EmailValidator",
  247. "Name": "EmailValidator",
  248. "Type": "Validation",
  249. "RunAtServer": true,
  250. "RunAtClient": true,
  251. "Disabled": false,
  252. "Weight": 0,
  253. "Metadata": {},
  254. "FieldsToApply": [
  255. "CoreData.ClientEmail"
  256. ],
  257. "WorkflowItems": []
  258. },
  259. {
  260. "Id": "ReadOnlyBehaviour",
  261. "Name": "ReadOnlyBehaviour",
  262. "Type": "Behaviour",
  263. "RunAtServer": false,
  264. "RunAtClient": true,
  265. "Disabled": false,
  266. "Weight": 0,
  267. "Metadata": {},
  268. "FieldsToApply": [
  269. "CoreData.Id"
  270. ],
  271. "WorkflowItems": []
  272. },
  273. {
  274. "Id": "HiddenBehaviour",
  275. "Name": "HiddenBehaviour",
  276. "Type": "Behaviour",
  277. "RunAtServer": false,
  278. "RunAtClient": true,
  279. "Disabled": false,
  280. "Weight": 0,
  281. "Metadata": {},
  282. "FieldsToApply": [
  283. "CoreData.Status"
  284. ],
  285. "WorkflowItems": []
  286. }
  287. ]
  288. }
Advertisement
Add Comment
Please, Sign In to add comment