@colijnit/transactionapi 1.1.36 → 1.1.38

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.
@@ -0,0 +1,6 @@
1
+ export declare enum SearchPeriod {
2
+ Today = "D",
3
+ CurrentWeek = "W",
4
+ CurrentMonth = "M",
5
+ MinusYearToDate = "Y"
6
+ }
@@ -0,0 +1,7 @@
1
+ export var SearchPeriod;
2
+ (function (SearchPeriod) {
3
+ SearchPeriod["Today"] = "D";
4
+ SearchPeriod["CurrentWeek"] = "W";
5
+ SearchPeriod["CurrentMonth"] = "M";
6
+ SearchPeriod["MinusYearToDate"] = "Y";
7
+ })(SearchPeriod || (SearchPeriod = {}));
@@ -0,0 +1,18 @@
1
+ export declare enum SearchType {
2
+ OpenQuotations = "selectOpenQuotations",
3
+ SalesOrderReadyForFullDelivery = "selectSalesOrderReadyForFullDelivery",
4
+ SalesOrderWithPartialDelivery = "selectSalesOrdersWithPartlyDelivery",
5
+ SalesOrdersToBeInvoiced = "selectSalesOrdersToBeInvoiced",
6
+ SalesOrdersToBePlanned = "selectSalesOrdersToBePlanned",
7
+ DelayedDeliveries = "selectSalesOrdersWithDelayedDelivery",
8
+ OutstandingDepositPayments = "selectSalesOrdersWithOutstandingDepositPayment",
9
+ PurchaseOrdersUnconfirmed = "selectUnconfirmedPurchaseOrders",
10
+ PurchaseOrdersPartleUnconfirmed = "selectPartlyUnconfirmedPurchaseOrders",
11
+ PurchaseOrdersPartlyDelivered = "selectPartlyDeliveredPurchaseOrders",
12
+ PurchaseOrdersLateDelivery = "selectLateDeliveryPurchaseOrders",
13
+ PurchaseOrdersNotDelivered = "selectNotDeliveredPurchaseOrders",
14
+ PurchaseInvoicesToBeReceived = "selectInvoicesToBeRecieved",
15
+ PurchaseOrdersToBeOrdered = "selectOrdersToBeOrdered",
16
+ GoodsArrivedNotification = "selectArrivedGoods",
17
+ DeliveryDelayNotification = "selectDelayedDeliveriesForNotification"
18
+ }
@@ -0,0 +1,19 @@
1
+ export var SearchType;
2
+ (function (SearchType) {
3
+ SearchType["OpenQuotations"] = "selectOpenQuotations";
4
+ SearchType["SalesOrderReadyForFullDelivery"] = "selectSalesOrderReadyForFullDelivery";
5
+ SearchType["SalesOrderWithPartialDelivery"] = "selectSalesOrdersWithPartlyDelivery";
6
+ SearchType["SalesOrdersToBeInvoiced"] = "selectSalesOrdersToBeInvoiced";
7
+ SearchType["SalesOrdersToBePlanned"] = "selectSalesOrdersToBePlanned";
8
+ SearchType["DelayedDeliveries"] = "selectSalesOrdersWithDelayedDelivery";
9
+ SearchType["OutstandingDepositPayments"] = "selectSalesOrdersWithOutstandingDepositPayment";
10
+ SearchType["PurchaseOrdersUnconfirmed"] = "selectUnconfirmedPurchaseOrders";
11
+ SearchType["PurchaseOrdersPartleUnconfirmed"] = "selectPartlyUnconfirmedPurchaseOrders";
12
+ SearchType["PurchaseOrdersPartlyDelivered"] = "selectPartlyDeliveredPurchaseOrders";
13
+ SearchType["PurchaseOrdersLateDelivery"] = "selectLateDeliveryPurchaseOrders";
14
+ SearchType["PurchaseOrdersNotDelivered"] = "selectNotDeliveredPurchaseOrders";
15
+ SearchType["PurchaseInvoicesToBeReceived"] = "selectInvoicesToBeRecieved";
16
+ SearchType["PurchaseOrdersToBeOrdered"] = "selectOrdersToBeOrdered";
17
+ SearchType["GoodsArrivedNotification"] = "selectArrivedGoods";
18
+ SearchType["DeliveryDelayNotification"] = "selectDelayedDeliveriesForNotification";
19
+ })(SearchType || (SearchType = {}));
@@ -1,5 +1,5 @@
1
1
  import { GoodsReceiptStatus } from "./goods-receipt-status.bo";
