@things-factory/operato-wms 4.3.523 → 4.3.525

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.
@@ -562,6 +562,7 @@ class BulkOperation extends localize(i18next)(PageView) {
562
562
  deliveryAddress3: String(record.deliveryAddress3 || ''),
563
563
  deliveryAddress4: String(record.deliveryAddress4 || ''),
564
564
  attentionTo: String(record.attentionTo || ''),
565
+ attentionCompany: String(record.attentionCompany || ''),
565
566
  city: String(record.city || ''),
566
567
  state: String(record.state || ''),
567
568
  country: String(record.country || ''),
@@ -118,6 +118,12 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
118
118
  header: i18next.t('field.attention_to'),
119
119
  width: 150
120
120
  },
121
+ {
122
+ type: 'string',
123
+ name: 'attentionCompany',
124
+ header: i18next.t('field.attention_company'),
125
+ width: 150
126
+ },
121
127
  {
122
128
  type: 'string',
123
129
  name: 'phone1',
@@ -326,6 +332,7 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
326
332
  billingState
327
333
  billingCountry
328
334
  attentionTo
335
+ attentionCompany
329
336
  city
330
337
  state
331
338
  country
@@ -386,6 +393,7 @@ class ValidateRoPopup extends localize(i18next)(LitElement) {
386
393
  billingPostalCode: x.billingPostalCode,
387
394
  billingCountry: x.billingCountry,
388
395
  attentionTo: x.attentionTo,
396
+ attentionCompany: x.attentionCompany,
389
397
  city: x.city,
390
398
  state: x.state,
391
399
  country: x.country,
@@ -600,6 +600,7 @@ class OnhandInventory extends connect(store)(localize(i18next)(PageView)) {
600
600
  { header: i18next.t('field.uom'), key: 'uom', width: 15, type: 'string' },
601
601
  { header: i18next.t('field.location'), key: 'location_name', width: 25, type: 'string' },
602
602
  { header: i18next.t('field.exp_date'), key: 'expirationDate', width: 30, type: 'string' },
603
+ { header: i18next.t('field.manufacture_date'), key: 'manufactureDate', width: 40, type: 'date' },
603
604
  { header: i18next.t('field.batch_no_ref'), key: 'batchIdRef', width: 50, type: 'string' },
604
605
  { header: i18next.t('field.volume_m3'), key: 'volume', width: 25, type: 'float' },
605
606
  { header: i18next.t('field.unit_cost'), key: 'unitCost', width: 25, type: 'float' },
@@ -52,7 +52,9 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
52
52
  _isRequireSerialNumberScanningOutbound: Boolean,
53
53
  _isBatchPicking: Boolean,
54
54
  _isLmdOption: Boolean,
55
- _awbAttempts: Number
55
+ _awbAttempts: Number,
56
+ grossWeight: Number,
57
+ _enablePackingGrossWeight: Boolean
56
58
  }
57
59
  }
58
60
 
@@ -194,8 +196,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
194
196
  if (
195
197
  this.releaseGoodNo &&
196
198
  (this.source == 'OTHERS' || this.source == null) &&
197
- this.platform == 'operato' &&
198
- this.completed
199
+ this.platform == 'operato' && this.completed
199
200
  ) {
200
201
  actions.push({
201
202
  title: i18next.t('button.print_airway_bill'),
@@ -269,6 +270,10 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
269
270
  return this.shadowRoot.querySelector('barcode-scanable-input[name=serialNumber]')?.shadowRoot.querySelector('input')
270
271
  }
271
272
 
273
+ get grossWeightInput() {
274
+ return this.shadowRoot.querySelector('input[name=grossWeight]')
275
+ }
276
+
272
277
  get scannable() {
273
278
  return this._selectedTaskStatus && this._selectedTaskStatus === WORKSHEET_STATUS.EXECUTING.value
274
279
  }
@@ -291,6 +296,25 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
291
296
  }
292
297
  }
293
298
 
299
+ addGrossWeightListener() {
300
+ const grossWeightInput = this.shadowRoot.querySelector('#grossWeightInput');
301
+ if (grossWeightInput) {
302
+ grossWeightInput.addEventListener('input', (event) => {
303
+ let value = event.target.value;
304
+
305
+ // Check if the input is valid and contains more than 3 decimal places
306
+ if (value.includes('.')) {
307
+ let [integer, decimals] = value.split('.');
308
+ if (decimals.length > 3) {
309
+ event.target.value = `${integer}.${decimals.slice(0, 3)}`;
310
+ }
311
+ }
312
+ });
313
+ } else {
314
+ console.error("Gross weight input not found.");
315
+ }
316
+ }
317
+
294
318
  render() {
295
319
  return html`
296
320
  <form id="info-form" class="multi-column-form" style="align-items:center">
@@ -316,7 +340,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
316
340
  <fieldset>
317
341
  ${this._enableProductScanning
318
342
  ? html` <label>${i18next.t('label.product_barcode')}</label>
319
- <barcode-scanable-input name="productBarcode" custom-input></barcode-scanable-input>`
343
+ <barcode-scanable-input name="productBarcode" custom-input></barcode-scanable-input>
344
+
345
+ ${this._enablePackingGrossWeight
346
+ ? html`
347
+ <label>${i18next.t('label.gross_weight')}</label>
348
+ <input name="grossWeight" id="grossWeightInput" type="number" min="0" step="0.001"/>`
349
+ : ''}
350
+ `
320
351
  : this._isRequireSerialNumberScanningOutbound && this._isBatchPicking
321
352
  ? ``
322
353
  : html`
@@ -369,9 +400,12 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
369
400
  this._isBatchPicking = false
370
401
  this._isLmdOption = false
371
402
  this._awbAttempts = 0
403
+ this._enablePackingGrossWeight = false
372
404
  }
373
405
 
406
+
374
407
  updated(changedProps) {
408
+ this.addGrossWeightListener()
375
409
  if (changedProps.has('_selectedTaskStatus') && this._selectedTaskStatus) {
376
410
  this.updateContext()
377
411
  }
@@ -644,6 +678,7 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
644
678
  }
645
679
 
646
680
  this._enableProductScanning = await fetchSettingRule('enable-product-scanning', worksheetInfo.partnerDomainId)
681
+ this._enablePackingGrossWeight = await fetchSettingRule('enable-packing-gross-weight', worksheetInfo.partnerDomainId)
647
682
 
648
683
  if (this._enableProductScanning) {
649
684
  this.focusOnProductBarcodeInput()
@@ -1147,12 +1182,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
1147
1182
  if (!response.errors) {
1148
1183
  if (this._enableProductScanning) {
1149
1184
  this.productBarcodeInput.value = ''
1185
+ if (this._enablePackingGrossWeight){
1186
+ this.grossWeightInput.value = ''
1187
+ }
1150
1188
  } else {
1151
1189
  this.releaseQtyInput.value = ''
1152
1190
  this._selectedTaskStatus = null
1153
1191
  this._selectedOrderInventory = null
1154
1192
  }
1155
-
1156
1193
  if (this._isRequireSerialNumberScanningOutbound && this._isBatchPicking) {
1157
1194
  this.serialInput.value = ''
1158
1195
  }
@@ -1175,6 +1212,9 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
1175
1212
  } finally {
1176
1213
  if (!this._isRequireSerialNumberScanningOutbound) {
1177
1214
  this._enableProductScanning ? (this.productBarcodeInput.value = '') : (this.releaseQtyInput.value = '')
1215
+ if(this._enablePackingGrossWeight){
1216
+ this.grossWeightInput.value = ''
1217
+ }
1178
1218
  } else {
1179
1219
  if (this._isBatchPicking) this.serialInput.value = ''
1180
1220
  }
@@ -1358,8 +1398,14 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
1358
1398
  validatePacking() {
1359
1399
  // validate for order selection
1360
1400
  if (this._enableProductScanning) {
1361
- //if no input
1362
- if (!this.productBarcodeInput.value) {
1401
+
1402
+ //if entered weight without fully scanning product barcode and settings enabled
1403
+ if (this._enablePackingGrossWeight && this.grossWeightInput.value && (this._selectedOrderInventory?.packedQty !== this._selectedOrderInventory?.releaseQty)) {
1404
+ this._selectedOrderInventory = null
1405
+ throw new Error(i18next.t('text.please_scan_all_items_first_before_entering_the_gross_weight'))
1406
+ }
1407
+
1408
+ if (!this.productBarcodeInput.value && (this._selectedOrderInventory?.packedQty !== this._selectedOrderInventory?.releaseQty)) {
1363
1409
  this.focusOnProductBarcodeInput()
1364
1410
  throw new Error(i18next.t('text.no_product_barcode_detected'))
1365
1411
  }
@@ -1410,13 +1456,28 @@ class PackingProduct extends connect(store)(localize(i18next)(PageView)) {
1410
1456
  }
1411
1457
 
1412
1458
  async complete() {
1459
+ if (this._enablePackingGrossWeight && !this.grossWeightInput.value) {
1460
+ throw new Error(this.showToast({
1461
+ message: i18next.t('text.please_input_the_gross_weight_to_proceed_with_complete_packing')
1462
+ }));
1463
+ }
1464
+
1465
+ if (!/^\d*\.?\d*$/.test(this.grossWeightInput.value) ) {
1466
+ throw new Error(this.showToast({
1467
+ message: i18next.t('text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing')
1468
+ }));
1469
+ }
1470
+
1413
1471
  const response = await client.mutate({
1414
1472
  mutation: gql`
1415
- mutation completePacking($releaseGoodNo: String!, $orderPackageId: String!) {
1416
- completePacking(releaseGoodNo: $releaseGoodNo, orderPackageId: $orderPackageId)
1473
+ mutation completePacking($releaseGoodNo: String!, $orderPackageId: String!, $grossWeight: Float) {
1474
+ completePacking(releaseGoodNo: $releaseGoodNo, orderPackageId: $orderPackageId, grossWeight: $grossWeight)
1417
1475
  }
1418
1476
  `,
1419
- variables: { releaseGoodNo: this.releaseGoodNo, orderPackageId: this._orderPackageInformation?.orderPackage?.id }
1477
+ variables: {
1478
+ releaseGoodNo: this.releaseGoodNo,
1479
+ orderPackageId: this._orderPackageInformation?.orderPackage?.id,
1480
+ grossWeight: this._enablePackingGrossWeight && this.grossWeightInput.value ? parseFloat(this.grossWeightInput.value) : null }
1420
1481
  })
1421
1482
 
1422
1483
  if (!response.errors) {
@@ -182,6 +182,7 @@ class ManifestReport extends localize(i18next)(PageView) {
182
182
  'roNo',
183
183
  'status',
184
184
  'trackingNo',
185
+ 'grossWeight',
185
186
  'name',
186
187
  'manifestedAt',
187
188
  'manifestedBy',
@@ -227,6 +228,13 @@ class ManifestReport extends localize(i18next)(PageView) {
227
228
  label: true,
228
229
  width: 120
229
230
  },
231
+ {
232
+ type: 'float',
233
+ name: 'grossWeight',
234
+ header: i18next.t('field.gross_weight'),
235
+ label: true,
236
+ width: 120
237
+ },
230
238
  {
231
239
  type: 'string',
232
240
  name: 'manifestNo',
@@ -296,6 +304,7 @@ class ManifestReport extends localize(i18next)(PageView) {
296
304
  refNo
297
305
  roNo
298
306
  status
307
+ grossWeight
299
308
  trackingNo
300
309
  manifestNo
301
310
  manifestedAt
@@ -406,6 +415,7 @@ class ManifestReport extends localize(i18next)(PageView) {
406
415
  { header: i18next.t('field.ro_no'), key: 'roNo', width: 30, type: 'string' },
407
416
  { header: i18next.t('field.status'), key: 'status', width: 15, type: 'string' },
408
417
  { header: i18next.t('field.tracking_no'), key: 'trackingNo', width: 15, type: 'string' },
418
+ { header: i18next.t('field.gross_weight'), key: 'grossWeight', width: 15, type: 'number' },
409
419
  { header: i18next.t('field.manifest_no'), key: 'manifestNo', width: 20, type: 'string' },
410
420
  { header: i18next.t('field.manifested_at'), key: 'manifestedAt', width: 20, type: 'string' },
411
421
  { header: i18next.t('field.manifested_by'), key: 'manifestedBy', width: 20, type: 'string' },
@@ -45,7 +45,8 @@ exports.manifestReport = {
45
45
  u.name AS "manifested_by",
46
46
  b.name AS "company",
47
47
  rg.ref_no AS "ref_no",
48
- rg.name AS "ro_no"
48
+ rg.name AS "ro_no",
49
+ op.gross_weight
49
50
  FROM order_packages op
50
51
  LEFT JOIN
51
52
  manifests m on m.id = op.manifest_id
@@ -83,7 +84,8 @@ exports.manifestReport = {
83
84
  manifestedAt: itm.manifested_at,
84
85
  manifestedBy: itm.manifested_by,
85
86
  orderedAt: itm.ordered_at,
86
- transporter: itm.transporter
87
+ transporter: itm.transporter,
88
+ grossWeight: itm.gross_weight
87
89
  };
88
90
  });
89
91
  return { items, total: total[0].count };
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/manifest-report.ts"],"names":[],"mappings":";;;AAIa,QAAA,cAAc,GAAG;IAC7B,KAAK,CAAC,cAAc,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QAC3D,IAAI;YACH,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,UAAU,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AK,EAAE,MAAM,CAAC,KAAK,CAAC,CACvD,CAAA;YAED,MAAM,KAAK,GAAQ,MAAM,EAAE,CAAC,KAAK,CAAC;;IAEjC,CAAC,CAAA;YAEF,MAAM,MAAM,GAAQ,MAAM,EAAE,CAAC,KAAK,CAAC;;;IAGlC,EACD,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAChF,CAAA;YAED,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAC5B,OAAO;oBACN,QAAQ,EAAE,GAAG,CAAC,OAAO;oBACrB,KAAK,EAAE,GAAG,CAAC,MAAM;oBACjB,IAAI,EAAE,GAAG,CAAC,KAAK;oBACf,MAAM,EAAE,GAAG,CAAC,MAAM;oBAClB,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,YAAY,EAAE,GAAG,CAAC,aAAa;oBAC/B,SAAS,EAAE,GAAG,CAAC,UAAU;oBACzB,WAAW,EAAE,GAAG,CAAC,WAAW;oBAC5B,WAAW,EAAE,GAAG,CAAC,YAAY;iBAC7B,CAAA;YACF,CAAC,CAAC,CAAA;YAEF,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAA;SACvC;QAAC,OAAO,CAAC,EAAE;YACX,MAAM,CAAC,CAAA;SACP;IACF,CAAC;CACD,CAAA"}
@@ -17,6 +17,7 @@ exports.ManifestReport = (0, graphql_tag_1.default) `
17
17
  manifestedBy: String
18
18
  orderedAt: String
19
19
  transporter: String
20
+ grossWeight: Float
20
21
  }
21
22
  `;
22
23
  //# sourceMappingURL=manifest-report-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-report-type.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/manifest-report-type.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;CAahC,CAAA"}
1
+ {"version":3,"file":"manifest-report-type.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/manifest-report-type.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;CAchC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.523",
3
+ "version": "4.3.525",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -91,7 +91,7 @@
91
91
  "@things-factory/print-ui": "^4.3.434",
92
92
  "@things-factory/product-base": "^4.3.518",
93
93
  "@things-factory/resource-ui": "^4.3.518",
94
- "@things-factory/sales-ui": "^4.3.523",
94
+ "@things-factory/sales-ui": "^4.3.525",
95
95
  "@things-factory/scene-data-transform": "^4.3.381",
96
96
  "@things-factory/scene-excel": "^4.3.381",
97
97
  "@things-factory/scene-firebase": "^4.3.381",
@@ -107,8 +107,8 @@
107
107
  "@things-factory/system-ui": "^4.3.434",
108
108
  "@things-factory/transport-base": "^4.3.518",
109
109
  "@things-factory/tutorial-ui": "^4.3.518",
110
- "@things-factory/warehouse-base": "^4.3.520",
111
- "@things-factory/worksheet-base": "^4.3.523"
110
+ "@things-factory/warehouse-base": "^4.3.525",
111
+ "@things-factory/worksheet-base": "^4.3.525"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.381",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "131e5fb338b48f4b82270b38e5b23bd666f71e12"
120
+ "gitHead": "b16b042116f7068428089f4de5bf7c61ccc0629d"
121
121
  }
@@ -52,7 +52,8 @@ export const manifestReport = {
52
52
  u.name AS "manifested_by",
53
53
  b.name AS "company",
54
54
  rg.ref_no AS "ref_no",
55
- rg.name AS "ro_no"
55
+ rg.name AS "ro_no",
56
+ op.gross_weight
56
57
  FROM order_packages op
57
58
  LEFT JOIN
58
59
  manifests m on m.id = op.manifest_id
@@ -97,7 +98,8 @@ export const manifestReport = {
97
98
  manifestedAt: itm.manifested_at,
98
99
  manifestedBy: itm.manifested_by,
99
100
  orderedAt: itm.ordered_at,
100
- transporter: itm.transporter
101
+ transporter: itm.transporter,
102
+ grossWeight: itm.gross_weight
101
103
  }
102
104
  })
103
105
 
@@ -12,5 +12,6 @@ export const ManifestReport = gql`
12
12
  manifestedBy: String
13
13
  orderedAt: String
14
14
  transporter: String
15
+ grossWeight: Float
15
16
  }
16
17
  `
@@ -185,6 +185,7 @@
185
185
  "field.assigned_uom": "assigned uom",
186
186
  "field.assigned": "assigned",
187
187
  "field.attention_to": "attention to",
188
+ "field.attention_company": "attention company",
188
189
  "field.aux_unit_2": "aux unit 2",
189
190
  "field.aux_unit_x": "aux unit {state.x}",
190
191
  "field.aux_unit": "aux unit",
@@ -935,6 +936,7 @@
935
936
  "label.fully_unpack": "fully unpack",
936
937
  "label.gan": "GAN no.",
937
938
  "label.grn_no": "GRN No.",
939
+ "label.gross_weight": "Gross Weight (KG)",
938
940
  "label.handling": "handling",
939
941
  "label.import_cargo": "import cargo",
940
942
  "label.imported": "imported",
@@ -1599,6 +1601,8 @@
1599
1601
  "text.please_enter_transfer_qty": "please enter transfer quantity",
1600
1602
  "text.please_fill_in_the_shipping_information_in_shipment_tab": "please fill in the shipping information in shipment tab.",
1601
1603
  "text.please_insert_batch_no": "please insert batch no",
1604
+ "text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "Please input a positive gross weight to proceed with complete packing.",
1605
+ "text.please_input_the_gross_weight_to_proceed_with_complete_packing": "Please input the gross weight to proceed with complete packing",
1602
1606
  "text.please_key_in_new_serial_number": "please key in new serial number",
1603
1607
  "text.please_recheck_your_request_data": "please recheck your request data",
1604
1608
  "text.please_select_a_company": "please select a company",
@@ -1621,6 +1625,7 @@
1621
1625
  "text.please_select_the_location": "please select the location",
1622
1626
  "text.please_select_the_product": "please select the product",
1623
1627
  "text.please_select_transport_type": "please select transport type",
1628
+ "text.please_scan_all_items_first_before_entering_the_gross_weight": "please scan all items first before entering the gross weight",
1624
1629
  "text.please_take_necessary_action_to_prevent_any_potential_issues": "please take necessary action to prevent any potential issues",
1625
1630
  "text.please_wait_for_current_process_to_be_completed": "please wait for current process to be completed",
1626
1631
  "text.please_wait": "please wait",
@@ -181,6 +181,7 @@
181
181
  "field.assigned_uom": "[ko]assigned uom",
182
182
  "field.assigned": "할당",
183
183
  "field.attention_to": "[ko] attention to",
184
+ "field.attention_company": "[ko}attention company",
184
185
  "field.aux_unit_2": "[ko]aux unit 2",
185
186
  "field.aux_unit": "보조 단위",
186
187
  "field.aux_unit_x": "[ko]aux unit {state.x}",
@@ -936,6 +937,7 @@
936
937
  "label.gan_ref_if_any": "GAN no. ref if any",
937
938
  "label.gan": "입고주문",
938
939
  "label.grn_no": "입고주문 번호",
940
+ "label.gross_weight": "[ko]Gross Weight (KG)",
939
941
  "label.half_load": "HALF LOAD",
940
942
  "label.handling": "handling",
941
943
  "label.import_cargo": "수입 화물",
@@ -1588,6 +1590,8 @@
1588
1590
  "text.please_enter_transfer_qty": "[ko] please enter transfer quantity",
1589
1591
  "text.please_fill_in_the_shipping_information_in_shipment_tab": "[ko] please fill in the shipping information in shipment tab.",
1590
1592
  "text.please_insert_batch_no": "[ko]please insert batch no",
1593
+ "text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[ko] Please input a positive gross weight to proceed with complete packing.",
1594
+ "text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[ko] Please input the gross weight to proceed with complete packing",
1591
1595
  "text.please_key_in_new_serial_number": "[ko]please key in new serial number",
1592
1596
  "text.please_recheck_your_request_data": "[ko]please recheck your request data",
1593
1597
  "text.please_select_a_company": "회사 선택",
@@ -1613,6 +1617,7 @@
1613
1617
  "text.please_select_the_location": "로케이션 선택",
1614
1618
  "text.please_select_the_product": "[ko]please select the product",
1615
1619
  "text.please_select_transport_type": "차량유형을 선택해 주세요",
1620
+ "text.please_scan_all_items_first_before_entering_the_gross_weight": "[ko] please scan all items first before entering the gross weight",
1616
1621
  "text.please_wait": "잠시만 기다려주세요",
1617
1622
  "text.please_write_down_full_name_clearly": "please write down full name clearly",
1618
1623
  "text.please_select_order_with_status_deactivated_only": " [ko] please select order with status deactivated only",
@@ -176,6 +176,7 @@
176
176
  "field.assigned_uom": "[ms]assigned uom",
177
177
  "field.assigned": "ditugaskan",
178
178
  "field.attention_to": "[ms] attention to",
179
+ "field.attention_company": "[ms}attention company",
179
180
  "field.aux_unit_2": "[ms]aux unit 2",
180
181
  "field.aux_unit": "[ms]aux unit",
181
182
  "field.aux_unit_x": "[ms]aux unit {state.x}",
@@ -917,6 +918,7 @@
917
918
  "label.gan_ref_if_any": "no. GAN (jika ada)",
918
919
  "label.gan": "GAN",
919
920
  "label.grn_no": "No GRN",
921
+ "label.gross_weight": "[ms]Gross Weight (KG)",
920
922
  "label.handling": "pengendalian",
921
923
  "label.import_cargo": "import kargo",
922
924
  "label.imported": "telah diimport",
@@ -1540,6 +1542,8 @@
1540
1542
  "text.please_enter_transfer_qty": "[ms] please enter transfer quantity",
1541
1543
  "text.please_fill_in_the_shipping_information_in_shipment_tab": "[ms] please fill in the shipping information in shipment tab.",
1542
1544
  "text.please_insert_batch_no": "[ms]please insert batch no",
1545
+ "text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[ms] Please input a positive gross weight to proceed with complete packing.",
1546
+ "text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[ms] Please input the gross weight to proceed with complete packing",
1543
1547
  "text.please_key_in_new_serial_number": "[ms]please key in new serial number",
1544
1548
  "text.please_recheck_your_request_data": "[ms]please recheck your request data",
1545
1549
  "text.please_select_a_company": "sila pilih syarikat",
@@ -1559,6 +1563,7 @@
1559
1563
  "text.please_select_the_location": "sila pilih lokasi",
1560
1564
  "text.please_select_the_product": "[ms]please select the product",
1561
1565
  "text.please_select_transport_type": "sila pilih jenis kenderaan",
1566
+ "text.please_scan_all_items_first_before_entering_the_gross_weight": "[ms] please scan all items first before entering the gross weight",
1562
1567
  "text.please_wait": "sila tunggu",
1563
1568
  "text.please_select_order_with_status_deactivated_only": " [ms] please select order with status deactivated only",
1564
1569
  "text.please_select_at_least_one_order_with_status_deactivated_to_proceed": "[ms] please select at least one order with status deactivated to proceed",
@@ -173,6 +173,7 @@
173
173
  "field.assigned_uom": "[zh]assigned uom",
174
174
  "field.assigned": "assigned",
175
175
  "field.attention_to": "[zh] attention to",
176
+ "field.attention_company": "[zh}attention company",
176
177
  "field.aux_unit_2": "[zh]aux unit 2",
177
178
  "field.aux_unit": "[zh]aux unit",
178
179
  "field.aux_unit_x": "[zh]aux unit {state.x}",
@@ -886,6 +887,7 @@
886
887
  "label.fully_unpack": "fully unpack",
887
888
  "label.gan": "GAN",
888
889
  "label.grn_no": "GRN No.",
890
+ "label.gross_weight": "[zh]Gross Weight (KG)",
889
891
  "label.handling": "handling",
890
892
  "label.import_cargo": "import cargo",
891
893
  "label.imported": "imported",
@@ -1507,6 +1509,8 @@
1507
1509
  "text.please_enter_transfer_qty": "[zh] please enter transfer quantity",
1508
1510
  "text.please_fill_in_the_shipping_information_in_shipment_tab": "[zh] please fill in the shipping information in shipment tab.",
1509
1511
  "text.please_insert_batch_no": "[zh]please insert batch no",
1512
+ "text.please_input_a_positive_gross_weight_to_proceed_with_complete_packing": "[zh] Please input a positive gross weight to proceed with complete packing.",
1513
+ "text.please_input_the_gross_weight_to_proceed_with_complete_packing": "[zh] Please input the gross weight to proceed with complete packing",
1510
1514
  "text.please_key_in_new_serial_number": "[zh]please key in new serial number",
1511
1515
  "text.please_recheck_your_request_data": "[zh]please recheck your request data",
1512
1516
  "text.please_select_a_company": "[zh] please select a company",
@@ -1526,6 +1530,7 @@
1526
1530
  "text.please_select_the_location": "please select the location",
1527
1531
  "text.please_select_the_product": "[zh]please select the product",
1528
1532
  "text.please_select_transport_type": "please select transport type",
1533
+ "text.please_scan_all_items_first_before_entering_the_gross_weight": "[zh] please scan all items first before entering the gross weight",
1529
1534
  "text.please_wait": "please wait",
1530
1535
  "text.please_select_order_with_status_deactivated_only": " [zh] please select order with status deactivated only",
1531
1536
  "text.please_select_at_least_one_order_with_status_deactivated_to_proceed": "[zh] please select at least one order with status deactivated to proceed",