@things-factory/sales-base 7.0.0-alpha.18 → 7.0.0-alpha.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales-base",
3
- "version": "7.0.0-alpha.18",
3
+ "version": "7.0.0-alpha.19",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -26,15 +26,15 @@
26
26
  "dependencies": {
27
27
  "@things-factory/attachment-base": "^7.0.0-alpha.18",
28
28
  "@things-factory/auth-base": "^7.0.0-alpha.18",
29
- "@things-factory/biz-base": "^7.0.0-alpha.18",
29
+ "@things-factory/biz-base": "^7.0.0-alpha.19",
30
30
  "@things-factory/code-base": "^7.0.0-alpha.18",
31
- "@things-factory/integration-sftp": "^7.0.0-alpha.18",
31
+ "@things-factory/integration-sftp": "^7.0.0-alpha.19",
32
32
  "@things-factory/notification": "^7.0.0-alpha.18",
33
- "@things-factory/product-base": "^7.0.0-alpha.18",
33
+ "@things-factory/product-base": "^7.0.0-alpha.19",
34
34
  "@things-factory/setting-base": "^7.0.0-alpha.18",
35
35
  "@things-factory/shell": "^7.0.0-alpha.18",
36
- "@things-factory/transport-base": "^7.0.0-alpha.18",
37
- "@things-factory/warehouse-base": "^7.0.0-alpha.18"
36
+ "@things-factory/transport-base": "^7.0.0-alpha.19",
37
+ "@things-factory/warehouse-base": "^7.0.0-alpha.19"
38
38
  },
39
- "gitHead": "f695ce9c0e3a8f2d715d27a2e7674c9b9c6b1ee1"
39
+ "gitHead": "3a85ee4b15d4f0e79073840537febc3c044ef8cf"
40
40
  }
