schema.gql 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. # ------------------------------------------------------
  2. # THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
  3. # ------------------------------------------------------
  4. type APAccountProfile {
  5. acct_credit_balance: Int
  6. acct_debit_balance: Int
  7. acct_dist_classification: String
  8. acct_dt_created: String
  9. acct_email_addr: String
  10. acct_full_name: String
  11. acct_id: Int
  12. acct_name: String
  13. acct_nature: String
  14. acct_no: String
  15. acct_type: String
  16. currency_code: String
  17. orgn_id: Int
  18. prof_id: Int
  19. }
  20. type APAccountProfileMessage {
  21. data: [APAccountProfile!]!
  22. }
  23. type APAccountProfileUnion {
  24. APAccountProfileMessage: APAccountProfileMessage
  25. StatusResponse: StatusResponse
  26. SummaryResponse: SummaryResponse
  27. }
  28. type APInvoiceDocument {
  29. acct_id: Int
  30. doc_by_org_code: String
  31. doc_by_org_id: Int
  32. doc_catagory: String
  33. doc_category: String
  34. doc_currency: String
  35. doc_currency_rate: Int
  36. doc_desc: String
  37. doc_dt: String
  38. doc_id: Int
  39. doc_pay_terms: String
  40. doc_post_dt: String
  41. doc_post_type: String
  42. doc_ref: String
  43. doc_remarks: String
  44. doc_status: String
  45. doc_tot_credit: String
  46. doc_tot_debit: String
  47. doc_tot_entry: String
  48. doc_type_id: Int
  49. doc_update_type: String
  50. prof_id: Int
  51. subs_code: String
  52. tran_doc_periodid: Int
  53. }
  54. type APInvoiceDocumentMessage {
  55. data: [APInvoiceDocument!]!
  56. }
  57. type APInvoiceDocumentUnion {
  58. APInvoiceDocumentMessage: APInvoiceDocumentMessage
  59. StatusResponse: StatusResponse
  60. SummaryResponse: SummaryResponse
  61. }
  62. type APReceiptDocument {
  63. acct_id: Int
  64. doc_by_org_code: String
  65. doc_by_org_id: Int
  66. doc_catagory: String
  67. doc_category: String
  68. doc_currency: String
  69. doc_currency_rate: Int
  70. doc_desc: String
  71. doc_dt: String
  72. doc_id: Int
  73. doc_pay_terms: String
  74. doc_post_dt: String
  75. doc_post_type: String
  76. doc_ref: String
  77. doc_remarks: String
  78. doc_status: String
  79. doc_tot_credit: String
  80. doc_tot_debit: String
  81. doc_tot_entry: String
  82. doc_type_id: Int
  83. doc_update_type: String
  84. prof_id: Int
  85. subs_code: String
  86. tran_doc_periodid: Int
  87. }
  88. type APReceiptDocumentMessage {
  89. data: [APReceiptDocument!]!
  90. }
  91. type APReceiptDocumentUnion {
  92. APReceiptDocumentMessage: APReceiptDocumentMessage
  93. StatusResponse: StatusResponse
  94. SummaryResponse: SummaryResponse
  95. }
  96. type ARAccountProfile {
  97. acct_credit_balance: Int
  98. acct_debit_balance: Int
  99. acct_dist_classification: String
  100. acct_dt_created: String
  101. acct_email_addr: String
  102. acct_full_name: String
  103. acct_id: Int
  104. acct_name: String
  105. acct_nature: String
  106. acct_no: String
  107. acct_type: String
  108. currency_code: String
  109. orgn_id: Int
  110. prof_id: Int
  111. }
  112. type ARAccountProfileMessage {
  113. data: [ARAccountProfile!]!
  114. }
  115. type ARAccountProfileUnion {
  116. ARAccountProfileMessage: ARAccountProfileMessage
  117. StatusResponse: StatusResponse
  118. SummaryResponse: SummaryResponse
  119. }
  120. type ARInvoiceDocument {
  121. acct_id: Int
  122. doc_by_org_code: String
  123. doc_by_org_id: Int
  124. doc_catagory: String
  125. doc_category: String
  126. doc_currency: String
  127. doc_currency_rate: Int
  128. doc_desc: String
  129. doc_dt: String
  130. doc_id: Int
  131. doc_pay_terms: String
  132. doc_post_dt: String
  133. doc_post_type: String
  134. doc_ref: String
  135. doc_remarks: String
  136. doc_status: String
  137. doc_tot_credit: String
  138. doc_tot_debit: String
  139. doc_tot_entry: String
  140. doc_type_id: Int
  141. doc_update_type: String
  142. prof_id: Int
  143. subs_code: String
  144. tran_doc_periodid: Int
  145. }
  146. type ARInvoiceDocumentMessage {
  147. data: [ARInvoiceDocument!]!
  148. }
  149. type ARInvoiceDocumentUnion {
  150. ARInvoiceDocumentMessage: ARInvoiceDocumentMessage
  151. StatusResponse: StatusResponse
  152. SummaryResponse: SummaryResponse
  153. }
  154. type ARReceiptDocument {
  155. acct_id: Int
  156. doc_by_org_code: String
  157. doc_by_org_id: Int
  158. doc_catagory: String
  159. doc_category: String
  160. doc_currency: String
  161. doc_currency_rate: Int
  162. doc_desc: String
  163. doc_dt: String
  164. doc_id: Int
  165. doc_pay_terms: String
  166. doc_post_dt: String
  167. doc_post_type: String
  168. doc_ref: String
  169. doc_remarks: String
  170. doc_status: String
  171. doc_tot_credit: String
  172. doc_tot_debit: String
  173. doc_tot_entry: String
  174. doc_type_id: Int
  175. doc_update_type: String
  176. prof_id: Int
  177. subs_code: String
  178. tran_doc_periodid: Int
  179. }
  180. type ARReceiptDocumentMessage {
  181. data: [ARReceiptDocument!]!
  182. }
  183. type ARReceiptDocumentUnion {
  184. ARReceiptDocumentMessage: ARReceiptDocumentMessage
  185. StatusResponse: StatusResponse
  186. SummaryResponse: SummaryResponse
  187. }
  188. type AccountProfile {
  189. acct_credit_balance: Int
  190. acct_debit_balance: Int
  191. acct_dist_classification: String
  192. acct_dt_created: String
  193. acct_email_addr: String
  194. acct_full_name: String
  195. acct_id: Int
  196. acct_name: String
  197. acct_nature: String
  198. acct_no: String
  199. acct_type: String
  200. currency_code: String
  201. orgn_id: Int
  202. prof_id: Int
  203. }
  204. type AccountProfileMessage {
  205. data: [AccountProfile!]!
  206. }
  207. type AccountProfileUnion {
  208. AccountProfileMessage: AccountProfileMessage
  209. StatusResponse: StatusResponse
  210. SummaryResponse: SummaryResponse
  211. }
  212. type Block {
  213. loc_area: String!
  214. loc_code: String!
  215. loc_desc: String!
  216. }
  217. type CMAccountProfile {
  218. acct_credit_balance: Int
  219. acct_debit_balance: Int
  220. acct_dist_classification: String
  221. acct_dt_created: String
  222. acct_email_addr: String
  223. acct_full_name: String
  224. acct_id: Int
  225. acct_name: String
  226. acct_nature: String
  227. acct_no: String
  228. acct_type: String
  229. currency_code: String
  230. orgn_id: Int
  231. prof_id: Int
  232. }
  233. type CMAccountProfileMessage {
  234. data: [CMAccountProfile!]!
  235. }
  236. type CMAccountProfileUnion {
  237. CMAccountProfileMessage: CMAccountProfileMessage
  238. StatusResponse: StatusResponse
  239. SummaryResponse: SummaryResponse
  240. }
  241. type DataServiceMessage {
  242. className: String!
  243. filter: String!
  244. returnFormatType: String!
  245. returnSequenceTotal: Float
  246. }
  247. type DefaultQueryData {
  248. data: [DefaultQueryDataItem!]!
  249. }
  250. type DefaultQueryDataItem {
  251. queryName: String!
  252. queryString: String!
  253. }
  254. type Document {
  255. acct_id: Int
  256. doc_by_org_code: String
  257. doc_by_org_id: Int
  258. doc_catagory: String
  259. doc_category: String
  260. doc_currency: String
  261. doc_currency_rate: Int
  262. doc_desc: String
  263. doc_dt: String
  264. doc_id: Int
  265. doc_pay_terms: String
  266. doc_post_dt: String
  267. doc_post_type: String
  268. doc_ref: String
  269. doc_remarks: String
  270. doc_status: String
  271. doc_tot_credit: String
  272. doc_tot_debit: String
  273. doc_tot_entry: String
  274. doc_type_id: Int
  275. doc_update_type: String
  276. prof_id: Int
  277. subs_code: String
  278. tran_doc_periodid: Int
  279. }
  280. type DocumentMessage {
  281. data: [Document!]!
  282. }
  283. type DocumentUnion {
  284. DocumentMessage: DocumentMessage
  285. StatusResponse: StatusResponse
  286. SummaryResponse: SummaryResponse
  287. }
  288. type FisServiceProgramProfile {
  289. canapprove: String
  290. cancancel: String
  291. cancommit: String
  292. candelete: String
  293. canmodify: String
  294. cannew: String
  295. canpost: String
  296. canread: String
  297. canverify: String
  298. canvoid: String
  299. doc_type_id: String
  300. fisappserviceid: Int
  301. orgn_id: String
  302. prg_desc: String
  303. prg_display: String
  304. prg_id: Int
  305. prg_name: String
  306. prg_obj: String
  307. prg_others: String
  308. prg_startup_prg: String
  309. prg_type: String
  310. serviceid: String
  311. servicename: String
  312. serviceprogram: String
  313. servicetypecode: String
  314. servicetypedesc: String
  315. servicetypeid: Int
  316. specialright: String
  317. subs_code: String
  318. subs_name: String
  319. user_code: String
  320. user_id: String
  321. user_name: String
  322. }
  323. type FisServiceProgramProfileMessage {
  324. data: [FisServiceProgramProfile!]!
  325. }
  326. type FisServiceProgramUnion {
  327. FisServiceProgramProfileMessage: FisServiceProgramProfileMessage
  328. StatusResponse: StatusResponse
  329. SummaryResponse: SummaryResponse
  330. }
  331. type LeaveBalance {
  332. emp_leave_mas_id: Int
  333. emp_lv_balance: Int
  334. emp_lv_mas_brou_forw: String
  335. emp_lv_mas_carr_forw: String
  336. emp_lv_mas_earned: String
  337. emp_lv_mas_entitled: String
  338. emp_lv_mas_max_time: Int
  339. emp_lv_mas_year: Int
  340. emp_lv_pro_rate: String
  341. emp_lv_taken: Int
  342. emp_role_id: Int
  343. ps_emp_leave_master_emp_lv_mas_allow_car: String
  344. ps_emp_leave_master_emp_lv_mas_create_ty: String
  345. ps_emp_leave_master_emp_lv_mas_open: String
  346. ps_emp_leave_master_emp_lv_pro_rate: String
  347. ps_leave_desc: String
  348. }
  349. type LeaveBalanceMessage {
  350. data: [LeaveBalance!]!
  351. }
  352. type LeaveBalanceUnion {
  353. LeaveBalanceMessage: LeaveBalanceMessage
  354. StatusResponse: StatusResponse
  355. SummaryResponse: SummaryResponse
  356. }
  357. type LeaveHistory {
  358. emp_lv_mas_open: String
  359. emp_lv_mas_year: Int
  360. ps_doc_header_ps_doc_ref_no: String
  361. ps_doc_header_ps_doc_status: String
  362. ps_doc_id: Int
  363. ps_doc_leave_emp_role_id: Int
  364. ps_doc_leave_ps_days: String
  365. ps_doc_leave_ps_dt_applied: String
  366. ps_doc_leave_ps_dt_from: String
  367. ps_doc_leave_ps_dt_to: String
  368. ps_doc_leave_ps_leave_mas_id: Int
  369. ps_emp_leave_master_ps_leave_id: Int
  370. ps_leave_profile_ps_leave_desc: String
  371. }
  372. type LeaveHistoryMessage {
  373. data: [LeaveHistory!]!
  374. }
  375. type LeaveHistoryUnion {
  376. LeaveHistoryMessage: LeaveHistoryMessage
  377. StatusResponse: StatusResponse
  378. SummaryResponse: SummaryResponse
  379. }
  380. type LeaveTypeProfile {
  381. emp_leave_mas_id: Int
  382. emp_lv_mas_year: Int
  383. emp_lv_pro_rate: String
  384. emp_role_id: Int
  385. ps_emp_leave_master_emp_lv_mas_brou_forw: String
  386. ps_emp_leave_master_emp_lv_mas_entitled: String
  387. ps_leave_profile_ps_leave_desc: String
  388. }
  389. type LeaveTypeProfileMessage {
  390. data: [LeaveTypeProfile!]!
  391. }
  392. type LeaveTypeProfileUnion {
  393. LeaveTypeProfileMessage: LeaveTypeProfileMessage
  394. StatusResponse: StatusResponse
  395. SummaryResponse: SummaryResponse
  396. }
  397. type OrganisationProfile {
  398. class_code: String
  399. class_desc: String
  400. class_shortname: String
  401. orgn_address1: String
  402. orgn_address2: String
  403. orgn_address3: String
  404. orgn_contact_person: String
  405. orgn_faxno: String
  406. orgn_phone: String
  407. orgn_postcode: String
  408. prof_id: Int
  409. }
  410. type OrganisationProfileMessage {
  411. data: [OrganisationProfile!]!
  412. }
  413. type OrganisationProfileUnion {
  414. OrganisationProfileMessage: OrganisationProfileMessage
  415. StatusResponse: StatusResponse
  416. SummaryResponse: SummaryResponse
  417. }
  418. type Phase {
  419. blocks: [Block!]!
  420. db: String!
  421. pers_id: String!
  422. sec_code: String!
  423. sec_desc: String!
  424. sec_id: String!
  425. sec_name: String!
  426. }
  427. type ProductProfile {
  428. bin_code: String
  429. loc_code: String
  430. loc_desc: String
  431. loc_id: Int
  432. orgn_code: String
  433. orgn_full_name: String
  434. orgn_id: Int
  435. orgn_profile_orgn_short_name: String
  436. prd_assign_serial_no: String
  437. prd_brand_code: String
  438. prd_code: String
  439. prd_code_alias: String
  440. prd_date_pur: String
  441. prd_desc: String
  442. prd_dist_class_id: Int
  443. prd_id: Int
  444. prd_is_primary: String
  445. prd_list_price: String
  446. prd_man_id: String
  447. prd_model_no: String
  448. prd_origin_country_code: String
  449. prd_qty: Int
  450. prd_ref_code: String
  451. prd_ref_desc: String
  452. prd_ref_id: Int
  453. prd_ref_list_price: String
  454. prd_ref_prd_assign_serial_no: String
  455. prd_ref_prd_dist_class_id: Int
  456. prd_ref_prof_id: Int
  457. prd_ref_type: String
  458. prd_ref_unit_cost: String
  459. prd_ref_uom: String
  460. prd_status_code: String
  461. prd_type: String
  462. prd_unit_cost: String
  463. product_ref_prd_ref_id: Int
  464. prof_id: Int
  465. }
  466. type ProductProfileMessage {
  467. data: [ProductProfile!]!
  468. }
  469. type ProductProfileUnion {
  470. ProductProfileMessage: ProductProfileMessage
  471. StatusResponse: StatusResponse
  472. SummaryResponse: SummaryResponse
  473. }
  474. type Query {
  475. APAccountProfileQuery(filter: String, returnFormatType: String): APAccountProfileUnion!
  476. APInvoiceDocumentQuery(filter: String, returnFormatType: String): APInvoiceDocumentUnion!
  477. APReceiptDocumentQuery(filter: String, returnFormatType: String): APReceiptDocumentUnion!
  478. ARAccountProfileQuery(filter: String, returnFormatType: String): ARAccountProfileUnion!
  479. ARInvoiceDocumentQuery(filter: String, returnFormatType: String): ARInvoiceDocumentUnion!
  480. ARReceiptDocumentQuery(filter: String, returnFormatType: String): ARReceiptDocumentUnion!
  481. AccountProfileQuery(filter: String, returnFormatType: String): AccountProfileUnion!
  482. CMAccountProfileQuery(filter: String, returnFormatType: String): CMAccountProfileUnion!
  483. DefaultQuery: DefaultQueryData!
  484. DocumentQuery(filter: String, returnFormatType: String): DocumentUnion!
  485. FisServiceProgramProfileQuery(filter: String, returnFormatType: String): FisServiceProgramUnion!
  486. LeaveBalanceQuery(filter: String, returnFormatType: String): LeaveBalanceUnion!
  487. LeaveHistoryQuery(filter: String, returnFormatType: String): LeaveHistoryUnion!
  488. LeaveTypeProfileQuery(filter: String, returnFormatType: String): LeaveTypeProfileUnion!
  489. OrganisationProfileQuery(filter: String, returnFormatType: String): OrganisationProfileUnion!
  490. ProductProfileQuery(filter: String, returnFormatType: String): ProductProfileUnion!
  491. RoleTypeProfileQuery(filter: String, returnFormatType: String): RoleTypeProfileUnion!
  492. ServiceProgramProfileQuery(filter: String, returnFormatType: String): ServiceProgramProfileUnion!
  493. dataservice(className: String = "DataService", filter: String, returnFormatType: String): DataServiceMessage!
  494. site(db: String!): Site!
  495. sites: [Site!]!
  496. }
  497. type RoleTypeProfile {
  498. role_cat: String
  499. role_desc: String
  500. role_id: Int
  501. role_type: String
  502. }
  503. type RoleTypeProfileMessage {
  504. data: [RoleTypeProfile!]!
  505. }
  506. type RoleTypeProfileUnion {
  507. RoleTypeProfileMessage: RoleTypeProfileMessage
  508. StatusResponse: StatusResponse
  509. SummaryResponse: SummaryResponse
  510. }
  511. type ServiceProgramProfile {
  512. fisappserviceid: Int
  513. prg_startup_prg: String
  514. serviceid: String
  515. servicename: String
  516. serviceprogram: String
  517. servicetypecode: String
  518. servicetypedesc: String
  519. }
  520. type ServiceProgramProfileMessage {
  521. data: [ServiceProgramProfile!]!
  522. }
  523. type ServiceProgramProfileUnion {
  524. ServiceProgramProfileMessage: ServiceProgramProfileMessage
  525. StatusResponse: StatusResponse
  526. SummaryResponse: SummaryResponse
  527. }
  528. type Site {
  529. db: String!
  530. name: String!
  531. phases: [Phase!]!
  532. }
  533. type StatusResponse {
  534. message: String
  535. status: String!
  536. }
  537. type SummaryResponse {
  538. className: String!
  539. filter: String
  540. returnFormatType: String!
  541. returnSequenceTotal: Float
  542. }