@things-factory/warehouse-base 5.0.2 → 5.0.12
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/dist-server/constants/index.js +6 -19
- package/dist-server/constants/index.js.map +1 -1
- package/dist-server/constants/inventory.js.map +1 -1
- package/dist-server/constants/location.js.map +1 -1
- package/dist-server/constants/pallet.js.map +1 -1
- package/dist-server/constants/rule-type.js.map +1 -1
- package/dist-server/constants/tote.js.map +1 -1
- package/dist-server/controllers/ecommerce/ecommerce-controller.js.map +1 -1
- package/dist-server/controllers/ecommerce/index.js +3 -16
- package/dist-server/controllers/ecommerce/index.js.map +1 -1
- package/dist-server/controllers/ecommerce/sellercraft-controller.js.map +1 -1
- package/dist-server/controllers/index.js +3 -16
- package/dist-server/controllers/index.js.map +1 -1
- package/dist-server/controllers/warehouse-controller.js.map +1 -1
- package/dist-server/index.js +6 -19
- package/dist-server/index.js.map +1 -1
- package/dist-server/middlewares/index.js.map +1 -1
- package/dist-server/migrations/index.js.map +1 -1
- package/dist-server/service/index.js +28 -41
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/inventory/index.js.map +1 -1
- package/dist-server/service/inventory/inventory-mutation.js +50 -61
- package/dist-server/service/inventory/inventory-mutation.js.map +1 -1
- package/dist-server/service/inventory/inventory-query.js +125 -136
- package/dist-server/service/inventory/inventory-query.js.map +1 -1
- package/dist-server/service/inventory/inventory-types.js +198 -206
- package/dist-server/service/inventory/inventory-types.js.map +1 -1
- package/dist-server/service/inventory/inventory.js +133 -141
- package/dist-server/service/inventory/inventory.js.map +1 -1
- package/dist-server/service/inventory-change/index.js.map +1 -1
- package/dist-server/service/inventory-change/inventory-change-mutation.js +51 -62
- package/dist-server/service/inventory-change/inventory-change-mutation.js.map +1 -1
- package/dist-server/service/inventory-change/inventory-change-query.js +29 -40
- package/dist-server/service/inventory-change/inventory-change-query.js.map +1 -1
- package/dist-server/service/inventory-change/inventory-change-types.js +20 -28
- package/dist-server/service/inventory-change/inventory-change-types.js.map +1 -1
- package/dist-server/service/inventory-change/inventory-change.js +68 -76
- package/dist-server/service/inventory-change/inventory-change.js.map +1 -1
- package/dist-server/service/inventory-history/index.js.map +1 -1
- package/dist-server/service/inventory-history/inventory-history-mutation.js +33 -44
- package/dist-server/service/inventory-history/inventory-history-mutation.js.map +1 -1
- package/dist-server/service/inventory-history/inventory-history-query.js +105 -116
- package/dist-server/service/inventory-history/inventory-history-query.js.map +1 -1
- package/dist-server/service/inventory-history/inventory-history-types.js +282 -290
- package/dist-server/service/inventory-history/inventory-history-types.js.map +1 -1
- package/dist-server/service/inventory-history/inventory-history.js +82 -90
- package/dist-server/service/inventory-history/inventory-history.js.map +1 -1
- package/dist-server/service/inventory-item/index.js.map +1 -1
- package/dist-server/service/inventory-item/inventory-item-mutation.js +47 -58
- package/dist-server/service/inventory-item/inventory-item-mutation.js.map +1 -1
- package/dist-server/service/inventory-item/inventory-item-query.js +41 -52
- package/dist-server/service/inventory-item/inventory-item-query.js.map +1 -1
- package/dist-server/service/inventory-item/inventory-item-type.js +44 -52
- package/dist-server/service/inventory-item/inventory-item-type.js.map +1 -1
- package/dist-server/service/inventory-item/inventory-item.js +44 -52
- package/dist-server/service/inventory-item/inventory-item.js.map +1 -1
- package/dist-server/service/inventory-item-change/index.js.map +1 -1
- package/dist-server/service/inventory-item-change/inventory-item-change-mutation.js +33 -44
- package/dist-server/service/inventory-item-change/inventory-item-change-mutation.js.map +1 -1
- package/dist-server/service/inventory-item-change/inventory-item-change-query.js +29 -40
- package/dist-server/service/inventory-item-change/inventory-item-change-query.js.map +1 -1
- package/dist-server/service/inventory-item-change/inventory-item-change-type.js +40 -48
- package/dist-server/service/inventory-item-change/inventory-item-change-type.js.map +1 -1
- package/dist-server/service/inventory-item-change/inventory-item-change.js +34 -42
- package/dist-server/service/inventory-item-change/inventory-item-change.js.map +1 -1
- package/dist-server/service/inventory-product/index.js.map +1 -1
- package/dist-server/service/inventory-product/inventory-product-mutation.js +33 -44
- package/dist-server/service/inventory-product/inventory-product-mutation.js.map +1 -1
- package/dist-server/service/inventory-product/inventory-product-query.js +29 -40
- package/dist-server/service/inventory-product/inventory-product-query.js.map +1 -1
- package/dist-server/service/inventory-product/inventory-product-type.js +34 -42
- package/dist-server/service/inventory-product/inventory-product-type.js.map +1 -1
- package/dist-server/service/inventory-product/inventory-product.js +34 -42
- package/dist-server/service/inventory-product/inventory-product.js.map +1 -1
- package/dist-server/service/location/index.js.map +1 -1
- package/dist-server/service/location/location-mutation.js +39 -50
- package/dist-server/service/location/location-mutation.js.map +1 -1
- package/dist-server/service/location/location-query.js +65 -76
- package/dist-server/service/location/location-query.js.map +1 -1
- package/dist-server/service/location/location-types.js +105 -113
- package/dist-server/service/location/location-types.js.map +1 -1
- package/dist-server/service/location/location.js +41 -49
- package/dist-server/service/location/location.js.map +1 -1
- package/dist-server/service/movement/index.js.map +1 -1
- package/dist-server/service/movement/movement-mutation.js +21 -32
- package/dist-server/service/movement/movement-mutation.js.map +1 -1
- package/dist-server/service/movement/movement-query.js +51 -65
- package/dist-server/service/movement/movement-query.js.map +1 -1
- package/dist-server/service/movement/movement-types.js +43 -51
- package/dist-server/service/movement/movement-types.js.map +1 -1
- package/dist-server/service/movement/movement.js +30 -38
- package/dist-server/service/movement/movement.js.map +1 -1
- package/dist-server/service/pallet/index.js.map +1 -1
- package/dist-server/service/pallet/pallet-mutation.js +39 -50
- package/dist-server/service/pallet/pallet-mutation.js.map +1 -1
- package/dist-server/service/pallet/pallet-query.js +48 -59
- package/dist-server/service/pallet/pallet-query.js.map +1 -1
- package/dist-server/service/pallet/pallet-types.js +39 -47
- package/dist-server/service/pallet/pallet-types.js.map +1 -1
- package/dist-server/service/pallet/pallet.js +34 -42
- package/dist-server/service/pallet/pallet.js.map +1 -1
- package/dist-server/service/pallet-count/index.js.map +1 -1
- package/dist-server/service/pallet-count/pallet-count-mutation.js +39 -50
- package/dist-server/service/pallet-count/pallet-count-mutation.js.map +1 -1
- package/dist-server/service/pallet-count/pallet-count-query.js +28 -39
- package/dist-server/service/pallet-count/pallet-count-query.js.map +1 -1
- package/dist-server/service/pallet-count/pallet-count-types.js +20 -28
- package/dist-server/service/pallet-count/pallet-count-types.js.map +1 -1
- package/dist-server/service/pallet-count/pallet-count.js +26 -34
- package/dist-server/service/pallet-count/pallet-count.js.map +1 -1
- package/dist-server/service/pallet-history/index.js.map +1 -1
- package/dist-server/service/pallet-history/pallet-history-mutation.js +33 -44
- package/dist-server/service/pallet-history/pallet-history-mutation.js.map +1 -1
- package/dist-server/service/pallet-history/pallet-history-query.js +29 -40
- package/dist-server/service/pallet-history/pallet-history-query.js.map +1 -1
- package/dist-server/service/pallet-history/pallet-history-types.js +20 -28
- package/dist-server/service/pallet-history/pallet-history-types.js.map +1 -1
- package/dist-server/service/pallet-history/pallet-history.js +34 -42
- package/dist-server/service/pallet-history/pallet-history.js.map +1 -1
- package/dist-server/service/reduced-inventory-history/index.js.map +1 -1
- package/dist-server/service/reduced-inventory-history/reduced-inventory-history.js +52 -60
- package/dist-server/service/reduced-inventory-history/reduced-inventory-history.js.map +1 -1
- package/dist-server/service/tote/index.js.map +1 -1
- package/dist-server/service/tote/tote-mutation.js +46 -57
- package/dist-server/service/tote/tote-mutation.js.map +1 -1
- package/dist-server/service/tote/tote-query.js +44 -55
- package/dist-server/service/tote/tote-query.js.map +1 -1
- package/dist-server/service/tote/tote-types.js +24 -32
- package/dist-server/service/tote/tote-types.js.map +1 -1
- package/dist-server/service/tote/tote.js +30 -38
- package/dist-server/service/tote/tote.js.map +1 -1
- package/dist-server/service/warehouse/index.js.map +1 -1
- package/dist-server/service/warehouse/warehouse-mutation.js +33 -44
- package/dist-server/service/warehouse/warehouse-mutation.js.map +1 -1
- package/dist-server/service/warehouse/warehouse-query.js +29 -40
- package/dist-server/service/warehouse/warehouse-query.js.map +1 -1
- package/dist-server/service/warehouse/warehouse-types.js +28 -36
- package/dist-server/service/warehouse/warehouse-types.js.map +1 -1
- package/dist-server/service/warehouse/warehouse.js +31 -39
- package/dist-server/service/warehouse/warehouse.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/dist-server/utils/datetime-util.js.map +1 -1
- package/dist-server/utils/index.js +4 -17
- package/dist-server/utils/index.js.map +1 -1
- package/dist-server/utils/inventory-no-generator.js.map +1 -1
- package/dist-server/utils/inventory-util.js.map +1 -1
- package/package.json +8 -8
- package/server/service/inventory/inventory-mutation.ts +2 -2
- package/server/service/inventory/inventory-query.ts +48 -16
- package/server/service/inventory/inventory.ts +6 -5
- package/server/service/inventory-change/inventory-change-mutation.ts +1 -1
- package/server/service/inventory-change/inventory-change-query.ts +2 -2
- package/server/service/inventory-history/inventory-history-query.ts +29 -28
- package/server/service/inventory-history/inventory-history.ts +39 -39
- package/server/service/inventory-item/inventory-item-mutation.ts +3 -3
- package/server/service/movement/movement-query.ts +3 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory-types.js","sourceRoot":"","sources":["../../../server/service/inventory/inventory-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+CAMqB;AAErB,yDAAgD;AAChD,+DAAmE;AACnE,iDAI8B;AAE9B,2CAAuC;AAGvC,IAAa,aAAa,GAA1B,MAAa,aAAa;CAMzB,CAAA;AAJC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,qBAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC5B;AAGnB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACZ;AALH,aAAa;IADzB,IAAA,yBAAU,GAAE;GACA,aAAa,CAMzB;AANY,sCAAa;AAS1B,IAAa,cAAc,GAA3B,MAAa,cAAc;CAwH1B,CAAA;AAtHC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACf;AAGX;IADC,IAAA,oBAAK,EAAC,EAAE,Q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AI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;0DAC9B,gBAAI,oBAAJ,gBAAI;qDAAA;AAGd;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;AAGlB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;AAnFP,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAoFhC;AApFY,oDAAoB;AAuFjC,IAAa,0BAA0B,GAAvC,MAAa,0BAA0B;CAMtC,CAAA;AAJC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,oBAAoB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACtB;AAGpC;IADC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,mCAAoB,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACpB;AAL3B,0BAA0B;IADtC,IAAA,yBAAU,GAAE;GACA,0BAA0B,CAMtC;AANY,gEAA0B","sourcesContent":["import {\n Field,\n Float,\n InputType,\n Int,\n ObjectType\n} from 'type-graphql'\n\nimport { User } from '@things-factory/auth-base'\nimport { ProductBundleSetting } from '@things-factory/product-base'\nimport {\n Domain,\n ObjectRef,\n ScalarDate\n} from '@things-factory/shell'\n\nimport { Inventory } from './inventory'\n\n@ObjectType()\nexport class InventoryList {\n @Field(type => [Inventory], { nullable: true })\n items?: Inventory[]\n\n @Field({ nullable: true })\n total?: number\n}\n\n@InputType()\nexport class InventoryPatch {\n @Field({ nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field(type => ObjectRef, { nullable: true })\n bizplace?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n refInventory?: ObjectRef\n\n @Field({ nullable: true })\n bizplaceName?: string\n\n @Field({ nullable: true })\n palletId?: string\n\n @Field({ nullable: true })\n cartonId?: string\n\n @Field({ nullable: true })\n batchId?: string\n\n @Field({ nullable: true })\n batchIdRef?: string\n\n @Field(type => ObjectRef, { nullable: true })\n product?: ObjectRef\n\n @Field({ nullable: true })\n sku?: string\n\n @Field({ nullable: true })\n brand?: string\n\n @Field({ nullable: true })\n productName?: string\n\n @Field({ nullable: true })\n productDetailId?: string\n\n @Field(type => ObjectRef, { nullable: true })\n reusablePallet?: ObjectRef\n\n @Field({ nullable: true })\n reusablePalletId?: string\n\n @Field(type => ObjectRef, { nullable: true })\n location?: ObjectRef\n\n @Field({ nullable: true })\n locationName?: string\n\n @Field(type => ObjectRef, { nullable: true })\n warehouse?: ObjectRef\n\n @Field({ nullable: true })\n warehouseName?: string\n\n @Field({ nullable: true })\n packingType?: string\n\n @Field(type => Float, { nullable: true })\n packingSize?: number\n\n @Field({ nullable: true })\n otherRef?: string\n\n @Field({ nullable: true })\n transactionType?: string\n\n @Field({ nullable: true })\n zone?: string\n\n @Field(type => Float, { nullable: true })\n weight?: number\n\n @Field({ nullable: true })\n uom?: string\n\n @Field(type => Float, { nullable: true })\n uomValue?: number\n\n @Field(type => Int, { nullable: true })\n qty?: number\n\n @Field({ nullable: true })\n status?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n remark?: string\n\n @Field({ nullable: true })\n expirationDate?: string\n\n @Field(type => ScalarDate, { nullable: true })\n manufactureDate: Date\n\n @Field(type => Float, { nullable: true })\n unitCost?: number\n\n @Field({ nullable: true })\n inventoryItemChangesJson?: string\n\n @Field({ nullable: true })\n serialNumbers?: string\n\n @Field({ nullable: true })\n updatedAt?: string\n\n @Field({ nullable: true })\n updater?: string\n\n @Field({ nullable: true })\n cuFlag?: string\n}\n\n@InputType()\nexport class NewInventory {\n @Field({ nullable: true })\n name?: string\n\n @Field(type => ObjectRef, { nullable: true })\n refInventory?: ObjectRef\n\n @Field({ nullable: true })\n palletId?: string\n\n @Field({ nullable: true })\n cartonId?: string\n\n @Field({ nullable: true })\n batchId?: string\n\n @Field({ nullable: true })\n batchIdRef?: string\n\n @Field(type => ObjectRef, { nullable: true })\n product?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n reusablePallet?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n location?: ObjectRef\n\n @Field(type => ObjectRef, { nullable: true })\n warehouse?: ObjectRef\n\n @Field({ nullable: true })\n packingType?: string\n\n @Field(type => Float, { nullable: true })\n packingSize?: number\n\n @Field({ nullable: true })\n otherRef?: string\n\n @Field(type => Int, { nullable: true })\n qty?: number\n\n @Field(type => Float, { nullable: true })\n weight?: number\n\n @Field({ nullable: true })\n uom?: string\n\n @Field(type => Float, { nullable: true })\n uomValue?: number\n\n @Field(type => Float, { nullable: true })\n unitCost?: number\n\n @Field({ nullable: true })\n status?: string\n\n @Field({ nullable: true })\n description?: string\n\n @Field({ nullable: true })\n remark?: string\n\n @Field({ nullable: true })\n expirationDate?: string\n\n @Field(type => ScalarDate, { nullable: true })\n manufactureDate: Date\n\n @Field({ nullable: true })\n serialNumbers?: string\n}\n\n@ObjectType()\nexport class InventoryBundleGroup {\n @Field({ nullable: true })\n id?: string\n\n @Field({ nullable: true })\n name?: string\n\n @Field({ nullable: true })\n productId?: string\n\n @Field({ nullable: true })\n productSku?: string\n\n @Field({ nullable: true })\n productName?: string\n\n @Field({ nullable: true })\n productDescription?: string\n\n @Field({ nullable: true })\n productType?: string\n\n @Field({ nullable: true })\n bundleId?: string\n\n @Field({ nullable: true })\n bundleSku?: string\n\n @Field({ nullable: true })\n bundleName?: string\n\n @Field({ nullable: true })\n bundleDescription?: string\n\n @Field(type => Int, { nullable: true })\n bundleQty?: number\n\n @Field({ nullable: true })\n batchId?: string\n\n @Field(type => Float, { nullable: true })\n remainQty?: number\n\n @Field(type => Float, { nullable: true })\n lockedQty?: number\n\n @Field(type => Float, { nullable: true })\n releaseQty?: number\n\n @Field(type => Float, { nullable: true })\n remainUomValue?: number\n\n @Field(type => Float, { nullable: true })\n lockedUomValue?: number\n\n @Field(type => Float, { nullable: true })\n releaseUomValue?: number\n\n @Field({ nullable: true })\n releaseUomValueWithUom?: string\n\n @Field({ nullable: true })\n uom?: string\n\n @Field({ nullable: true })\n packingType?: string\n\n @Field(type => Domain, { nullable: true })\n domain?: Domain\n\n @Field({ nullable: true })\n description?: string\n\n @Field(type => User, { nullable: true })\n updater?: User\n\n @Field(type => User, { nullable: true })\n creator?: User\n\n @Field({ nullable: true })\n updatedAt?: string\n\n @Field({ nullable: true })\n createdAt?: string\n}\n\n@ObjectType()\nexport class InventoryBundleGroupDetail {\n @Field(type => [InventoryBundleGroup], { nullable: true })\n bundleGroup?: InventoryBundleGroup[]\n\n @Field(type => [ProductBundleSetting], { nullable: true })\n bundleSetting?: ProductBundleSetting[]\n}\n"]}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
var Inventory_1, _a, _b, _c, _d, _e, _f;
|
|
12
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
4
|
exports.Inventory = void 0;
|
|
14
|
-
const
|
|
15
|
-
const shell_1 = require("@things-factory/shell");
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
16
6
|
const type_graphql_1 = require("type-graphql");
|
|
17
|
-
const
|
|
7
|
+
const typeorm_1 = require("typeorm");
|
|
8
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
18
9
|
const biz_base_1 = require("@things-factory/biz-base");
|
|
10
|
+
const product_base_1 = require("@things-factory/product-base");
|
|
11
|
+
const shell_1 = require("@things-factory/shell");
|
|
19
12
|
const inventory_change_1 = require("../inventory-change/inventory-change");
|
|
20
13
|
const inventory_item_1 = require("../inventory-item/inventory-item");
|
|
21
14
|
const location_1 = require("../location/location");
|
|
22
15
|
const pallet_1 = require("../pallet/pallet");
|
|
23
|
-
const auth_base_1 = require("@things-factory/auth-base");
|
|
24
16
|
const warehouse_1 = require("../warehouse/warehouse");
|
|
25
17
|
let Inventory = Inventory_1 = class Inventory {
|
|
26
18
|
constructor(obj) {
|
|
@@ -68,313 +60,313 @@ let Inventory = Inventory_1 = class Inventory {
|
|
|
68
60
|
}
|
|
69
61
|
}
|
|
70
62
|
};
|
|
71
|
-
__decorate([
|
|
63
|
+
tslib_1.__decorate([
|
|
72
64
|
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
73
65
|
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
74
|
-
__metadata("design:type", String)
|
|
66
|
+
tslib_1.__metadata("design:type", String)
|
|
75
67
|
], Inventory.prototype, "id", void 0);
|
|
76
|
-
__decorate([
|
|
68
|
+
tslib_1.__decorate([
|
|
77
69
|
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
78
70
|
(0, type_graphql_1.Field)(type => shell_1.Domain),
|
|
79
|
-
__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
71
|
+
tslib_1.__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
80
72
|
], Inventory.prototype, "domain", void 0);
|
|
81
|
-
__decorate([
|
|
73
|
+
tslib_1.__decorate([
|
|
82
74
|
(0, typeorm_1.RelationId)((inventory) => inventory.domain),
|
|
83
|
-
__metadata("design:type", String)
|
|
75
|
+
tslib_1.__metadata("design:type", String)
|
|
84
76
|
], Inventory.prototype, "domainId", void 0);
|
|
85
|
-
__decorate([
|
|
77
|
+
tslib_1.__decorate([
|
|
86
78
|
(0, typeorm_1.ManyToOne)(type => biz_base_1.Bizplace, { nullable: true }),
|
|
87
79
|
(0, type_graphql_1.Field)(type => biz_base_1.Bizplace, { nullable: true }),
|
|
88
|
-
__metadata("design:type", typeof (_b = typeof biz_base_1.Bizplace !== "undefined" && biz_base_1.Bizplace) === "function" ? _b : Object)
|
|
80
|
+
tslib_1.__metadata("design:type", typeof (_b = typeof biz_base_1.Bizplace !== "undefined" && biz_base_1.Bizplace) === "function" ? _b : Object)
|
|
89
81
|
], Inventory.prototype, "bizplace", void 0);
|
|
90
|
-
__decorate([
|
|
82
|
+
tslib_1.__decorate([
|
|
91
83
|
(0, typeorm_1.ManyToOne)(type => Inventory_1),
|
|
92
84
|
(0, type_graphql_1.Field)(type => Inventory_1),
|
|
93
|
-
__metadata("design:type", Inventory)
|
|
85
|
+
tslib_1.__metadata("design:type", Inventory)
|
|
94
86
|
], Inventory.prototype, "refInventory", void 0);
|
|
95
|
-
__decorate([
|
|
87
|
+
tslib_1.__decorate([
|
|
96
88
|
(0, typeorm_1.Column)(),
|
|
97
89
|
(0, type_graphql_1.Field)(),
|
|
98
|
-
__metadata("design:type", String)
|
|
90
|
+
tslib_1.__metadata("design:type", String)
|
|
99
91
|
], Inventory.prototype, "name", void 0);
|
|
100
|
-
__decorate([
|
|
92
|
+
tslib_1.__decorate([
|
|
101
93
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
102
94
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
103
|
-
__metadata("design:type", String)
|
|
95
|
+
tslib_1.__metadata("design:type", String)
|
|
104
96
|
], Inventory.prototype, "palletId", void 0);
|
|
105
|
-
__decorate([
|
|
97
|
+
tslib_1.__decorate([
|
|
106
98
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
107
99
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
108
|
-
__metadata("design:type", String)
|
|
100
|
+
tslib_1.__metadata("design:type", String)
|
|
109
101
|
], Inventory.prototype, "cartonId", void 0);
|
|
110
|
-
__decorate([
|
|
102
|
+
tslib_1.__decorate([
|
|
111
103
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
112
104
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
113
|
-
__metadata("design:type", String)
|
|
105
|
+
tslib_1.__metadata("design:type", String)
|
|
114
106
|
], Inventory.prototype, "batchId", void 0);
|
|
115
|
-
__decorate([
|
|
107
|
+
tslib_1.__decorate([
|
|
116
108
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
117
109
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
118
|
-
__metadata("design:type", String)
|
|
110
|
+
tslib_1.__metadata("design:type", String)
|
|
119
111
|
], Inventory.prototype, "batchIdRef", void 0);
|
|
120
|
-
__decorate([
|
|
112
|
+
tslib_1.__decorate([
|
|
121
113
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
122
114
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
123
|
-
__metadata("design:type", String)
|
|
115
|
+
tslib_1.__metadata("design:type", String)
|
|
124
116
|
], Inventory.prototype, "refOrderId", void 0);
|
|
125
|
-
__decorate([
|
|
117
|
+
tslib_1.__decorate([
|
|
126
118
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
127
119
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
128
|
-
__metadata("design:type", String)
|
|
120
|
+
tslib_1.__metadata("design:type", String)
|
|
129
121
|
], Inventory.prototype, "orderProductId", void 0);
|
|
130
|
-
__decorate([
|
|
122
|
+
tslib_1.__decorate([
|
|
131
123
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
132
124
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
133
|
-
__metadata("design:type", String)
|
|
125
|
+
tslib_1.__metadata("design:type", String)
|
|
134
126
|
], Inventory.prototype, "orderInventoryId", void 0);
|
|
135
|
-
__decorate([
|
|
127
|
+
tslib_1.__decorate([
|
|
136
128
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
137
129
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
138
|
-
__metadata("design:type", String)
|
|
130
|
+
tslib_1.__metadata("design:type", String)
|
|
139
131
|
], Inventory.prototype, "orderVasId", void 0);
|
|
140
|
-
__decorate([
|
|
132
|
+
tslib_1.__decorate([
|
|
141
133
|
(0, typeorm_1.ManyToOne)(type => pallet_1.Pallet, { nullable: true }),
|
|
142
134
|
(0, type_graphql_1.Field)(type => pallet_1.Pallet, { nullable: true }),
|
|
143
|
-
__metadata("design:type", pallet_1.Pallet)
|
|
135
|
+
tslib_1.__metadata("design:type", pallet_1.Pallet)
|
|
144
136
|
], Inventory.prototype, "reusablePallet", void 0);
|
|
145
|
-
__decorate([
|
|
137
|
+
tslib_1.__decorate([
|
|
146
138
|
(0, typeorm_1.ManyToOne)(type => product_base_1.Product, { nullable: true }),
|
|
147
139
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
148
|
-
__metadata("design:type", typeof (_c = typeof product_base_1.Product !== "undefined" && product_base_1.Product) === "function" ? _c : Object)
|
|
140
|
+
tslib_1.__metadata("design:type", typeof (_c = typeof product_base_1.Product !== "undefined" && product_base_1.Product) === "function" ? _c : Object)
|
|
149
141
|
], Inventory.prototype, "product", void 0);
|
|
150
|
-
__decorate([
|
|
142
|
+
tslib_1.__decorate([
|
|
151
143
|
(0, typeorm_1.ManyToOne)(type => product_base_1.ProductDetail, { nullable: true }),
|
|
152
144
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
153
|
-
__metadata("design:type", typeof (_d = typeof product_base_1.ProductDetail !== "undefined" && product_base_1.ProductDetail) === "function" ? _d : Object)
|
|
145
|
+
tslib_1.__metadata("design:type", typeof (_d = typeof product_base_1.ProductDetail !== "undefined" && product_base_1.ProductDetail) === "function" ? _d : Object)
|
|
154
146
|
], Inventory.prototype, "productDetail", void 0);
|
|
155
|
-
__decorate([
|
|
147
|
+
tslib_1.__decorate([
|
|
156
148
|
(0, typeorm_1.ManyToOne)(type => warehouse_1.Warehouse, { nullable: true }),
|
|
157
149
|
(0, type_graphql_1.Field)(type => warehouse_1.Warehouse, { nullable: true }),
|
|
158
|
-
__metadata("design:type", warehouse_1.Warehouse)
|
|
150
|
+
tslib_1.__metadata("design:type", warehouse_1.Warehouse)
|
|
159
151
|
], Inventory.prototype, "warehouse", void 0);
|
|
160
|
-
__decorate([
|
|
152
|
+
tslib_1.__decorate([
|
|
161
153
|
(0, typeorm_1.ManyToOne)(type => location_1.Location),
|
|
162
154
|
(0, type_graphql_1.Field)(type => location_1.Location, { nullable: true }),
|
|
163
|
-
__metadata("design:type", location_1.Location)
|
|
155
|
+
tslib_1.__metadata("design:type", location_1.Location)
|
|
164
156
|
], Inventory.prototype, "location", void 0);
|
|
165
|
-
__decorate([
|
|
157
|
+
tslib_1.__decorate([
|
|
166
158
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
167
159
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
168
|
-
__metadata("design:type", String)
|
|
160
|
+
tslib_1.__metadata("design:type", String)
|
|
169
161
|
], Inventory.prototype, "zone", void 0);
|
|
170
|
-
__decorate([
|
|
162
|
+
tslib_1.__decorate([
|
|
171
163
|
(0, typeorm_1.Column)('int', { nullable: true }),
|
|
172
164
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
173
|
-
__metadata("design:type", Number)
|
|
165
|
+
tslib_1.__metadata("design:type", Number)
|
|
174
166
|
], Inventory.prototype, "manufactureYear", void 0);
|
|
175
|
-
__decorate([
|
|
167
|
+
tslib_1.__decorate([
|
|
176
168
|
(0, typeorm_1.Column)('date', { nullable: true }),
|
|
177
169
|
(0, type_graphql_1.Field)(type => shell_1.ScalarDate, { nullable: true }),
|
|
178
|
-
__metadata("design:type", Date)
|
|
170
|
+
tslib_1.__metadata("design:type", Date)
|
|
179
171
|
], Inventory.prototype, "manufactureDate", void 0);
|
|
180
|
-
__decorate([
|
|
172
|
+
tslib_1.__decorate([
|
|
181
173
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
182
174
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
183
|
-
__metadata("design:type", Number)
|
|
175
|
+
tslib_1.__metadata("design:type", Number)
|
|
184
176
|
], Inventory.prototype, "costPrice", void 0);
|
|
185
|
-
__decorate([
|
|
177
|
+
tslib_1.__decorate([
|
|
186
178
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
187
179
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
188
|
-
__metadata("design:type", Number)
|
|
180
|
+
tslib_1.__metadata("design:type", Number)
|
|
189
181
|
], Inventory.prototype, "sellPrice", void 0);
|
|
190
|
-
__decorate([
|
|
182
|
+
tslib_1.__decorate([
|
|
191
183
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
192
184
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
193
|
-
__metadata("design:type", String)
|
|
185
|
+
tslib_1.__metadata("design:type", String)
|
|
194
186
|
], Inventory.prototype, "packingType", void 0);
|
|
195
|
-
__decorate([
|
|
187
|
+
tslib_1.__decorate([
|
|
196
188
|
(0, typeorm_1.Column)('float', { nullable: true, default: 1 }),
|
|
197
189
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
198
|
-
__metadata("design:type", Number)
|
|
190
|
+
tslib_1.__metadata("design:type", Number)
|
|
199
191
|
], Inventory.prototype, "packingSize", void 0);
|
|
200
|
-
__decorate([
|
|
192
|
+
tslib_1.__decorate([
|
|
201
193
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
202
194
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
203
|
-
__metadata("design:type", String)
|
|
195
|
+
tslib_1.__metadata("design:type", String)
|
|
204
196
|
], Inventory.prototype, "unit", void 0);
|
|
205
|
-
__decorate([
|
|
197
|
+
tslib_1.__decorate([
|
|
206
198
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
207
199
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
208
|
-
__metadata("design:type", String)
|
|
200
|
+
tslib_1.__metadata("design:type", String)
|
|
209
201
|
], Inventory.prototype, "uom", void 0);
|
|
210
|
-
__decorate([
|
|
202
|
+
tslib_1.__decorate([
|
|
211
203
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
212
204
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
213
|
-
__metadata("design:type", Number)
|
|
205
|
+
tslib_1.__metadata("design:type", Number)
|
|
214
206
|
], Inventory.prototype, "uomValue", void 0);
|
|
215
|
-
__decorate([
|
|
207
|
+
tslib_1.__decorate([
|
|
216
208
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
217
209
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
218
|
-
__metadata("design:type", Number)
|
|
210
|
+
tslib_1.__metadata("design:type", Number)
|
|
219
211
|
], Inventory.prototype, "lockedUomValue", void 0);
|
|
220
|
-
__decorate([
|
|
212
|
+
tslib_1.__decorate([
|
|
221
213
|
(0, typeorm_1.Column)('float'),
|
|
222
214
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
223
|
-
__metadata("design:type", Number)
|
|
215
|
+
tslib_1.__metadata("design:type", Number)
|
|
224
216
|
], Inventory.prototype, "qty", void 0);
|
|
225
|
-
__decorate([
|
|
217
|
+
tslib_1.__decorate([
|
|
226
218
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
227
219
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
228
|
-
__metadata("design:type", Number)
|
|
220
|
+
tslib_1.__metadata("design:type", Number)
|
|
229
221
|
], Inventory.prototype, "lockedQty", void 0);
|
|
230
|
-
__decorate([
|
|
222
|
+
tslib_1.__decorate([
|
|
231
223
|
(0, typeorm_1.Column)('float', { nullable: true }),
|
|
232
224
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
233
|
-
__metadata("design:type", Number)
|
|
225
|
+
tslib_1.__metadata("design:type", Number)
|
|
234
226
|
], Inventory.prototype, "unitCost", void 0);
|
|
235
|
-
__decorate([
|
|
227
|
+
tslib_1.__decorate([
|
|
236
228
|
(0, typeorm_1.Column)({ default: 0 }),
|
|
237
229
|
(0, type_graphql_1.Field)(),
|
|
238
|
-
__metadata("design:type", Number)
|
|
230
|
+
tslib_1.__metadata("design:type", Number)
|
|
239
231
|
], Inventory.prototype, "lastSeq", void 0);
|
|
240
|
-
__decorate([
|
|
232
|
+
tslib_1.__decorate([
|
|
241
233
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
242
234
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
243
|
-
__metadata("design:type", String)
|
|
235
|
+
tslib_1.__metadata("design:type", String)
|
|
244
236
|
], Inventory.prototype, "description", void 0);
|
|
245
|
-
__decorate([
|
|
237
|
+
tslib_1.__decorate([
|
|
246
238
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
247
239
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
248
|
-
__metadata("design:type", String)
|
|
240
|
+
tslib_1.__metadata("design:type", String)
|
|
249
241
|
], Inventory.prototype, "status", void 0);
|
|
250
|
-
__decorate([
|
|
242
|
+
tslib_1.__decorate([
|
|
251
243
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
252
244
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
253
|
-
__metadata("design:type", String)
|
|
245
|
+
tslib_1.__metadata("design:type", String)
|
|
254
246
|
], Inventory.prototype, "otherRef", void 0);
|
|
255
|
-
__decorate([
|
|
247
|
+
tslib_1.__decorate([
|
|
256
248
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
257
249
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
258
|
-
__metadata("design:type", String)
|
|
250
|
+
tslib_1.__metadata("design:type", String)
|
|
259
251
|
], Inventory.prototype, "remark", void 0);
|
|
260
|
-
__decorate([
|
|
252
|
+
tslib_1.__decorate([
|
|
261
253
|
(0, typeorm_1.OneToMany)(type => inventory_change_1.InventoryChange, inventoryChanges => inventoryChanges.inventory),
|
|
262
254
|
(0, type_graphql_1.Field)(type => [inventory_change_1.InventoryChange], { nullable: true }),
|
|
263
|
-
__metadata("design:type", Array)
|
|
255
|
+
tslib_1.__metadata("design:type", Array)
|
|
264
256
|
], Inventory.prototype, "inventoryChanges", void 0);
|
|
265
|
-
__decorate([
|
|
257
|
+
tslib_1.__decorate([
|
|
266
258
|
(0, typeorm_1.OneToMany)(type => inventory_item_1.InventoryItem, inventoryItems => inventoryItems.inventory),
|
|
267
259
|
(0, type_graphql_1.Field)(type => [inventory_item_1.InventoryItem], { nullable: true }),
|
|
268
|
-
__metadata("design:type", Array)
|
|
260
|
+
tslib_1.__metadata("design:type", Array)
|
|
269
261
|
], Inventory.prototype, "inventoryItems", void 0);
|
|
270
|
-
__decorate([
|
|
262
|
+
tslib_1.__decorate([
|
|
271
263
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
272
|
-
__metadata("design:type", String)
|
|
264
|
+
tslib_1.__metadata("design:type", String)
|
|
273
265
|
], Inventory.prototype, "serialNumbers", void 0);
|
|
274
|
-
__decorate([
|
|
266
|
+
tslib_1.__decorate([
|
|
275
267
|
(0, typeorm_1.Column)('date', { nullable: true }),
|
|
276
268
|
(0, type_graphql_1.Field)(type => shell_1.ScalarDate, { nullable: true }),
|
|
277
|
-
__metadata("design:type", Date)
|
|
269
|
+
tslib_1.__metadata("design:type", Date)
|
|
278
270
|
], Inventory.prototype, "expirationDate", void 0);
|
|
279
|
-
__decorate([
|
|
271
|
+
tslib_1.__decorate([
|
|
280
272
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
281
|
-
__metadata("design:type", String)
|
|
273
|
+
tslib_1.__metadata("design:type", String)
|
|
282
274
|
], Inventory.prototype, "productId", void 0);
|
|
283
|
-
__decorate([
|
|
275
|
+
tslib_1.__decorate([
|
|
284
276
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
285
|
-
__metadata("design:type", String)
|
|
277
|
+
tslib_1.__metadata("design:type", String)
|
|
286
278
|
], Inventory.prototype, "productName", void 0);
|
|
287
|
-
__decorate([
|
|
279
|
+
tslib_1.__decorate([
|
|
288
280
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
289
|
-
__metadata("design:type", String)
|
|
281
|
+
tslib_1.__metadata("design:type", String)
|
|
290
282
|
], Inventory.prototype, "productSKU", void 0);
|
|
291
|
-
__decorate([
|
|
283
|
+
tslib_1.__decorate([
|
|
292
284
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
293
|
-
__metadata("design:type", String)
|
|
285
|
+
tslib_1.__metadata("design:type", String)
|
|
294
286
|
], Inventory.prototype, "productBrand", void 0);
|
|
295
|
-
__decorate([
|
|
287
|
+
tslib_1.__decorate([
|
|
296
288
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
297
|
-
__metadata("design:type", Number)
|
|
289
|
+
tslib_1.__metadata("design:type", Number)
|
|
298
290
|
], Inventory.prototype, "averageUnitCost", void 0);
|
|
299
|
-
__decorate([
|
|
291
|
+
tslib_1.__decorate([
|
|
300
292
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
301
|
-
__metadata("design:type", Number)
|
|
293
|
+
tslib_1.__metadata("design:type", Number)
|
|
302
294
|
], Inventory.prototype, "remainQty", void 0);
|
|
303
|
-
__decorate([
|
|
295
|
+
tslib_1.__decorate([
|
|
304
296
|
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
305
|
-
__metadata("design:type", Number)
|
|
297
|
+
tslib_1.__metadata("design:type", Number)
|
|
306
298
|
], Inventory.prototype, "nonLoadedQty", void 0);
|
|
307
|
-
__decorate([
|
|
299
|
+
tslib_1.__decorate([
|
|
308
300
|
(0, type_graphql_1.Field)(type => type_graphql_1.Float, { nullable: true }),
|
|
309
|
-
__metadata("design:type", Number)
|
|
301
|
+
tslib_1.__metadata("design:type", Number)
|
|
310
302
|
], Inventory.prototype, "nonLoadedUomValue", void 0);
|
|
311
|
-
__decorate([
|
|
303
|
+
tslib_1.__decorate([
|
|
312
304
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
313
|
-
__metadata("design:type", String)
|
|
305
|
+
tslib_1.__metadata("design:type", String)
|
|
314
306
|
], Inventory.prototype, "initialInboundAt", void 0);
|
|
315
|
-
__decorate([
|
|
307
|
+
tslib_1.__decorate([
|
|
316
308
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
317
309
|
nullable: true
|
|
318
310
|
}),
|
|
319
311
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
320
|
-
__metadata("design:type", typeof (_e = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _e : Object)
|
|
312
|
+
tslib_1.__metadata("design:type", typeof (_e = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _e : Object)
|
|
321
313
|
], Inventory.prototype, "creator", void 0);
|
|
322
|
-
__decorate([
|
|
314
|
+
tslib_1.__decorate([
|
|
323
315
|
(0, typeorm_1.RelationId)((inventory) => inventory.creator),
|
|
324
|
-
__metadata("design:type", String)
|
|
316
|
+
tslib_1.__metadata("design:type", String)
|
|
325
317
|
], Inventory.prototype, "creatorId", void 0);
|
|
326
|
-
__decorate([
|
|
318
|
+
tslib_1.__decorate([
|
|
327
319
|
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
328
320
|
nullable: true
|
|
329
321
|
}),
|
|
330
322
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
331
|
-
__metadata("design:type", typeof (_f = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _f : Object)
|
|
323
|
+
tslib_1.__metadata("design:type", typeof (_f = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _f : Object)
|
|
332
324
|
], Inventory.prototype, "updater", void 0);
|
|
333
|
-
__decorate([
|
|
325
|
+
tslib_1.__decorate([
|
|
334
326
|
(0, typeorm_1.RelationId)((inventory) => inventory.updater),
|
|
335
|
-
__metadata("design:type", String)
|
|
327
|
+
tslib_1.__metadata("design:type", String)
|
|
336
328
|
], Inventory.prototype, "updaterId", void 0);
|
|
337
|
-
__decorate([
|
|
329
|
+
tslib_1.__decorate([
|
|
338
330
|
(0, typeorm_1.CreateDateColumn)(),
|
|
339
331
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
340
|
-
__metadata("design:type", Date)
|
|
332
|
+
tslib_1.__metadata("design:type", Date)
|
|
341
333
|
], Inventory.prototype, "createdAt", void 0);
|
|
342
|
-
__decorate([
|
|
334
|
+
tslib_1.__decorate([
|
|
343
335
|
(0, typeorm_1.UpdateDateColumn)(),
|
|
344
336
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
345
|
-
__metadata("design:type", Date)
|
|
337
|
+
tslib_1.__metadata("design:type", Date)
|
|
346
338
|
], Inventory.prototype, "updatedAt", void 0);
|
|
347
|
-
__decorate([
|
|
339
|
+
tslib_1.__decorate([
|
|
348
340
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
349
|
-
__metadata("design:type", String)
|
|
341
|
+
tslib_1.__metadata("design:type", String)
|
|
350
342
|
], Inventory.prototype, "remainUomValueWithUom", void 0);
|
|
351
|
-
__decorate([
|
|
343
|
+
tslib_1.__decorate([
|
|
352
344
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
353
|
-
__metadata("design:type", Number)
|
|
345
|
+
tslib_1.__metadata("design:type", Number)
|
|
354
346
|
], Inventory.prototype, "remainUomValue", void 0);
|
|
355
|
-
__decorate([
|
|
347
|
+
tslib_1.__decorate([
|
|
356
348
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
357
|
-
__metadata("design:type", Number)
|
|
349
|
+
tslib_1.__metadata("design:type", Number)
|
|
358
350
|
], Inventory.prototype, "changeCount", void 0);
|
|
359
|
-
__decorate([
|
|
351
|
+
tslib_1.__decorate([
|
|
360
352
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
361
|
-
__metadata("design:type", String)
|
|
353
|
+
tslib_1.__metadata("design:type", String)
|
|
362
354
|
], Inventory.prototype, "binLocation", void 0);
|
|
363
|
-
__decorate([
|
|
355
|
+
tslib_1.__decorate([
|
|
364
356
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
365
|
-
__metadata("design:type", String)
|
|
357
|
+
tslib_1.__metadata("design:type", String)
|
|
366
358
|
], Inventory.prototype, "orderNo", void 0);
|
|
367
|
-
__decorate([
|
|
359
|
+
tslib_1.__decorate([
|
|
368
360
|
(0, type_graphql_1.Field)({ nullable: true }),
|
|
369
|
-
__metadata("design:type", Number)
|
|
361
|
+
tslib_1.__metadata("design:type", Number)
|
|
370
362
|
], Inventory.prototype, "inventoryItemCount", void 0);
|
|
371
|
-
Inventory = Inventory_1 = __decorate([
|
|
363
|
+
Inventory = Inventory_1 = tslib_1.__decorate([
|
|
372
364
|
(0, typeorm_1.Entity)(),
|
|
373
365
|
(0, typeorm_1.Index)('ix_inventory_0', (inventory) => [inventory.domain, inventory.palletId], {
|
|
374
366
|
unique: true
|
|
375
367
|
}),
|
|
376
368
|
(0, type_graphql_1.ObjectType)(),
|
|
377
|
-
__metadata("design:paramtypes", [Object])
|
|
369
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
378
370
|
], Inventory);
|
|
379
371
|
exports.Inventory = Inventory;
|
|
380
372
|
//# sourceMappingURL=inventory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory.js","sourceRoot":"","sources":["../../../server/service/inventory/inventory.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAUgB;AAChB,iDAA0D;AAC1D,+CAAgE;AAChE,+DAAqE;AAErE,uDAAmD;AACnD,2EAAsE;AACtE,qEAAgE;AAChE,mDAA+C;AAC/C,6CAAyC;AACzC,yDAAgD;AAChD,sDAAkD;AAOlD,IAAa,SAAS,iBAAtB,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;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACN;AAGpB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACV;AAGhB;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACA;AAzPf,SAAS;IALrB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,gBAAgB,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE;QACzF,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,yBAAU,GAAE;;GACA,SAAS,CAuSrB;AAvSY,8BAAS","sourcesContent":["import { Field, Float, ID, Int, ObjectType } from 'type-graphql'\nimport {\n Column,\n CreateDateColumn,\n Entity,\n Index,\n ManyToOne,\n OneToMany,\n PrimaryGeneratedColumn,\n RelationId,\n UpdateDateColumn\n} from 'typeorm'\n\nimport { User } from '@things-factory/auth-base'\nimport { Bizplace } from '@things-factory/biz-base'\nimport { Product, ProductDetail } from '@things-factory/product-base'\nimport { Domain, ScalarDate } from '@things-factory/shell'\n\nimport { InventoryChange } from '../inventory-change/inventory-change'\nimport { InventoryItem } from '../inventory-item/inventory-item'\nimport { Location } from '../location/location'\nimport { Pallet } from '../pallet/pallet'\nimport { Warehouse } from '../warehouse/warehouse'\n\n@Entity()\n@Index('ix_inventory_0', (inventory: Inventory) => [inventory.domain, inventory.palletId], {\n unique: true\n})\n@ObjectType()\nexport class Inventory {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field(type => Domain)\n domain: Domain\n\n @RelationId((inventory: Inventory) => inventory.domain)\n domainId: string\n\n @ManyToOne(type => Bizplace, { nullable: true })\n @Field(type => Bizplace, { nullable: true })\n bizplace: Bizplace\n\n @ManyToOne(type => Inventory)\n @Field(type => Inventory)\n refInventory: Inventory\n\n @Column()\n @Field()\n name: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n palletId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n cartonId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n batchId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n batchIdRef: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n refOrderId: string\n\n /**\n * Expected: Putting ManyToOne relation with OrderProduct to find out unloaded inventories within unloading process\n * Because if there's inventory which has same batch id with others but different product id\n * then can't find out exact same inventory by batch id as a condition to find\n *\n * Problem: Because of circular dependency problem.\n * OrderProduct entity comes from sales-base module and the module is looking for warehouse-base module\n *\n * Solution: Putting plain orderProductId field instead of ManyToOne relation for this release (2.2.0-beta)\n */\n @Column({ nullable: true })\n @Field({ nullable: true })\n orderProductId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n orderInventoryId: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n orderVasId: string\n\n @ManyToOne(type => Pallet, { nullable: true })\n @Field(type => Pallet, { nullable: true })\n reusablePallet: Pallet\n\n @ManyToOne(type => Product, { nullable: true })\n @Field({ nullable: true })\n product: Product\n\n /**\n * To be updated to remove nullable. once all process that links to inventory has been updated to use product detail instead of product\n */\n @ManyToOne(type => ProductDetail, { nullable: true })\n @Field({ nullable: true })\n productDetail: ProductDetail\n\n @ManyToOne(type => Warehouse, { nullable: true })\n @Field(type => Warehouse, { nullable: true })\n warehouse: Warehouse\n\n @ManyToOne(type => Location)\n @Field(type => Location, { nullable: true })\n location: Location\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n zone: string\n\n @Column('int', { nullable: true })\n @Field({ nullable: true })\n manufactureYear: number\n\n @Column('date', { nullable: true })\n @Field(type => ScalarDate, { nullable: true })\n manufactureDate: Date\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n costPrice: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n sellPrice: number\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n packingType: string\n\n @Column('float', { nullable: true, default: 1 })\n @Field({ nullable: true })\n packingSize: number\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n unit: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n uom: string\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n uomValue: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n lockedUomValue: number\n\n @Column('float')\n @Field({ nullable: true })\n qty: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n lockedQty: number\n\n @Column('float', { nullable: true })\n @Field({ nullable: true })\n unitCost: number\n\n @Column({ default: 0 })\n @Field()\n lastSeq: number\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n description: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n status: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n otherRef: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n remark: string\n\n @OneToMany(type => InventoryChange, inventoryChanges => inventoryChanges.inventory)\n @Field(type => [InventoryChange], { nullable: true })\n inventoryChanges: InventoryChange[]\n\n @OneToMany(type => InventoryItem, inventoryItems => inventoryItems.inventory)\n @Field(type => [InventoryItem], { nullable: true })\n inventoryItems: InventoryItem[]\n\n @Field({ nullable: true })\n serialNumbers?: string\n\n @Column('date', { nullable: true })\n @Field(type => ScalarDate, { nullable: true })\n expirationDate: Date\n\n @Field({ nullable: true })\n productId: string\n\n @Field({ nullable: true })\n productName: string\n\n @Field({ nullable: true })\n productSKU: string\n\n @Field({ nullable: true })\n productBrand: string\n\n @Field(type => Float, { nullable: true })\n averageUnitCost: number\n\n @Field(type => Float, { nullable: true })\n remainQty: number\n\n @Field(type => Int, { nullable: true })\n nonLoadedQty: number\n\n @Field(type => Float, { nullable: true })\n nonLoadedUomValue: number\n\n @Field({ nullable: true })\n initialInboundAt: string\n\n @ManyToOne(type => User, {\n nullable: true\n })\n @Field({ nullable: true })\n creator: User\n\n @RelationId((inventory: Inventory) => inventory.creator)\n creatorId: string\n\n @ManyToOne(type => User, {\n nullable: true\n })\n @Field({ nullable: true })\n updater: User\n\n @RelationId((inventory: Inventory) => inventory.updater)\n updaterId: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt: Date\n\n @Field({ nullable: true })\n remainUomValueWithUom?: string\n\n @Field({ nullable: true })\n remainUomValue?: number\n\n @Field({ nullable: true })\n changeCount?: number\n\n @Field({ nullable: true })\n binLocation?: string\n\n @Field({ nullable: true })\n orderNo?: string\n\n @Field({ nullable: true })\n inventoryItemCount: number\n\n constructor(obj?) {\n if (obj) {\n this.id = obj.Inventory_id\n this.bizplace = {\n id: obj.Bizplace_id,\n name: obj.Bizplace_name,\n description: obj.Bizplace_description\n } as any\n this.product = new Product(obj)\n this.location = new Location(obj)\n this.warehouse = new Warehouse(obj)\n this.name = obj.Inventory_name\n this.palletId = obj.Inventory_pallet_id\n this.batchId = obj.Inventory_batch_id\n this.refOrderId = obj.Inventory_ref_order_id\n this.orderProductId = obj.Inventory_order_product_id\n this.zone = obj.Inventory_zone\n this.costPrice = obj.Inventory_cost_price\n this.sellPrice = obj.Inventory_sell_price\n this.packingType = obj.Inventory_packing_type\n this.unit = obj.Inventory_unit\n this.uom = obj.Inventory_uom\n this.uomValue = obj.Inventory_uom_value\n this.lockedUomValue = obj.Inventory_locked_uom_value\n this.qty = obj.Inventory_qty\n this.lockedQty = obj.Inventory_locked_qty\n this.lastSeq = obj.Inventory_last_seq\n this.description = obj.Inventory_description\n this.status = obj.Inventory_status\n this.otherRef = obj.Inventory_other_ref\n this.remark = obj.Inventory_remark\n this.createdAt = obj.Inventory_created_at\n this.updatedAt = obj.Inventory_updated_at\n this.expirationDate = obj.Inventory_expiration_date\n this.unitCost = obj.Inventory_unit_cost\n this.manufactureYear = obj.Inventory_manufacture_year\n this.manufactureDate = obj.Inventory_manufacture_date\n this.batchIdRef = obj.Inventory_batch_id_ref\n this.cartonId = obj.Inventory_carton_id\n this.packingSize = obj.Inventory_packing_size\n this.creatorId = obj.Inventory_creator_id\n this.updaterId = obj.Inventory_updater_id\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/inventory-change/index.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AACpD,2EAAqE;AACrE,qEAA+D;AAElD,QAAA,QAAQ,GAAG,CAAC,kCAAe,CAAC,CAAA;AAC5B,QAAA,SAAS,GAAG,CAAC,6CAAoB,EAAE,mDAAuB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/inventory-change/index.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AACpD,2EAAqE;AACrE,qEAA+D;AAElD,QAAA,QAAQ,GAAG,CAAC,kCAAe,CAAC,CAAA;AAC5B,QAAA,SAAS,GAAG,CAAC,6CAAoB,EAAE,mDAAuB,CAAC,CAAA","sourcesContent":["import { InventoryChange } from './inventory-change'\nimport { InventoryChangeMutation } from './inventory-change-mutation'\nimport { InventoryChangeQuery } from './inventory-change-query'\n\nexport const entities = [InventoryChange]\nexport const resolvers = [InventoryChangeQuery, InventoryChangeMutation]"]}
|