2
- import { GoodsReceiptHistory } from "./goods-receipt-history.bo";
2
+ import { LogisticalStateDetail } from "./logistical-state-detail.bo";
3
3
  export declare class GoodsReceiptStatusWithHistory extends GoodsReceiptStatus {
4
- goodsReceiptHistory: GoodsReceiptHistory[];
4
+ goodsReceiptHistory: LogisticalStateDetail[];
5
5
  }
@@ -1,11 +1,11 @@
1
1
  import { BusinessObject } from './business-object';
2
- export declare class GoodsReceiptHistory extends BusinessObject {
2
+ export declare class LogisticalStateDetail extends BusinessObject {
3
3
  documentId: number;
4
4
  lineNumber: number;
5
5
  refDocumentId: number;
6
6
  refDocumentLineNumber: number;
7
7
  status: string;
8
- receiptDate: Date;
8
+ date: Date;
9
9
  quantity: number;
10
10
  warehouseNumber: number;
11
11
  locationNumber: string;
@@ -13,6 +13,6 @@ export declare class GoodsReceiptHistory extends BusinessObject {
13
13
  serialNr: string;
14
14
  username: string;
15
15
  reference: string;
16
- corrections: GoodsReceiptHistory[];
16
+ corrections: LogisticalStateDetail[];
17
17
  type: string;
18
18
  }
@@ -22,15 +22,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
22
22
  };
23
23
  import { BusinessObject } from './business-object';
24
24
  import { DateField } from "../factory/decorators/date-field.decorator";
25
- var GoodsReceiptHistory = (function (_super) {
26
- __extends(GoodsReceiptHistory, _super);
27
- function GoodsReceiptHistory() {
25
+ var LogisticalStateDetail = (function (_super) {
26
+ __extends(LogisticalStateDetail, _super);
27
+ function LogisticalStateDetail() {
28
28
  return _super !== null && _super.apply(this, arguments) || this;
29
29
  }
30
30
  __decorate([
31
31
  DateField(),
32
32
  __metadata("design:type", Date)
33
- ], GoodsReceiptHistory.prototype, "receiptDate", void 0);
34
- return GoodsReceiptHistory;
33
+ ], LogisticalStateDetail.prototype, "date", void 0);
34
+ return LogisticalStateDetail;
35
35
  }(BusinessObject));
36
- export { GoodsReceiptHistory };
36
+ export { LogisticalStateDetail };
@@ -1,4 +1,6 @@
1
1
  import { PagingParameters } from './paging-parameters';
2
+ import { SearchPeriod } from '../enum/search-period.enum';
3
+ import { SearchType } from '../enum/search-type.enum';
2
4
  export declare class TransactionSearchViewRequest {
3
5
  paging: PagingParameters;
4
6
  general: string;
@@ -75,4 +77,9 @@ export declare class TransactionSearchViewRequest {
75
77
  mainArticleNrRange: string;
76
78
  includingReturns: number;
77
79
  containerNumber: string;
80
+ searchPeriod: SearchPeriod;
81
+ searchType: SearchType;
82
+ showFullyAccepted: boolean;
83
+ showPartialDeliveries: boolean;
84
+ hideFullyInvoiced: boolean;
78
85
  }
@@ -4,6 +4,8 @@ var TransactionSearchViewRequest = (function () {
4
4
  this.transKindList = [];
5
5
  this.exceedanceCodes = [];
6
6
  this.commissionCodes = [];
7
+ this.showPartialDeliveries = true;
8
+ this.hideFullyInvoiced = false;
7
9
  }
8
10
  return TransactionSearchViewRequest;
9
11
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transactionapi",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",