@things-factory/operato-wms 4.3.246 → 4.3.248

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 (35) hide show
  1. package/client/pages/components/select-inventory-popup.js +4 -1
  2. package/client/pages/constants/location.js +4 -0
  3. package/client/pages/inbound/putaway-product.js +43 -10
  4. package/client/pages/inbound/putaway-same-carton-popup.js +9 -7
  5. package/client/pages/inbound/unload-product.js +65 -67
  6. package/client/pages/inbound/worksheet-putaway-return.js +1 -1
  7. package/client/pages/inbound/worksheet-putaway.js +1 -1
  8. package/client/pages/inbound/worksheet-unloading-return.js +3 -3
  9. package/client/pages/inbound/worksheet-unloading.js +1 -1
  10. package/client/pages/inventory/inventory-by-product.js +11 -0
  11. package/client/pages/inventory/onhand-inventory.js +64 -3
  12. package/client/pages/master/product/product-list.js +5 -5
  13. package/client/pages/order/release-order/create-release-order.js +406 -116
  14. package/client/pages/order/vas-order/create-vas-order.js +1 -1
  15. package/client/pages/order/vas-order/popup/select-vas-popup.js +1 -1
  16. package/client/pages/outbound/loading-product.js +14 -4
  17. package/client/pages/outbound/sorting-product.js +1 -1
  18. package/client/pages/outbound/worksheet-batch-picking.js +1 -1
  19. package/client/pages/outbound/worksheet-loading.js +15 -4
  20. package/client/pages/outbound/worksheet-packing.js +1 -1
  21. package/client/pages/outbound/worksheet-picking.js +21 -6
  22. package/client/pages/outbound/worksheet-return.js +1 -1
  23. package/client/pages/outbound/worksheet-sorting.js +1 -1
  24. package/client/pages/report/vas-report.js +12 -11
  25. package/client/pages/vas/vas-execution-page.js +23 -11
  26. package/client/pages/vas/worksheet-ref-vas.js +28 -16
  27. package/config.development.js +96 -77
  28. package/dist-server/graphql/resolvers/reports/vas-report.js +19 -18
  29. package/dist-server/graphql/resolvers/reports/vas-report.js.map +1 -1
  30. package/package.json +23 -23
  31. package/server/graphql/resolvers/reports/vas-report.ts +19 -19
  32. package/translations/en.json +13 -2
  33. package/translations/ko.json +13 -2
  34. package/translations/ms.json +13 -2
  35. package/translations/zh.json +13 -2