@@ -80,7 +80,7 @@ export class NewOrderInventory {
80
80
  @Field({ nullable: true })
81
81
  uom: string
82
82
 
83
- @Field(type => Int, { nullable: true })
83
+ @Field(type => Float, { nullable: true })
84
84
  palletQty: number
85
85
 
86
86
  @Field({ nullable: true })
@@ -1,29 +1,11 @@
1
- import {
2
- Field,
3
- Float,
4
- ID,
5
- ObjectType
6
- } from 'type-graphql'
7
- import {
8
- Column,
9
- CreateDateColumn,
10
- Entity,
11
- Index,
12
- ManyToOne,
13
- OneToMany,
14
- PrimaryGeneratedColumn,
15
- RelationId,
16
- UpdateDateColumn
17
- } from 'typeorm'
1
+ import { Field, Float, ID, ObjectType } from 'type-graphql'
2
+ import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
18
3
 
19
4
  import { User } from '@things-factory/auth-base'
20
5
  import { Bizplace } from '@things-factory/biz-base'
21
6
  import { Product } from '@things-factory/product-base'
22
7
  import { Domain } from '@things-factory/shell'
23
- import {
24
- Inventory,
25
- Location
26
- } from '@things-factory/warehouse-base'
8
+ import { Inventory, Location } from '@things-factory/warehouse-base'
27
9
 
28
10
  import { ArrivalNotice } from '../arrival-notice/arrival-notice'
29
11
  import { DeliveryOrder } from '../delivery-order/delivery-order'
@@ -290,7 +272,7 @@ export class OrderInventory {
290
272
  @Field({ nullable: true })
291
273
  actualPackQty: number
292
274
 
293
- @Column({ nullable: true })
275
+ @Column('float', { nullable: true })
294
276
  @Field({ nullable: true })
295
277
  palletQty: number
296
278
 
@@ -1,15 +1,6 @@
1
- import {
2
- Field,
3
- Float,
4
- InputType,
5
- Int,
6
- ObjectType
7
- } from 'type-graphql'
8
-
9
- import {
10
- ObjectRef,
11
- ScalarDate
12
- } from '@things-factory/shell'
1
+ import { Field, Float, InputType, Int, ObjectType } from 'type-graphql'
2
+
3
+ import { ObjectRef, ScalarDate } from '@things-factory/shell'
13
4
 
14
5
  import { OrderProduct } from './order-product'
15
6
 
@@ -144,13 +135,13 @@ export class OrderProductPatch {
144
135
  @Field(type => Float, { nullable: true })
145
136
  unpackQty: number
146
137
 
147
- @Field(type => Int, { nullable: true })
138
+ @Field(type => Float, { nullable: true })
148
139
  palletQty: number
149
140
 
150
- @Field(type => Int, { nullable: true })
141
+ @Field(type => Float, { nullable: true })
151
142
  actualPalletQty: number
152
143
 
153
- @Field(type => Int, { nullable: true })
144
+ @Field(type => Float, { nullable: true })
154
145
  adjustedPalletQty: number
155
146
 
156
147
  @Field({ nullable: true })
@@ -288,13 +279,13 @@ export class NewOrderProduct {
288
279
  @Field(type => Float, { nullable: true })
289
280
  unpackQty: number
290
281
 
291
- @Field(type => Int, { nullable: true })
282
+ @Field(type => Float, { nullable: true })
292
283
  palletQty: number
293
284
 
294
- @Field(type => Int, { nullable: true })
285
+ @Field(type => Float, { nullable: true })
295
286
  actualPalletQty: number
296
287
 
297
- @Field(type => Int, { nullable: true })
288
+ @Field(type => Float, { nullable: true })
298
289
  adjustedPalletQty: number
299
290
 
300
291
  @Field({ nullable: true })
@@ -1,30 +1,20 @@
1
- import { Field, ID, ObjectType, Float } from 'type-graphql'
2
- import {
3
- Column,
4
- CreateDateColumn,
5
- Entity,
6
- Index,
7
- ManyToOne,
8
- PrimaryGeneratedColumn,
9
- RelationId,
10
- UpdateDateColumn,
11
- OneToMany
12
- } from 'typeorm'
1
+ import { Field, Float, ID, ObjectType } from 'type-graphql'
2
+ import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
13
3
 
14
4
  import { User } from '@things-factory/auth-base'
15
5
  import { Bizplace } from '@things-factory/biz-base'
16
- import { Product, ProductDetail, ProductBundle } from '@things-factory/product-base'
6
+ import { Product, ProductBundle, ProductDetail } from '@things-factory/product-base'
17
7
  import { Domain, ScalarDate } from '@things-factory/shell'
18
8
  import { Inventory } from '@things-factory/warehouse-base'
19
9
 
20
10
  import { ArrivalNotice } from '../arrival-notice/arrival-notice'
21
11
  import { CollectionOrder } from '../collection-order/collection-order'
22
12
  import { DeliveryOrder } from '../delivery-order/delivery-order'
13
+ import { DraftReleaseGood } from '../draft-release-good/draft-release-good'
14
+ import { OrderInventory } from '../order-inventory/order-inventory'
23
15
  import { PurchaseOrder } from '../purchase-order/purchase-order'
24
16
  import { ReleaseGood } from '../release-good/release-good'
25
- import { DraftReleaseGood } from '../draft-release-good/draft-release-good'
26
17
  import { RetailReplenishmentOrder } from '../retail-replenishment-order/retail-replenishment-order'
27
- import { OrderInventory } from '../order-inventory/order-inventory'
28
18
 
29
19
  @Entity()
30
20
  @Index('ix_order-product_0', (orderProduct: OrderProduct) => [orderProduct.domain, orderProduct.name], {
@@ -285,15 +275,15 @@ export class OrderProduct {
285
275
  @Field({ nullable: true })
286
276
  miscAmt: number
287
277
 
288
- @Column({ nullable: true })
278
+ @Column('float', { nullable: true })
289
279
  @Field({ nullable: true })
290
280
  palletQty: number
291
281
 
292
- @Column({ nullable: true })
282
+ @Column('float', { nullable: true })
293
283
  @Field({ nullable: true })
294
284
  adjustedPalletQty: number
295
285
 
296
- @Column({ nullable: true })
286
+ @Column('float', { nullable: true })
297
287
  @Field({ nullable: true })
298
288
  actualPalletQty: number
299
289