@things-factory/operato-wms 6.1.83 → 6.1.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist-server/tsconfig.tsbuildinfo +1 -1
  2. package/package.json +39 -39
  3. package/server/graphql/index.ts +0 -7
  4. package/server/graphql/resolvers/board-setting/board-settings.ts +0 -93
  5. package/server/graphql/resolvers/board-setting/index.ts +0 -5
  6. package/server/graphql/resolvers/custom/elccl/elccl-daily-collection-report.ts +0 -92
  7. package/server/graphql/resolvers/custom/elccl/elccl-daily-order-inventory-report.ts +0 -147
  8. package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-pallet-detail-report.ts +0 -135
  9. package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-report.ts +0 -178
  10. package/server/graphql/resolvers/custom/elccl/elccl-inventory-history-summary-report.ts +0 -123
  11. package/server/graphql/resolvers/custom/elccl/elccl-onhand-inventory-counter.ts +0 -36
  12. package/server/graphql/resolvers/custom/elccl/index.ts +0 -15
  13. package/server/graphql/resolvers/custom/kimeda/index.ts +0 -5
  14. package/server/graphql/resolvers/custom/kimeda/kimeda-onhand-inventory-counter.ts +0 -42
  15. package/server/graphql/resolvers/dashboard/arrival-notices-by-status.ts +0 -34
  16. package/server/graphql/resolvers/dashboard/collection-orders-by-status.ts +0 -24
  17. package/server/graphql/resolvers/dashboard/delivery-orders-by-status.ts +0 -24
  18. package/server/graphql/resolvers/dashboard/index.ts +0 -17
  19. package/server/graphql/resolvers/dashboard/inventory-expiry-monitor.ts +0 -60
  20. package/server/graphql/resolvers/dashboard/outbound-order-by-status.ts +0 -126
  21. package/server/graphql/resolvers/dashboard/release-goods-by-status.ts +0 -34
  22. package/server/graphql/resolvers/dashboard/unit-inbounded-outbounded.ts +0 -61
  23. package/server/graphql/resolvers/index.ts +0 -24
  24. package/server/graphql/resolvers/inventory-comparison/index.ts +0 -5
  25. package/server/graphql/resolvers/inventory-comparison/inventory-comparison-list.ts +0 -101
  26. package/server/graphql/resolvers/opa-menu/index.ts +0 -5
  27. package/server/graphql/resolvers/opa-menu/opa-menus.ts +0 -77
  28. package/server/graphql/resolvers/other/add-release-good-products.ts +0 -413
  29. package/server/graphql/resolvers/other/index.ts +0 -10
  30. package/server/graphql/resolvers/other/page-settings.ts +0 -105
  31. package/server/graphql/resolvers/reports/costing-report.ts +0 -194
  32. package/server/graphql/resolvers/reports/inbound-order-details-report.ts +0 -216
  33. package/server/graphql/resolvers/reports/inbound-serial-number-report.ts +0 -156
  34. package/server/graphql/resolvers/reports/index.ts +0 -18
  35. package/server/graphql/resolvers/reports/outbound-order-details-report.ts +0 -250
  36. package/server/graphql/resolvers/reports/outbound-serial-number-report.ts +0 -159
  37. package/server/graphql/resolvers/reports/product-label-report.ts +0 -55
  38. package/server/graphql/resolvers/reports/release-inventory-report.ts +0 -201
  39. package/server/graphql/resolvers/shipping-provider/index.ts +0 -5
  40. package/server/graphql/resolvers/shipping-provider/shipping-providers.ts +0 -18
  41. package/server/graphql/resolvers/warehouse-inventory-adjustment/index.ts +0 -5
  42. package/server/graphql/resolvers/warehouse-inventory-adjustment/warehouse-intentory-adjustment.ts +0 -79
  43. package/server/graphql/types/board-setting/board-setting.ts +0 -10
  44. package/server/graphql/types/board-setting/index.ts +0 -6
  45. package/server/graphql/types/custom/elccl/elccl-daily-collection-report-list.ts +0 -8
  46. package/server/graphql/types/custom/elccl/elccl-daily-collection-report.ts +0 -24
  47. package/server/graphql/types/custom/elccl/elccl-daily-order-inventory-report-list.ts +0 -8
  48. package/server/graphql/types/custom/elccl/elccl-daily-order-inventory-report.ts +0 -19
  49. package/server/graphql/types/custom/elccl/elccl-inventory-report.ts +0 -16
  50. package/server/graphql/types/custom/elccl/elccl-inventory-summary-report-list.ts +0 -8
  51. package/server/graphql/types/custom/elccl/elccl-inventory-summary-report.ts +0 -17
  52. package/server/graphql/types/custom/elccl/elccl-pallet-detail-report.ts +0 -16
  53. package/server/graphql/types/custom/elccl/index.ts +0 -28
  54. package/server/graphql/types/custom/kimeda/index.ts +0 -3
  55. package/server/graphql/types/dashboard/index.ts +0 -14
  56. package/server/graphql/types/dashboard/inventory-expiry-counter.ts +0 -9
  57. package/server/graphql/types/dashboard/inventory-expiry-status.ts +0 -8
  58. package/server/graphql/types/dashboard/order-status-counter.ts +0 -8
  59. package/server/graphql/types/index.ts +0 -38
  60. package/server/graphql/types/inventory-comparison/index.ts +0 -11
  61. package/server/graphql/types/inventory-comparison/inventory-comparison-list.ts +0 -8
  62. package/server/graphql/types/inventory-comparison/inventory-comparison.ts +0 -12
  63. package/server/graphql/types/opa-menu/index.ts +0 -6
  64. package/server/graphql/types/opa-menu/opa-menu.ts +0 -39
  65. package/server/graphql/types/other/index.ts +0 -19
  66. package/server/graphql/types/other/page-setting.ts +0 -33
  67. package/server/graphql/types/reports/costing-report-list.ts +0 -8
  68. package/server/graphql/types/reports/costing-report.ts +0 -13
  69. package/server/graphql/types/reports/inbound-order-details-report-list.ts +0 -8
  70. package/server/graphql/types/reports/inbound-order-details-report.ts +0 -53
  71. package/server/graphql/types/reports/inbound-serial-number-report-list.ts +0 -8
  72. package/server/graphql/types/reports/inbound-serial-number-report.ts +0 -17
  73. package/server/graphql/types/reports/index.ts +0 -43
  74. package/server/graphql/types/reports/outbound-order-details-report-list.ts +0 -8
  75. package/server/graphql/types/reports/outbound-order-details-report.ts +0 -70
  76. package/server/graphql/types/reports/outbound-serial-number-report-list.ts +0 -8
  77. package/server/graphql/types/reports/outbound-serial-number-report.ts +0 -19
  78. package/server/graphql/types/reports/product-label-report-list.ts +0 -8
  79. package/server/graphql/types/reports/product-label-report.ts +0 -10
  80. package/server/graphql/types/reports/release-inventory-report-list.ts +0 -8
  81. package/server/graphql/types/reports/release-inventory-report.ts +0 -23
  82. package/server/graphql/types/shipping-provider/index.ts +0 -8
  83. package/server/graphql/types/shipping-provider/shipping-provider-list.ts +0 -7
  84. package/server/graphql/types/shipping-provider/shipping-provider.ts +0 -7
  85. package/server/graphql/types/warehouse-inventory-adjustment/index.ts +0 -5
  86. package/server/index.ts +0 -4
  87. package/server/migrations/1568858861188-SeedSetting.ts +0 -57
  88. package/server/migrations/1623308919899-SeedLocationRecommendSetting.ts +0 -35
  89. package/server/migrations/1623381200659-SeedStoringRule.ts +0 -33
  90. package/server/migrations/index.ts +0 -9
  91. package/server/opa-app-setting-constants.ts +0 -9
  92. package/server/routes.ts +0 -1
  93. package/server/utils/index.ts +0 -1
  94. package/server/utils/report-query-util.ts +0 -47