@@ -1,68 +1,57 @@
1
1
  module.exports = {
2
2
  domainType: 'warehouse',
3
3
  domainExtType: 'warehouse',
4
- useVirtualHostBasedDomain: false,
5
4
  fallbackRoute: '/',
6
5
  subdomainOffset: 2,
7
- port: 1100,
8
- inspect: '9430',
9
- // ormconfig: {
10
- // name: 'default',
11
- // type: 'postgres',
12
- // database: 'dev2',
13
- // username: 'postgres',
14
- // password: 'hatio',
15
- // host: '192.168.0.161',
16
- // port: 15432,
17
- // synchronize: false,
18
- // logging: true
19
- // },
20
6
  ormconfig: {
21
7
  name: 'default',
22
8
  type: 'postgres',
23
- database: 'postgres',
9
+ database: 'sum',
24
10
  username: 'postgres',
25
- password: 'abcd1234',
26
- host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
- port: 55432,
11
+ password: 'hatio',
12
+ host: '192.168.0.151',
13
+ port: 15432,
28
14
  synchronize: false,
29
- logging: true
30
- },
31
- sellercraftIntegrationConfig: {
32
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
- },
34
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
- password: {
36
- lowerCase: true,
37
- upperCase: false,
38
- digit: false,
39
- specialCharacter: false,
40
- allowRepeat: true,
41
- useTightPattern: false,
42
- useLoosePattern: true,
43
- tightCharacterLength: 4,
44
- looseCharacterLength: 4,
45
- history: 2
15
+ logging: false
46
16
  },
47
- // storage: {
48
- // type: 's3',
49
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
- // secretAccessKey: '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',
51
- // bucketName: 'opa-one',
52
- // region: 'ap-southeast-1'
17
+ // ormconfig: {
18
+ // name: 'default',
19
+ // type: 'postgres',
20
+ // database: 'postgres',
21
+ // username: 'postgres',
22
+ // password: 'abcd1234',
23
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
24
+ // port: 55432,
25
+ // synchronize: false,
26
+ // logging: false
53
27
  // },
54
- uploads: 'uploads',
55
- attachmentsPath: 'attachments',
56
- logger: {
57
- file: {
58
- filename: 'logs/application-%DATE%.log',
59
- datePattern: 'YYYY-MM-DD-HH',
60
- zippedArchive: true,
61
- maxSize: '200m',
62
- maxFiles: '1m',
63
- level: 'info'
28
+ reportApiUrl: 'http://localhost:8888/rest/report/show_html',
29
+ notification: {
30
+ fcm: {
31
+ serviceAccount: {
32
+ project_id: 'operato',
33
+ private_key:
34
+ '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeUuKSWYrWaUjN17lqtRlYeT1ylR1PIJuWqd4cKfgoEgz+lHwRPDCEX\nAYb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B8G0i4KBXFiG7U',
39
+ projectId: 'operato',
40
+ messagingSenderId: 79537064975,
41
+ appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
42
+ },
43
+ serverKey:
44
+ 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
45
+ },
46
+ vapidKey: {
47
+ subject: 'mailto:heartyoh@hatiolab.com',
48
+ publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
49
+ privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
64
50
  }
65
51
  },
52
+ port: 9001,
53
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
54
+ useVirtualHostBasedDomain: false,
66
55
  email: {
67
56
  host: 'smtp.office365.com',
68
57
  port: 587,
@@ -74,32 +63,62 @@ module.exports = {
74
63
  secureConnection: false,
75
64
  tls: {
76
65
  ciphers: 'SSLv3'
77
- }
66
+ },
67
+ sender: 'no-reply@hatiolab.com'
78
68
  },
79
- sender: 'no-reply@hatiolab.com',
80
- notification: {
81
- // fcm: {
82
- // serviceAccount: {
83
- // project_id: 'operato',
84
- // private_key:
85
- // '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k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7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
86
- // client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
87
- // },
88
- // appConfig: {
89
- // apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
90
- // projectId: 'operato',
91
- // messagingSenderId: 79537064975,
92
- // appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
93
- // },
94
- // serverKey:
95
- // 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
96
- // },
97
- // vapidKey: {
98
- // subject: 'mailto:heartyoh@hatiolab.com',
99
- // publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
100
- // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
- // }
69
+ // marketplaceIntegrationShopee: {
70
+ // platform: 'shopee',
71
+ // isUAT: false,
72
+ // application: 'Operato MMS V2 Live',
73
+ // partnerId: 2004140,
74
+ // partnerKey: '825dcae5af73426f887bc8b1ddb5b494b70e0057b50b77298f85350273017bd2',
75
+ // v2: true
76
+ // },
77
+ marketplaceIntegrationShopee: {
78
+ platform: 'shopee',
79
+ isUAT: false,
80
+ application: 'Operato MMS',
81
+ partnerId: 846025,
82
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
83
+ v2: true
84
+ },
85
+ // marketplaceIntegrationShopee: {
86
+ // platform: 'shopee',
87
+ // isUAT: true,
88
+ // application: 'Staging MMS',
89
+ // partnerId: 845525,
90
+ // partnerKey: '4a3f4214fd0f0bda970b342a99b6f8705fc7bacad2743cffa7ed67b79840665e'
91
+ // },
92
+ marketplaceIntegrationLazada: {
93
+ platform: 'lazada',
94
+ application: 'operato-mms',
95
+ appKey: '120961',
96
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
97
+ callback: 'https://maybank.operato-m.com/lazada-callback'
98
+ },
99
+ inspect: 9330,
100
+ attachment: 'attachments',
101
+ sellercraftIntegrationConfig: {
102
+ apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
102
103
  },
103
- // reportApiUrl: 'localhost:8888/rest/report/show_html'
104
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
104
+ awbFileStorage: {
105
+ type: 's3',
106
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
107
+ secretAccessKey: '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',
108
+ bucketName: 'operato-awb',
109
+ region: 'ap-southeast-1'
110
+ },
111
+ awsSqs: {
112
+ region: 'ap-southeast-1',
113
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
114
+ secretAccessKey: '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',
115
+ configuration: {
116
+ retryAttempt: 0,
117
+ timeout: 0,
118
+ exponential_rate: 1.5,
119
+ interval: 1,
120
+ actualTimeout: 0,
121
+ maxRetry: 30
122
+ }
123
+ }
105
124
  }
@@ -21,30 +21,32 @@ exports.vasReport = {
21
21
  await (0, utils_1.rawProductsQuery)(tx, params, bizplace);
22
22
  let extraQueryFilter = '';
23
23
  if (productInfo) {
24
- extraQueryFilter = `${extraQueryFilter} and old_product_name like '%${productInfo.value}%'
25
- or sku like '%${productInfo.value}%'
26
- or old_p_description like '%${productInfo.value}%'
27
- or old_p_brand like '%${productInfo.value}%'
28
- or old_p_brand_sku like '%${productInfo.value}%'
29
- or new_product_name like '%${productInfo.value}%'
30
- or new_sku like '%${productInfo.value}%'
31
- or new_p_description like '%${productInfo.value}%'
32
- or new_p_brand like '%${productInfo.value}%'
33
- or new_p_brand_sku like '%${productInfo.value}%' `;
24
+ extraQueryFilter = `${extraQueryFilter} and (
25
+ old_product_name ilike '%${productInfo.value}%'
26
+ or sku ilike '%${productInfo.value}%'
27
+ or old_p_description ilike '%${productInfo.value}%'
28
+ or old_p_brand ilike '%${productInfo.value}%'
29
+ or old_p_brand_sku ilike '%${productInfo.value}%'
30
+ or new_product_name ilike '%${productInfo.value}%'
31
+ or new_sku ilike '%${productInfo.value}%'
32
+ or new_p_description ilike '%${productInfo.value}%'
33
+ or new_p_brand ilike '%${productInfo.value}%'
34
+ or new_p_brand_sku ilike '%${productInfo.value}%'
35
+ ) `;
34
36
  }
35
37
  if (orderNo) {
36
- extraQueryFilter = `${extraQueryFilter} and order_no like '%${orderNo.value}%' `;
38
+ extraQueryFilter = `${extraQueryFilter} and order_no ilike '%${orderNo.value}%' `;
37
39
  }
38
40
  if (fromDate) {
39
- extraQueryFilter = `${extraQueryFilter} and w.ended_at >= '%${fromDate.value}%' `;
41
+ extraQueryFilter = `${extraQueryFilter} and completion_date >= '%${fromDate.value}%' `;
40
42
  }
41
43
  if (toDate) {
42
- extraQueryFilter = `${extraQueryFilter} and w.ended_at <= '%${toDate.value}%' `;
44
+ extraQueryFilter = `${extraQueryFilter} and completion_date <= '%${toDate.value}%' `;
43
45
  }
44
46
  await tx.query(`
45
47
  create temp table temp_vas_order_report on commit drop as (
46
48
  select * from (
47
- select distinct b.name as "company", rg.name as "order_no", rg.ref_no as "ref_no", p1.sku as "sku", ov.batch_id as "batch_no", ov.packing_type as "packing_type", ov.uom as "uom", ov.uom_value as "uom_value", oi.release_qty as "release_qty",
49
+ select distinct b.name as "company", rg.name as "order_no", rg.ref_no as "ref_no", p1.sku as "sku", ov.batch_id as "batch_no", ov.packing_type as "packing_type", ov.uom as "uom", ov.uom_value as "uom_value", op.release_qty as "release_qty",
48
50
  v.name as "vas", ovi.vas_qty as "vas_qty", p2.sku as "new_sku", ov.new_packing_type as "new_packing_type", ov.new_uom as "new_uom", ov.output_qty as "output_qty", ov.new_uom_value as "new_uom_value", w.ended_at as "completion_date",
49
51
  p1.name as "old_product_name", p1.description as "old_p_description", p1.brand as "old_p_brand", p1.brand_sku as "old_p_brand_sku",
50
52
  p2.name as "new_product_name", p2.description as "new_p_description", p2.brand as "new_p_brand", p2.brand_sku as "new_p_brand_sku"
@@ -52,12 +54,12 @@ exports.vasReport = {
52
54
  left join bizplaces b on ov.bizplace_id = b.id
53
55
  inner join release_goods rg on ov.release_good_id = rg.id
54
56
  inner join products p1 on ov.product_id = p1.id
55
- left join order_inventories oi on ov.release_good_id = oi.release_good_id
57
+ left join order_products op on ov.release_good_id = op.release_good_id and ov.product_id = op.product_id and ov.batch_id = op.batch_id
56
58
  inner join order_vas_items ovi on ov.id = ovi.order_vas_id
57
59
  inner join vass v on ovi.vas_id = v.id
58
60
  left join products p2 on ov.new_product_id = p2.id
59
61
  inner join worksheets w on ov.release_good_id = w.release_good_id
60
- where b.id = $1 and w.type = 'VAS' and oi.status <> 'TERMINATED' and oi.status <> 'CANCELLED'
62
+ where b.id = $1 and w.type = 'VAS'
61
63
  ) src
62
64
  where 1=1
63
65
  ${extraQueryFilter}
@@ -68,8 +70,7 @@ exports.vasReport = {
68
70
  `);
69
71
  const result = await tx.query(`
70
72
  select * from temp_vas_order_report
71
- offset $1 limit $2
72
- `, [(params.pagination.page - 1) * params.pagination.limit, params.pagination.limit]);
73
+ `);
73
74
  let items = result.map(item => {
74
75
  let data = {
75
76
  bizplace: {
@@ -1 +1 @@
1
- {"version":3,"file":"vas-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/vas-report.ts"],"names":[],"mappings":";;;AAEA,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,SAAS,GAAG;IACvB,KAAK,CAAC,SAAS,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACrD,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YAC1E,IAAI,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,CAAA;YAC1E,IAAI,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAEhE,IAAI,CAAC,cAAc,EAAE;gBAAE,MAAM,eAAe,CAAA;aAAE;YAE9C,MAAM,QAAQ,GAAa,MAAM,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,OAAO,CAAC;gBAClE,EAAE,EAAE,cAAc,CAAC,KAAK;aACzB,CAAC,CAAA;YAEF,M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,YAAY;wBAC9B,GAAG,EAAE,IAAI,CAAC,GAAG;wBACb,QAAQ,EAAE,IAAI,CAAC,SAAS;wBACxB,cAAc,EAAE,IAAI,CAAC,gBAAgB;wBACrC,MAAM,EAAE,IAAI,CAAC,OAAO;wBACpB,WAAW,EAAE,IAAI,CAAC,aAAa;wBAC/B,SAAS,EAAE,IAAI,CAAC,UAAU;wBAC1B,OAAO,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE;wBAC1B,UAAU,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE;qBAClC;oBACD,YAAY,EAAE;wBACZ,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE;wBACvB,MAAM,EAAE,IAAI,CAAC,OAAO;qBACrB;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE,IAAI,CAAC,WAAW;qBAC7B;oBACD,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI,CAAC,eAAe;qBAC9B;iBACF,CAAA;gBAED,OAAO,IAAI,CAAA;YACb,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.246",
3
+ "version": "4.3.248",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -63,52 +63,52 @@
63
63
  "@operato/scene-table": "^0.1.8",
64
64
  "@operato/scene-wheel-sorter": "^0.1.8",
65
65
  "@things-factory/apptool-ui": "^4.3.237",
66
- "@things-factory/attachment-ui": "^4.3.237",
67
- "@things-factory/auth-ui": "^4.3.239",
68
- "@things-factory/barcode-ui": "^4.3.237",
69
- "@things-factory/biz-ui": "^4.3.237",
70
- "@things-factory/board-service": "^4.3.237",
71
- "@things-factory/board-ui": "^4.3.237",
72
- "@things-factory/code-ui": "^4.3.237",
66
+ "@things-factory/attachment-ui": "^4.3.248",
67
+ "@things-factory/auth-ui": "^4.3.248",
68
+ "@things-factory/barcode-ui": "^4.3.248",
69
+ "@things-factory/biz-ui": "^4.3.248",
70
+ "@things-factory/board-service": "^4.3.248",
71
+ "@things-factory/board-ui": "^4.3.248",
72
+ "@things-factory/code-ui": "^4.3.248",
73
73
  "@things-factory/context-ui": "^4.3.237",
74
74
  "@things-factory/export-ui": "^4.3.237",
75
75
  "@things-factory/export-ui-csv": "^4.3.237",
76
76
  "@things-factory/export-ui-excel": "^4.3.237",
77
- "@things-factory/fav-base": "^4.3.237",
77
+ "@things-factory/fav-base": "^4.3.248",
78
78
  "@things-factory/form-ui": "^4.3.237",
79
- "@things-factory/geography": "^4.3.237",
79
+ "@things-factory/geography": "^4.3.248",
80
80
  "@things-factory/grist-ui": "^4.3.237",
81
81
  "@things-factory/help": "^4.3.237",
82
82
  "@things-factory/i18n-base": "^4.3.237",
83
- "@things-factory/id-rule-base": "^4.3.237",
83
+ "@things-factory/id-rule-base": "^4.3.248",
84
84
  "@things-factory/import-ui": "^4.3.237",
85
85
  "@things-factory/import-ui-excel": "^4.3.237",
86
- "@things-factory/menu-ui": "^4.3.237",
86
+ "@things-factory/menu-ui": "^4.3.248",
87
87
  "@things-factory/more-ui": "^4.3.237",
88
- "@things-factory/notification": "^4.3.237",
88
+ "@things-factory/notification": "^4.3.248",
89
89
  "@things-factory/pdf": "^4.3.227",
90
90
  "@things-factory/print-proxy-service": "^4.3.237",
91
91
  "@things-factory/print-ui": "^4.3.237",
92
- "@things-factory/product-base": "^4.3.237",
93
- "@things-factory/resource-ui": "^4.3.239",
94
- "@things-factory/sales-ui": "^4.3.246",
92
+ "@things-factory/product-base": "^4.3.248",
93
+ "@things-factory/resource-ui": "^4.3.248",
94
+ "@things-factory/sales-ui": "^4.3.248",
95
95
  "@things-factory/scene-data-transform": "^4.3.237",
96
96
  "@things-factory/scene-excel": "^4.3.237",
97
97
  "@things-factory/scene-firebase": "^4.3.227",
98
98
  "@things-factory/scene-form": "^4.3.237",
99
99
  "@things-factory/scene-google-map": "^4.3.237",
100
100
  "@things-factory/scene-graphql": "^4.3.237",
101
- "@things-factory/scene-label": "^4.3.237",
101
+ "@things-factory/scene-label": "^4.3.248",
102
102
  "@things-factory/scene-marker": "^4.3.227",
103
103
  "@things-factory/scene-mqtt": "^4.3.227",
104
104
  "@things-factory/scene-restful": "^4.3.237",
105
105
  "@things-factory/scene-visualizer": "^4.3.237",
106
- "@things-factory/setting-ui": "^4.3.237",
106
+ "@things-factory/setting-ui": "^4.3.248",
107
107
  "@things-factory/system-ui": "^4.3.237",
108
- "@things-factory/transport-base": "^4.3.237",
109
- "@things-factory/tutorial-ui": "^4.3.237",
110
- "@things-factory/warehouse-base": "^4.3.246",
111
- "@things-factory/worksheet-base": "^4.3.246"
108
+ "@things-factory/transport-base": "^4.3.248",
109
+ "@things-factory/tutorial-ui": "^4.3.248",
110
+ "@things-factory/warehouse-base": "^4.3.248",
111
+ "@things-factory/worksheet-base": "^4.3.248"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.227",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "7e218f27deddcbd2c4585870c45f06cd889f74d3"
120
+ "gitHead": "c45a9863ca451fa4d4fe3dbc797d7cc883b5bfd5"
121
121
  }
@@ -25,35 +25,37 @@ export const vasReport = {
25
25
 
26
26
  let extraQueryFilter = ''
27
27
  if (productInfo) {
28
- extraQueryFilter = `${extraQueryFilter} and old_product_name like '%${productInfo.value}%'
29
- or sku like '%${productInfo.value}%'
30
- or old_p_description like '%${productInfo.value}%'
31
- or old_p_brand like '%${productInfo.value}%'
32
- or old_p_brand_sku like '%${productInfo.value}%'
33
- or new_product_name like '%${productInfo.value}%'
34
- or new_sku like '%${productInfo.value}%'
35
- or new_p_description like '%${productInfo.value}%'
36
- or new_p_brand like '%${productInfo.value}%'
37
- or new_p_brand_sku like '%${productInfo.value}%' `
28
+ extraQueryFilter = `${extraQueryFilter} and (
29
+ old_product_name ilike '%${productInfo.value}%'
30
+ or sku ilike '%${productInfo.value}%'
31
+ or old_p_description ilike '%${productInfo.value}%'
32
+ or old_p_brand ilike '%${productInfo.value}%'
33
+ or old_p_brand_sku ilike '%${productInfo.value}%'
34
+ or new_product_name ilike '%${productInfo.value}%'
35
+ or new_sku ilike '%${productInfo.value}%'
36
+ or new_p_description ilike '%${productInfo.value}%'
37
+ or new_p_brand ilike '%${productInfo.value}%'
38
+ or new_p_brand_sku ilike '%${productInfo.value}%'
39
+ ) `
38
40
  }
39
41
 
40
42
  if (orderNo) {
41
- extraQueryFilter = `${extraQueryFilter} and order_no like '%${orderNo.value}%' `
43
+ extraQueryFilter = `${extraQueryFilter} and order_no ilike '%${orderNo.value}%' `
42
44
  }
43
45
 
44
46
  if (fromDate) {
45
- extraQueryFilter = `${extraQueryFilter} and w.ended_at >= '%${fromDate.value}%' `
47
+ extraQueryFilter = `${extraQueryFilter} and completion_date >= '%${fromDate.value}%' `
46
48
  }
47
49
 
48
50
  if (toDate) {
49
- extraQueryFilter = `${extraQueryFilter} and w.ended_at <= '%${toDate.value}%' `
51
+ extraQueryFilter = `${extraQueryFilter} and completion_date <= '%${toDate.value}%' `
50
52
  }
51
53
 
52
54
  await tx.query(
53
55
  `
54
56
  create temp table temp_vas_order_report on commit drop as (
55
57
  select * from (
56
- select distinct b.name as "company", rg.name as "order_no", rg.ref_no as "ref_no", p1.sku as "sku", ov.batch_id as "batch_no", ov.packing_type as "packing_type", ov.uom as "uom", ov.uom_value as "uom_value", oi.release_qty as "release_qty",
58
+ select distinct b.name as "company", rg.name as "order_no", rg.ref_no as "ref_no", p1.sku as "sku", ov.batch_id as "batch_no", ov.packing_type as "packing_type", ov.uom as "uom", ov.uom_value as "uom_value", op.release_qty as "release_qty",
57
59
  v.name as "vas", ovi.vas_qty as "vas_qty", p2.sku as "new_sku", ov.new_packing_type as "new_packing_type", ov.new_uom as "new_uom", ov.output_qty as "output_qty", ov.new_uom_value as "new_uom_value", w.ended_at as "completion_date",
58
60
  p1.name as "old_product_name", p1.description as "old_p_description", p1.brand as "old_p_brand", p1.brand_sku as "old_p_brand_sku",
59
61
  p2.name as "new_product_name", p2.description as "new_p_description", p2.brand as "new_p_brand", p2.brand_sku as "new_p_brand_sku"
@@ -61,12 +63,12 @@ export const vasReport = {
61
63
  left join bizplaces b on ov.bizplace_id = b.id
62
64
  inner join release_goods rg on ov.release_good_id = rg.id
63
65
  inner join products p1 on ov.product_id = p1.id
64
- left join order_inventories oi on ov.release_good_id = oi.release_good_id
66
+ left join order_products op on ov.release_good_id = op.release_good_id and ov.product_id = op.product_id and ov.batch_id = op.batch_id
65
67
  inner join order_vas_items ovi on ov.id = ovi.order_vas_id
66
68
  inner join vass v on ovi.vas_id = v.id
67
69
  left join products p2 on ov.new_product_id = p2.id
68
70
  inner join worksheets w on ov.release_good_id = w.release_good_id
69
- where b.id = $1 and w.type = 'VAS' and oi.status <> 'TERMINATED' and oi.status <> 'CANCELLED'
71
+ where b.id = $1 and w.type = 'VAS'
70
72
  ) src
71
73
  where 1=1
72
74
  ${extraQueryFilter}
@@ -82,9 +84,7 @@ export const vasReport = {
82
84
  const result: any = await tx.query(
83
85
  `
84
86
  select * from temp_vas_order_report
85
- offset $1 limit $2
86
- `,
87
- [(params.pagination.page - 1) * params.pagination.limit, params.pagination.limit]
87
+ `
88
88
  )
89
89
 
90
90
  let items = result.map(item => {
@@ -227,6 +227,7 @@
227
227
  "field.completion_date": "completion date",
228
228
  "field.completion_vas_from_date": "completion vas from date",
229
229
  "field.completion_vas_to_date": "completion vas to date",
230
+ "field.condition": "condition",
230
231
  "field.contact_name": "contact name",
231
232
  "field.contact_point": "contact point",
232
233
  "field.contact_type": "contact type",
@@ -244,6 +245,7 @@
244
245
  "field.cross_docking": "cross docking",
245
246
  "field.currency": "currency",
246
247
  "field.current_location": "current location",
248
+ "field.damage_qty": "Damage Qty",
247
249
  "field.date": "date",
248
250
  "field.default_price": "default price",
249
251
  "field.deleted": "deleted",
@@ -290,6 +292,7 @@
290
292
  "field.expiration": "expiration",
291
293
  "field.expiring_in": "exp.",
292
294
  "field.expiry_date": "expiry date",
295
+ "field.expiry_status": "expiry status",
293
296
  "field.export_option": "export option",
294
297
  "field.export": "export",
295
298
  "field.fax": "fax",
@@ -366,6 +369,8 @@
366
369
  "field.max_qty": "max qty",
367
370
  "field.merged_worksheet": "merged worksheet",
368
371
  "field.mfg_year": "mfg. year",
372
+ "field.min_inbound_shelf_life": "min inbound shelf life",
373
+ "field.min_outbound_shelf_life": "min outbound shelf life",
369
374
  "field.min_qty": "min qty",
370
375
  "field.missing_qty": "missing qty",
371
376
  "field.missing_stock": "missing stock",
@@ -485,6 +490,7 @@
485
490
  "field.quarantine_stock_only": "quarantine stock only",
486
491
  "field.rank": "rank",
487
492
  "field.ready": "completed",
493
+ "field.reason_of_defective": "reason of defective",
488
494
  "field.recall": "recall",
489
495
  "field.receipt_reference_no": "receipt reference no",
490
496
  "field.receive_date": "receive date",
@@ -1110,6 +1116,7 @@
1110
1116
  "release_order_updated": "release order updated",
1111
1117
  "release_orders_requests": "release orders requests",
1112
1118
  "selected_qty_is_more_than_expected": "selected qty is more than expected",
1119
+ "text. vas_order_created": "vas order created",
1113
1120
  "text.12_months": "12 months",
1114
1121
  "text.3_months": "3 months",
1115
1122
  "text.6_months": "6 months",
@@ -1262,6 +1269,7 @@
1262
1269
  "text.driver_is_not_selected": "driver is not selected",
1263
1270
  "text.duplicate_entry_in_vas_details": "duplicate entry in vas details",
1264
1271
  "text.duplicated_romoval_on_same_sn": "duplicated removal on same serial no",
1272
+ "text.duplicated_value_field": "duplicated value ({field})",
1265
1273
  "text.duplicated_vas_on_same_batch": "duplicated vas on same batch",
1266
1274
  "text.edit_add_order_product": "edit add order product",
1267
1275
  "text.edited_batch_no_have_been_processed": "edited batch no have been processed",
@@ -1563,6 +1571,8 @@
1563
1571
  "text.shipping_order_form_invalid": "shipping order form invalid",
1564
1572
  "text.signed": "signed in",
1565
1573
  "text.single_picking": "single picking",
1574
+ "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "SKU has vas. Changing this SKU will need user to reenter vas information",
1575
+ "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information",
1566
1576
  "text.sku_is_required": "sku is required",
1567
1577
  "text.sorting_is_completed": "sorting is completed",
1568
1578
  "text.status_field_is_empty": "status field is empty",
@@ -1574,6 +1584,7 @@
1574
1584
  "text.supplier": "supplier",
1575
1585
  "text.target_does_not_selected": "target is not selected",
1576
1586
  "text.target_is_not_selected": "target is not selected",
1587
+ "text.there_are_damaged_inventories": "there are damaged inventories",
1577
1588
  "text.there_is_additional_operation": "there is additional operation",
1578
1589
  "text.there_is_completed_item_already": "there is completed item already",
1579
1590
  "text.there_is_duplicated_products": "there is duplicated products",
@@ -1732,6 +1743,7 @@
1732
1743
  "title.daily_collection_report": "daily collection report",
1733
1744
  "title.daily_order_inventory_report": "daily order inventory report",
1734
1745
  "title.date_inventory_report": "{state.text} Inventory Report",
1746
+ "title.date_vas_report": "{state.text} Vas Report",
1735
1747
  "title.delivery_information": "delivery information",
1736
1748
  "title.delivery_order_summary": "delivery order summary",
1737
1749
  "title.delivery_order": "delivery order",
@@ -2018,6 +2030,5 @@
2018
2030
  "title.worksheet_unloading_return": "worksheet unloading return",
2019
2031
  "title.worksheet_unloading": "worksheet unloading",
2020
2032
  "title.worksheet_vas": "worksheet vas",
2021
- "title.worksheet": "worksheet",
2022
- "vas_order_created": "vas order created"
2033
+ "title.worksheet": "worksheet"
2023
2034
  }
@@ -229,6 +229,7 @@
229
229
  "field.comment": "코맨트",
230
230
  "field.company": "회사",
231
231
  "field.completed": "완료",
232
+ "field.condition": "[ko] Condition",
232
233
  "field.contact_name": "연락처명",
233
234
  "field.contact_point": "연락처",
234
235
  "field.contact_type": "연락처 유형",
@@ -246,6 +247,7 @@
246
247
  "field.current_location": "현재 로케이션",
247
248
  "field.customer_company": "고객 회사",
248
249
  "field.customer": "[ko]customer",
250
+ "field.damage_qty": "[ko] Damage Qty",
249
251
  "field.date": "[ko]date",
250
252
  "field.default_price": "기준 가격",
251
253
  "field.deleted": "[ko]deleted",
@@ -295,6 +297,7 @@
295
297
  "field.expiration": "[ko]expiration",
296
298
  "field.expires_on": "[ko]expires on",
297
299
  "field.expiring_in": "[ko]exp.",
300
+ "field.expiry_status": "[ko] Expiry Status",
298
301
  "field.expiry_date": "[ko]expiry date",
299
302
  "field.export_option": "수출 옵션",
300
303
  "field.export": "수출",
@@ -379,6 +382,8 @@
379
382
  "field.max_qty": "[ko]max qty",
380
383
  "field.merged_worksheet": "[ko] merged worksheet",
381
384
  "field.min_qty": "[ko]min qty",
385
+ "field.min_inbound_shelf_life": " [ko] min inbound shelf life",
386
+ "field.min_outbound_shelf_life": " [ko] min outbound shelf life",
382
387
  "field.missing_volume": "[ko] missing volume",
383
388
  "field.missing": "[ko] missing",
384
389
  "field.missing_stock": "[ko] missing stock",
@@ -491,6 +496,7 @@
491
496
  "field.quarantine_stock_only": "[ko] quarantine stock only",
492
497
  "field.rank": "순위",
493
498
  "field.ready": "준비",
499
+ "field.reason_of_defective": "[ko] Reason of Defective",
494
500
  "field.recall": "recall",
495
501
  "field.receipt_reference_no": "청구서 참조 번호",
496
502
  "field.receive_date": "수집 날짜",
@@ -1713,6 +1719,7 @@
1713
1719
  "text.your_working_is_completed": "your task for putaway is done",
1714
1720
  "text.update_vas_order": "[ko]update vas order",
1715
1721
  "text.vas_order_updated": "[ko]vas order updated",
1722
+ "text.there_are_damaged_inventories": "[ko]there are damaged inventories",
1716
1723
  "title.add_product": "[ko] add product",
1717
1724
  "title.add_rule_field": "규칙 필드 추가",
1718
1725
  "title.add_tracking_no": "[ko] add tracking no",
@@ -2136,7 +2143,8 @@
2136
2143
  "title.worksheet_vas": "부가서비스 작업지시서",
2137
2144
  "title.worksheet": "작업지시서",
2138
2145
  "title.vas_report": "[ko]vas report",
2139
- "vas_order_created": "부가서비스주문 생성됨",
2146
+ "title.date_vas_report": "[ko]{state.text} Vas Report",
2147
+ "text.vas_order_created": "부가서비스주문 생성됨",
2140
2148
  "field.packing_type_sku": "[ko] packing type ({sku})",
2141
2149
  "field.uom_sku": "[ko] uom ({sku})",
2142
2150
  "field.uom_value_sku": "[ko] uom value ({sku})",
@@ -2153,5 +2161,8 @@
2153
2161
  "field.new_sku_same_as_original_sku": "[ko] new SKU same as original SKU",
2154
2162
  "title.order_vas_report": "[ko] order vas report",
2155
2163
  "button.vas_list": "[ko] vas list",
2156
- "text.duplicate_entry_in_vas_details": "[ko] duplicate entry in vas details"
2164
+ "text.duplicate_entry_in_vas_details": "[ko] duplicate entry in vas details",
2165
+ "text.duplicated_value_field": "[ko] duplicated value ({field})",
2166
+ "text.sku_has_vas_changing_sku_will_need_user_to_reenter_vas_information": "[ko] SKU has vas. Changing this SKU will need user to reenter vas information",
2167
+ "text.sku_has_vas_releaseQty_less_than_qty_for_vas_changing_will_require_user_to_reenter_vas_information": "[ko] SKU has vas. release Qty is lesser than Qty for vas changing will require user to reenter vas information"
2157
2168
  }