@@ -1,18 +0,0 @@
1
- import { ReleaseGood } from '@things-factory/sales-base'
2
- import { getRepository, ListParam } from '@things-factory/shell'
3
-
4
- export const shippingProviders = {
5
- async shippingProviders(_: any, params: ListParam, context: ResolverContext) {
6
- try {
7
- const { domain } = context.state
8
-
9
- const items: any[] = await getRepository(ReleaseGood).query(`
10
- SELECT DISTINCT transporter FROM release_goods WHERE domain_id = '${domain.id}' AND transporter IS NOT null AND transporter != '' AND type = 'b2c'
11
- `)
12
-
13
- return { items: items }
14
- } catch (error) {
15
- throw error
16
- }
17
- }
18
- }
@@ -1,5 +0,0 @@
1
- import { warehouseInventoryAdjustment } from './warehouse-intentory-adjustment'
2
-
3
- export const Mutation = {
4
- ...warehouseInventoryAdjustment
5
- }
@@ -1,79 +0,0 @@
1
- import { EntityManager, In, Repository } from 'typeorm'
2
-
3
- import { OrderInventory } from '@things-factory/sales-base'
4
- import { approveInventoryChanges, InventoryChange } from '@things-factory/warehouse-base'
5
- import { Worksheet, WorksheetDetail } from '@things-factory/worksheet-base'
6
-
7
- export const warehouseInventoryAdjustment = {
8
- async warehouseInventoryAdjustment(_: any, { patches }, context: ResolverContext) {
9
- try {
10
- const item = await approveInventoryChanges(patches, context)
11
-
12
- // Retrieve order inventory
13
- const { tx } = context.state
14
-
15
- const _inventoryChanges = await tx.getRepository(InventoryChange).find({
16
- where: { id: In(patches.map(item => item.id)) },
17
- relations: [
18
- 'inventory',
19
- 'inventory.bizplace',
20
- 'inventory.bizplace.domain',
21
- 'inventory.product',
22
- 'inventory.location',
23
- 'inventory.warehouse',
24
- 'bizplace',
25
- 'bizplace.domain',
26
- 'bizplace.company',
27
- 'bizplace.company.domain',
28
- 'product',
29
- 'product.productDetails',
30
- 'product.productDetails.childProductDetail',
31
- 'location'
32
- ],
33
- order: {
34
- createdAt: 'ASC'
35
- }
36
- })
37
-
38
- if (_inventoryChanges.length > 0) {
39
- const invId: any[] = _inventoryChanges
40
- .filter((ic: any) => ic.transactionType == 'MISSING')
41
- .map((ic: any) => ic.inventory.id)
42
-
43
- const orderInventory: OrderInventory[] = await tx.getRepository(OrderInventory).find({
44
- where: { inventory: { id: In(invId) }, status: 'PICKING' }
45
- })
46
-
47
- await (tx.getRepository(OrderInventory) as Repository<OrderInventory>).update(
48
- {
49
- inventory: { id: In(invId) },
50
- status: 'PICKING'
51
- },
52
- { status: 'MISSING' }
53
- )
54
-
55
- const orderInvId: any[] = orderInventory.map((oi: any) => oi.id)
56
- const releaseGoodId: any[] = orderInventory.map((roId: any) => roId.releaseGoodId)
57
-
58
- await (tx.getRepository(WorksheetDetail) as Repository<WorksheetDetail>).update(
59
- {
60
- targetInventory: In(orderInvId),
61
- status: 'EXECUTING'
62
- },
63
- { status: 'MISSING' }
64
- )
65
-
66
- await (tx.getRepository(Worksheet) as Repository<Worksheet>).update(
67
- {
68
- releaseGood: In(releaseGoodId),
69
- status: 'EXECUTING'
70
- },
71
- { status: 'DEACTIVATED' }
72
- )
73
- }
74
- return item
75
- } catch (error) {
76
- throw error
77
- }
78
- }
79
- }
@@ -1,10 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const BoardSetting = gql`
4
- type BoardSetting {
5
- id: String
6
- name: String
7
- value: String
8
- board: Board
9
- }
10
- `
@@ -1,6 +0,0 @@
1
- import { BoardSetting } from './board-setting'
2
-
3
- export const Query = /* GraphQL */ `
4
- boardSettings: [BoardSetting]
5
- `
6
- export const Types = [BoardSetting]
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclDailyCollectionReportList = gql`
4
- type ElcclDailyCollectionReportList {
5
- items: [ElcclDailyCollectionReport]
6
- total: Int
7
- }
8
- `
@@ -1,24 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclDailyCollectionReport = gql`
4
- type ElcclDailyCollectionReport {
5
- id: String
6
- name: String
7
- domain: Domain
8
- description: String
9
- updater: User
10
- creator: User
11
- updatedAt: String
12
- createdAt: String
13
- arrival_notice_name: String
14
- bizplace_name: String
15
- ended_at: String
16
- self_collect: String
17
- delivery: String
18
- self_collect_summary: String
19
- delivery_summary: String
20
- total_self_collect: Float
21
- total_delivery: Float
22
- batch_id: String
23
- }
24
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclDailyOrderInventoryReportList = gql`
4
- type ElcclDailyOrderInventoryReportList {
5
- items: [ElcclDailyOrderInventoryReport]
6
- total: Int
7
- }
8
- `
@@ -1,19 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclDailyOrderInventoryReport = gql`
4
- type ElcclDailyOrderInventoryReport {
5
- bizplace: Bizplace
6
- bag: Float
7
- bagRunningTotal: Float
8
- basket: Float
9
- basketRunningTotal: Float
10
- carton: Float
11
- cartonRunningTotal: Float
12
- createdAt: String
13
- doRefNo: String
14
- orderNo: String
15
- orderRefNo: String
16
- pallet:Float
17
- palletRunningTotal: Float
18
- }
19
- `
@@ -1,16 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclInventoryReport = gql`
4
- type ElcclInventoryReport {
5
- batchId: String
6
- packingType: String
7
- product: Product
8
- refNo: String
9
- openingQty: Float
10
- openingUomValue: Float
11
- uomValue: Float
12
- qty: Float
13
- orderNo: String
14
- createdAt: String
15
- }
16
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclInventorySummaryReportList = gql`
4
- type ElcclInventorySummaryReportList {
5
- items: [ElcclInventorySummaryReport]
6
- total: Int
7
- }
8
- `
@@ -1,17 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclInventorySummaryReport = gql`
4
- type ElcclInventorySummaryReport {
5
- batchId: String
6
- packingType: String
7
- product: Product
8
- openingQty: Float
9
- adjustmentQty: Float
10
- closingQty: Float
11
- totalInQty: Float
12
- totalOutQty: Float
13
- totalReturnQty: Float
14
- initialQty: Float
15
- initialDate: String
16
- }
17
- `
@@ -1,16 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const ElcclPalletDetailReport = gql`
4
- type ElcclPalletDetailReport {
5
- product: Product
6
- bizplace: Bizplace
7
- batchId: String
8
- openingBalance: Float
9
- inBalance: Float
10
- outBalance: Float
11
- closingBalance: Float
12
- jsonDateMovement: String
13
- containerSize: String
14
- jobSheet: String
15
- }
16
- `
@@ -1,28 +0,0 @@
1
- import { ElcclInventorySummaryReport } from './elccl-inventory-summary-report'
2
- import { ElcclInventorySummaryReportList } from './elccl-inventory-summary-report-list'
3
- import { ElcclDailyCollectionReport } from './elccl-daily-collection-report'
4
- import { ElcclDailyCollectionReportList } from './elccl-daily-collection-report-list'
5
- import { ElcclInventoryReport } from './elccl-inventory-report'
6
- import { ElcclPalletDetailReport } from './elccl-pallet-detail-report'
7
- import { ElcclDailyOrderInventoryReport } from './elccl-daily-order-inventory-report'
8
- import { ElcclDailyOrderInventoryReportList } from './elccl-daily-order-inventory-report-list'
9
-
10
- export const Query = `
11
- elcclInventoryHistorySummaryReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): ElcclInventorySummaryReportList @transaction
12
- elcclDailyCollectionReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): [ElcclDailyCollectionReport] @transaction
13
- elcclInventoryHistoryReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): [ElcclInventoryReport] @transaction
14
- elcclInventoryHistoryPalletDetailReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): [ElcclPalletDetailReport] @transaction
15
- elcclOnhandInventoryCounter(filters: [Filter]): Int @transaction
16
- elcclDailyOrderInventoryReport(filters: [Filter], pagination: Pagination, sortings: [Sorting]): ElcclDailyOrderInventoryReportList @transaction
17
- `
18
-
19
- export const Types = [
20
- ElcclInventorySummaryReport,
21
- ElcclInventorySummaryReportList,
22
- ElcclDailyCollectionReport,
23
- ElcclDailyCollectionReportList,
24
- ElcclInventoryReport,
25
- ElcclPalletDetailReport,
26
- ElcclDailyOrderInventoryReport,
27
- ElcclDailyOrderInventoryReportList
28
- ]
@@ -1,3 +0,0 @@
1
- export const Query = `
2
- kimedaOnhandInventoryCounter(filters: [Filter]): Int
3
- `
@@ -1,14 +0,0 @@
1
- import { InventoryExpiryCounter } from './inventory-expiry-counter'
2
- import { InventoryExpiryStatus } from './inventory-expiry-status'
3
- import { OrderStatusCounter } from './order-status-counter'
4
-
5
- export const Query = /* GraphQL */ `
6
- arrivalNoticesByStatus(filters: [Filter]): [OrderStatusCounter] @transaction
7
- collectionOrdersByStatus(filters: [Filter]): [OrderStatusCounter] @transaction
8
- deliveryOrdersByStatus(filters: [Filter]): [OrderStatusCounter] @transaction
9
- releaseGoodsByStatus(filters: [Filter]): [OrderStatusCounter] @transaction
10
- outboundOrderByStatus(filters: [Filter]): [OrderStatusCounter] @transaction
11
- inventoryExpiryMonitor(filters: [Filter]): InventoryExpiryStatus @transaction
12
- unitInboundedOutbounded(filters: [Filter]): [OrderStatusCounter] @transaction
13
- `
14
- export const Types = [InventoryExpiryCounter, InventoryExpiryStatus, OrderStatusCounter]
@@ -1,9 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InventoryExpiryCounter = gql`
4
- type InventoryExpiryCounter {
5
- expired: Int
6
- sixMonths: Int
7
- nineMonths: Int
8
- }
9
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InventoryExpiryStatus = gql`
4
- type InventoryExpiryStatus {
5
- quarantined: InventoryExpiryCounter
6
- inShelf: InventoryExpiryCounter
7
- }
8
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const OrderStatusCounter = gql`
4
- type OrderStatusCounter {
5
- status: String
6
- count: Int
7
- }
8
- `
@@ -1,38 +0,0 @@
1
- import * as BoardSetting from './board-setting'
2
- import * as CustomElccl from './custom/elccl'
3
- import * as CustomKimeda from './custom/kimeda'
4
- import * as Dashboard from './dashboard'
5
- import * as Other from './other'
6
- import * as OpaMenu from './opa-menu'
7
- import * as Reports from './reports'
8
- import * as InventoryComparison from './inventory-comparison'
9
- import * as ShippingProvider from './shipping-provider'
10
- import * as WarehouseInventory from './warehouse-inventory-adjustment'
11
-
12
- export const queries = [
13
- BoardSetting.Query,
14
- CustomElccl.Query,
15
- CustomKimeda.Query,
16
- Dashboard.Query,
17
- OpaMenu.Query,
18
- Reports.Query,
19
- InventoryComparison.Query,
20
- ShippingProvider.Query,
21
- Other.Query
22
- ]
23
-
24
- export const mutations = [
25
- Other.Mutation,
26
- WarehouseInventory.Mutation
27
- ]
28
-
29
- export const types = [
30
- ...BoardSetting.Types,
31
- ...CustomElccl.Types,
32
- ...Dashboard.Types,
33
- ...OpaMenu.Types,
34
- ...Reports.Types,
35
- ...InventoryComparison.Types,
36
- ...ShippingProvider.Types,
37
- ...Other.Types
38
- ]
@@ -1,11 +0,0 @@
1
- import { InventoryComparison } from "./inventory-comparison";
2
- import { InventoryComparisonList } from "./inventory-comparison-list";
3
-
4
- export const Query = `
5
- inventoryComparisonList(filters: [Filter], pagination: Pagination, sortings: [Sorting]): InventoryComparisonList @privilege(category: "inventory_comparison", privilege: "query") @transaction
6
- `
7
-
8
- export const Types = [
9
- InventoryComparison,
10
- InventoryComparisonList
11
- ]
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InventoryComparisonList = gql`
4
- type InventoryComparisonList {
5
- items: [InventoryComparison]
6
- total: Int
7
- }
8
- `
@@ -1,12 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InventoryComparison = gql`
4
- type InventoryComparison {
5
- productSku: String
6
- productName: String
7
- packingType: String
8
- closingQty: Int
9
- remainQty: Int
10
- batchId: String
11
- }
12
- `
@@ -1,6 +0,0 @@
1
- import { OpaMenu } from './opa-menu'
2
-
3
- export const Query = `
4
- opaMenus: [OpaMenu]
5
- `
6
- export const Types = [OpaMenu]
@@ -1,39 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const OpaMenu = gql`
4
- type OpaMenu {
5
- id: String
6
- domain: Domain
7
- name: String
8
- description: String
9
- category: String
10
- menuType: String
11
- rank: Int
12
- routing: String
13
- routingType: String
14
- resourceType: String
15
- resourceUrl: String
16
- resourceName: String
17
- idField: String
18
- titleField: String
19
- gridSaveUrl: String
20
- pagination: Boolean
21
- detailFormId: String
22
- detailLayout: String
23
- template: String
24
- hiddenFlag: Boolean
25
- itemsProp: String
26
- totalProp: String
27
- fixedColumns: Int
28
- iconPath: String
29
- role: Role
30
- parent: Menu
31
- children: [Menu]
32
- buttons: [MenuButton]
33
- columns: [MenuColumn]
34
- creator: User
35
- updater: User
36
- createdAt: String
37
- updatedAt: String
38
- }
39
- `
@@ -1,19 +0,0 @@
1
-
2
- import { PageSettingType, PageSetting, PageSettingDetails, PageSettingInput } from './page-setting'
3
-
4
- export const Query = `
5
- pageSettings(
6
- codes: [Filter!]
7
- partners: [Filter!]
8
- ): [PageSettingType] @transaction
9
- `
10
-
11
- export const Mutation = /* GraphQL */ `
12
- addReleaseGoodProducts (
13
- name: String!
14
- orderInventories: [NewOrderInventory]
15
- existingOrderInventories: [NewOrderInventory]
16
- ): Boolean @privilege(category: "order_customer", privilege: "mutation") @transaction
17
- `
18
-
19
- export const Types = [PageSettingType, PageSetting, PageSettingDetails, PageSettingInput]
@@ -1,33 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const PageSettingType = gql`
4
- type PageSettingType {
5
- type: String
6
- details: [PageSetting]
7
- }
8
- `
9
-
10
- export const PageSetting = gql`
11
- type PageSetting {
12
- id: String
13
- name: String
14
- description: String
15
- settingDetails: [PageSettingDetails]
16
- }
17
- `
18
-
19
- export const PageSettingDetails = gql`
20
- type PageSettingDetails {
21
- id: String
22
- name: String
23
- description: String
24
- rank: Int
25
- }
26
- `
27
-
28
- export const PageSettingInput = gql`
29
- input PageSettingInput {
30
- query: Boolean
31
- filters: [Filter!]
32
- }
33
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const CostingReportList = gql`
4
- type CostingReportList {
5
- items: [CostingReport]
6
- total: Int
7
- }
8
- `
@@ -1,13 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const CostingReport = gql`
4
- type CostingReport {
5
- bizplace: Bizplace
6
- product: Product
7
- qty: Int
8
- uom: String
9
- uomValue: Float
10
- weightedAvgUnitCost: Float
11
- totalCost: Float
12
- }
13
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InboundOrderDetailsReportList = gql`
4
- type InboundOrderDetailsReportList {
5
- items: [InboundOrderDetailsReport]
6
- total: Int
7
- }
8
- `
@@ -1,53 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InboundOrderDetailsReport = gql`
4
- type InboundOrderDetailsReport {
5
- bizplace: Bizplace
6
- grnNo: String
7
- ganNo: String
8
- deliveryOrderNo: String
9
- refNo1: String
10
- refNo2: String
11
- refNo3: String
12
- looseItem: Boolean
13
- importCargo: Boolean
14
- containerNo: String
15
- containerSize: String
16
- ownTransport: Boolean
17
- acceptedBy: String
18
- acceptedAt: String
19
- orderCreatedAt: String
20
- unloadStart: String
21
- unloadComplete: String
22
- putawayStart: String
23
- putawayComplete: String
24
- orderLineItem: Int
25
- product: Product
26
- purchaseOrderId: String
27
- purchaseOrderNo: String
28
- contactPoint: ContactPoint
29
- packType: String
30
- packSize: Int
31
- qty: Int
32
- uomValue: Float
33
- uom: String
34
- unitCost: Float
35
- unitVolume: Float
36
- totalVolume: Float
37
- unitNettWeight: Float
38
- totalUnitNettWeight: Float
39
- unitGrossWeight: Float
40
- totalUnitGrossWeight: Float
41
- weightUnit: String
42
- palletId: String
43
- cartonId: String
44
- batchId: String
45
- batchIdRef: String
46
- expirationDate: String
47
- manufactureDate: String
48
- unloadedAt: String
49
- unloadedBy: String
50
- putawayAt: String
51
- putawayBy: String
52
- }
53
- `
@@ -1,8 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InboundSerialNumberReportList = gql`
4
- type InboundSerialNumberReportList {
5
- items: [InboundSerialNumberReport]
6
- total: Int
7
- }
8
- `
@@ -1,17 +0,0 @@
1
- import gql from 'graphql-tag'
2
-
3
- export const InboundSerialNumberReport = gql`
4
- type InboundSerialNumberReport {
5
- no: Int
6
- bizplace: Bizplace
7
- palletId: String
8
- cartonId: String
9
- orderNo: String
10
- refNo1: String
11
- refNo2: String
12
- refNo3: String
13
- product: Product
14
- serialNumber: String
15
- etd: String
16
- }
17
- `
@@ -1,43 +0,0 @@
1
- import { InboundSerialNumberReport } from './inbound-serial-number-report'
2
- import { InboundSerialNumberReportList } from './inbound-serial-number-report-list'
3
- import { OutboundSerialNumberReport } from './outbound-serial-number-report'
4
- import { OutboundSerialNumberReportList } from './outbound-serial-number-report-list'
5
-
6
- import { InboundOrderDetailsReport } from './inbound-order-details-report'
7
- import { InboundOrderDetailsReportList } from './inbound-order-details-report-list'
8
- import { OutboundOrderDetailsReport } from './outbound-order-details-report'
9
- import { OutboundOrderDetailsReportList } from './outbound-order-details-report-list'
10
- import { ProductLabelReport } from './product-label-report'
11
- import { ProductLabelReportList } from './product-label-report-list'
12
-
13
- import { CostingReport } from './costing-report'
14
- import { CostingReportList } from './costing-report-list'
15
- import { ReleaseInventoryReport } from './release-inventory-report'
16
- import { ReleaseInventoryReportList } from './release-inventory-report-list'
17
-
18
- export const Query = `
19
- inboundSerialNumberReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): InboundSerialNumberReportList @transaction
20
- outboundSerialNumberReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundSerialNumberReportList @transaction
21
- inboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): InboundOrderDetailsReportList @transaction
22
- outboundOrderDetailsReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): OutboundOrderDetailsReportList @transaction
23
- productLabelReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): ProductLabelReportList @transaction
24
- costingReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): CostingReportList @transaction
25
- releaseInventoryReport(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): ReleaseInventoryReportList @transaction
26
- `
27
-
28
- export const Types = [
29
- InboundSerialNumberReport,
30
- InboundSerialNumberReportList,
31
- OutboundSerialNumberReport,
32
- OutboundSerialNumberReportList,
33
- InboundOrderDetailsReport,
34
- InboundOrderDetailsReportList,
35
- OutboundOrderDetailsReport,
36
- OutboundOrderDetailsReportList,
37
- ProductLabelReport,
38
- ProductLabelReportList,
39
- CostingReport,
40
- CostingReportList,
41
- ReleaseInventoryReport,
42
- ReleaseInventoryReportList
43
- ]