@colijnit/transactionapi 1.1.52 → 1.1.53
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/build/enum/address-format.enum.js +4 -2
- package/build/enum/article-method.enum.js +4 -2
- package/build/enum/article-object-name.enum.js +4 -2
- package/build/enum/article-operation.enum.js +4 -2
- package/build/enum/backend-service-name.enum.js +4 -2
- package/build/enum/catalog-object-name.enum.js +4 -2
- package/build/enum/connection-endpoint-enum.js +4 -2
- package/build/enum/data-mapping.enum.js +4 -2
- package/build/enum/deco-node-kind.enum.js +4 -2
- package/build/enum/deco-node-type.enum.js +4 -2
- package/build/enum/discount-type.enum.js +4 -2
- package/build/enum/document-object-name.enum.js +4 -2
- package/build/enum/domain-name.enum.js +4 -2
- package/build/enum/filter-type.enum.js +4 -2
- package/build/enum/financial-object-name.enum.js +4 -2
- package/build/enum/general-method.enum.js +4 -2
- package/build/enum/general-object-name.enum.js +4 -2
- package/build/enum/line-confirmation-reason.enum.js +4 -2
- package/build/enum/line-pending-reason.enum.js +4 -2
- package/build/enum/login-service-method.enum.js +4 -2
- package/build/enum/logistics-method.enum.js +4 -2
- package/build/enum/master-data-method-name.enum.js +4 -2
- package/build/enum/master-data-object-name.enum.js +4 -2
- package/build/enum/master-data-operation-name.enum.js +4 -2
- package/build/enum/module-name.enum.js +4 -2
- package/build/enum/node-type.enum.js +4 -2
- package/build/enum/one-zero-bool-db-type.enum.js +6 -3
- package/build/enum/operation-name.enum.js +4 -2
- package/build/enum/payment-method.enum.js +4 -2
- package/build/enum/pending-reason-type.enum.js +4 -2
- package/build/enum/pricing-method.enum.js +4 -2
- package/build/enum/print-service-method.enum.js +4 -2
- package/build/enum/public-service-method.enum.js +4 -2
- package/build/enum/public-service-method.js +4 -2
- package/build/enum/purchase-advice-method.enum.js +4 -2
- package/build/enum/purchase-advice-object-name.enum.js +4 -2
- package/build/enum/quantity-in-historic-state.enum.js +4 -2
- package/build/enum/refcode/commission-code-type.enum.js +4 -2
- package/build/enum/refcode/document-publication.enum.js +4 -2
- package/build/enum/refcode/good-type.enum.js +4 -2
- package/build/enum/refcode/price-list-type.enum.js +4 -2
- package/build/enum/refcode/ref-type.enum.js +4 -2
- package/build/enum/refcode/selector-type.enum.js +4 -2
- package/build/enum/refcode/stock-status.enum.js +6 -3
- package/build/enum/relation-kind.enum.js +4 -2
- package/build/enum/relation-name-kind.enum.js +4 -2
- package/build/enum/relation-object-name.enum.js +4 -2
- package/build/enum/relation-reference-kind.enum.js +4 -2
- package/build/enum/relation-status.enum.js +4 -2
- package/build/enum/reporting-method.enum.js +4 -2
- package/build/enum/retail-transaction-pending-reason.enum.js +4 -2
- package/build/enum/search-data-type.enum.js +4 -2
- package/build/enum/search-period.enum.js +4 -2
- package/build/enum/search-property-state.enum.js +4 -2
- package/build/enum/search-type.enum.js +4 -2
- package/build/enum/sequence-name.enum.js +4 -2
- package/build/enum/sla-publication.enum.js +4 -2
- package/build/enum/sort-direction.js +6 -3
- package/build/enum/sort-type.enum.js +4 -2
- package/build/enum/stock-method.enum.js +4 -2
- package/build/enum/table-name.enum.js +4 -2
- package/build/enum/tag-object-name.enum.js +4 -2
- package/build/enum/tag-operation-name.enum.js +4 -2
- package/build/enum/text-kind-type.enum.js +4 -2
- package/build/enum/transaction-kind.enum.js +4 -2
- package/build/enum/transaction-line-type.enum.js +4 -2
- package/build/enum/transaction-method.enum.js +4 -2
- package/build/enum/transaction-object-name.enum.js +4 -2
- package/build/enum/transaction-operation.enum.js +4 -2
- package/build/ione-api-transaction.d.ts +1 -16
- package/build/ione-api-transaction.js +12 -11
- package/build/model/acceptance-container.bo.d.ts +1 -1
- package/build/model/acceptance-container.bo.js +23 -39
- package/build/model/acceptance-line.bo.d.ts +1 -1
- package/build/model/acceptance-line.bo.js +6 -22
- package/build/model/admin-cash-register-group.bo.d.ts +1 -1
- package/build/model/admin-cash-register-group.bo.js +6 -22
- package/build/model/admin-payment-method.bo.d.ts +1 -1
- package/build/model/admin-payment-method.bo.js +6 -22
- package/build/model/art-quick-sel-o-article.d.ts +3 -3
- package/build/model/art-quick-sel-o-article.js +27 -43
- package/build/model/article-category.d.ts +2 -2
- package/build/model/article-category.js +23 -37
- package/build/model/article-full-object.d.ts +4 -4
- package/build/model/article-full-object.js +42 -56
- package/build/model/article-group-image.d.ts +2 -2
- package/build/model/article-group-image.js +14 -30
- package/build/model/article-group.d.ts +2 -2
- package/build/model/article-group.js +17 -31
- package/build/model/article-list-object-extended.d.ts +2 -2
- package/build/model/article-list-object-extended.js +46 -63
- package/build/model/article-list-object.d.ts +1 -1
- package/build/model/article-list-object.js +16 -17
- package/build/model/article-price.d.ts +2 -2
- package/build/model/article-price.js +6 -22
- package/build/model/article-pricing.d.ts +1 -1
- package/build/model/article-pricing.js +11 -27
- package/build/model/article.d.ts +2 -2
- package/build/model/article.js +60 -76
- package/build/model/atmosphere.d.ts +1 -1
- package/build/model/atmosphere.js +8 -24
- package/build/model/cash-register-group.bo.d.ts +1 -1
- package/build/model/cash-register-group.bo.js +15 -29
- package/build/model/cash-register.d.ts +1 -1
- package/build/model/cash-register.js +10 -23
- package/build/model/change-header-adm-coordinator-request.js +5 -6
- package/build/model/change-header-branch-request.js +5 -6
- package/build/model/change-header-currency-request.js +5 -6
- package/build/model/change-header-delivery-date-definitive-request.js +5 -6
- package/build/model/change-header-delivery-date-request.js +5 -6
- package/build/model/change-header-delivery-method-request.js +5 -6
- package/build/model/change-header-delivery-options-request.js +6 -5
- package/build/model/change-header-dont-send-order-forms-request.js +5 -6
- package/build/model/change-header-invoice-address-request.js +5 -6
- package/build/model/change-header-marketing-code-request.js +5 -6
- package/build/model/change-header-on-hold-codes-request.js +6 -5
- package/build/model/change-header-own-reference-request.js +5 -6
- package/build/model/change-header-partial-delivery-allowed-request.js +5 -6
- package/build/model/change-header-preferred-delivery-date-request.js +5 -6
- package/build/model/change-header-price-kind-request.js +5 -6
- package/build/model/change-header-print-discount-request.js +5 -6
- package/build/model/change-header-relation-reference-request.js +5 -6
- package/build/model/change-header-relation-transaction-date-request.js +5 -6
- package/build/model/change-header-release-transaction-request.js +5 -6
- package/build/model/change-header-remarks-request.js +5 -6
- package/build/model/change-header-to-down-pay-amount-request.js +5 -6
- package/build/model/change-header-to-down-pay-percentage-request.js +5 -6
- package/build/model/change-header-transaction-address-request.js +5 -6
- package/build/model/change-header-transaction-definitive-request.js +5 -6
- package/build/model/change-line-assembly-time-request.js +5 -6
- package/build/model/change-line-collection-code-request.js +5 -6
- package/build/model/change-line-commission-code-request.js +5 -6
- package/build/model/change-line-delivery-date-request.js +10 -11
- package/build/model/change-line-delivery-method-request.js +5 -6
- package/build/model/change-line-discount-request.js +5 -6
- package/build/model/change-line-edit-time-request.js +5 -6
- package/build/model/change-line-good-description-request.js +5 -6
- package/build/model/change-line-price-list-request.js +5 -6
- package/build/model/change-line-price-request.js +5 -6
- package/build/model/change-line-quantity-request.js +5 -6
- package/build/model/change-line-reference-request.js +5 -6
- package/build/model/change-line-sequence-request.js +5 -6
- package/build/model/change-line-supplier-article-number-request.js +5 -6
- package/build/model/change-line-supplier-request.js +5 -6
- package/build/model/change-line-vat-request.js +5 -6
- package/build/model/change-line-warehouse-request.js +5 -6
- package/build/model/code-description.js +6 -5
- package/build/model/color.d.ts +1 -1
- package/build/model/color.js +34 -53
- package/build/model/concept.d.ts +1 -1
- package/build/model/concept.js +8 -24
- package/build/model/constant/java-constants.js +4 -2
- package/build/model/country.bo.d.ts +1 -1
- package/build/model/country.bo.js +9 -25
- package/build/model/create-outstanding-entry-request.js +5 -6
- package/build/model/create-payment-link-request.js +5 -6
- package/build/model/create-payment-link-result.bo.d.ts +1 -1
- package/build/model/create-payment-link-result.bo.js +6 -22
- package/build/model/customer-group.bo.d.ts +1 -1
- package/build/model/customer-group.bo.js +14 -30
- package/build/model/delivery-method.bo.d.ts +1 -1
- package/build/model/delivery-method.bo.js +31 -45
- package/build/model/delivery-option.bo.d.ts +1 -1
- package/build/model/delivery-option.bo.js +10 -23
- package/build/model/delivery-order-status.bo.js +6 -22
- package/build/model/design.d.ts +1 -1
- package/build/model/design.js +8 -24
- package/build/model/doc-delivery-batch.bo.d.ts +1 -1
- package/build/model/doc-delivery-batch.bo.js +6 -22
- package/build/model/down-payment.bo.d.ts +1 -1
- package/build/model/down-payment.bo.js +11 -27
- package/build/model/email-delivery-note-request.bo.js +6 -22
- package/build/model/external-storage.d.ts +1 -1
- package/build/model/external-storage.js +9 -24
- package/build/model/get-article-price-request.d.ts +1 -1
- package/build/model/get-article-price-request.js +5 -6
- package/build/model/get-articles-for-catalog.js +6 -5
- package/build/model/get-postal-code-retrieval-output-params.js +9 -12
- package/build/model/get-purchase-order-confirmation.js +5 -6
- package/build/model/get-purchase-portal-line.js +5 -6
- package/build/model/get-stock-info-output-params.js +8 -7
- package/build/model/goods-receipt-status-with-history.bo.js +6 -22
- package/build/model/goods-receipt-status.bo.js +6 -22
- package/build/model/header-operation-status.bo.js +6 -5
- package/build/model/info.d.ts +1 -1
- package/build/model/info.js +19 -35
- package/build/model/line-operation-response.bo.js +6 -22
- package/build/model/line-operation-status.bo.js +5 -6
- package/build/model/linked-article.d.ts +2 -2
- package/build/model/linked-article.js +57 -101
- package/build/model/logistical-state-detail.bo.d.ts +1 -1
- package/build/model/logistical-state-detail.bo.js +11 -27
- package/build/model/marketing.bo.d.ts +1 -1
- package/build/model/marketing.bo.js +8 -24
- package/build/model/on-hold-code.bo.d.ts +1 -1
- package/build/model/on-hold-code.bo.js +19 -35
- package/build/model/payment-link-status.bo.d.ts +1 -1
- package/build/model/payment-link-status.bo.js +19 -35
- package/build/model/payment-method.bo.d.ts +2 -2
- package/build/model/payment-method.bo.js +27 -41
- package/build/model/payment-request.js +5 -6
- package/build/model/pdf-delivery-note-request.bo.js +6 -22
- package/build/model/price-list.d.ts +2 -2
- package/build/model/price-list.js +17 -33
- package/build/model/print-delivery-note-request.bo.js +6 -22
- package/build/model/purchase-advice-filters.js +5 -6
- package/build/model/purchase-advice-line.bo.d.ts +1 -1
- package/build/model/purchase-advice-line.bo.js +19 -35
- package/build/model/purchase-order-line-receipt-correction-details.bo.d.ts +1 -1
- package/build/model/purchase-order-line-receipt-correction-details.bo.js +6 -22
- package/build/model/purchase-order-line-receipt-details.bo.d.ts +1 -1
- package/build/model/purchase-order-line-receipt-details.bo.js +6 -22
- package/build/model/purchase-order-line.bo.d.ts +1 -1
- package/build/model/purchase-order-line.bo.js +11 -27
- package/build/model/purchase-order.bo.d.ts +1 -1
- package/build/model/purchase-order.bo.js +6 -22
- package/build/model/purchase-portal-filters.bo.d.ts +1 -1
- package/build/model/purchase-portal-filters.bo.js +6 -22
- package/build/model/purchase-portal-line.bo.d.ts +1 -1
- package/build/model/purchase-portal-line.bo.js +15 -29
- package/build/model/purchase-portal-object-name.enum.js +4 -2
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.d.ts +1 -1
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.js +6 -22
- package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +1 -1
- package/build/model/receive-goods-for-purchase-order-request.bo.js +11 -27
- package/build/model/report/email-order-confirmation.js +5 -6
- package/build/model/report/pdf-order-confirmation.js +5 -6
- package/build/model/report/print-order-confirmation.js +5 -6
- package/build/model/reporting-document-base-request.bo.d.ts +1 -1
- package/build/model/reporting-document-base-request.bo.js +6 -22
- package/build/model/reporting-document-email-base-request.bo.js +6 -22
- package/build/model/reporting-document-pdf-base-request.bo.js +6 -22
- package/build/model/reporting-document-print-base-request.bo.js +6 -22
- package/build/model/resolve-header-pending-reason-request.bo.js +6 -6
- package/build/model/resolve-pending-reason-request.bo.js +6 -9
- package/build/model/session.js +6 -5
- package/build/model/set-transaction-delivery-options-request.bo.d.ts +1 -1
- package/build/model/set-transaction-delivery-options-request.bo.js +19 -35
- package/build/model/set-transaction-discounts-request.js +5 -6
- package/build/model/supplier-product.bo.d.ts +1 -1
- package/build/model/supplier-product.bo.js +19 -35
- package/build/model/transaction-add-line-response.bo.js +6 -22
- package/build/model/transaction-add-text-line-request.bo.d.ts +1 -1
- package/build/model/transaction-add-text-line-request.bo.js +17 -31
- package/build/model/transaction-article-warehouse.bo.d.ts +2 -2
- package/build/model/transaction-article-warehouse.bo.js +40 -54
- package/build/model/transaction-change-line-quantity-response.bo.js +6 -22
- package/build/model/transaction-down-payment-info.bo.d.ts +1 -1
- package/build/model/transaction-down-payment-info.bo.js +15 -29
- package/build/model/transaction-info-response.bo.js +40 -54
- package/build/model/transaction-info.bo.d.ts +5 -3
- package/build/model/transaction-info.bo.js +47 -64
- package/build/model/transaction-line-info.bo.d.ts +1 -1
- package/build/model/transaction-line-info.bo.js +101 -143
- package/build/model/transaction-line-reporting-request.bo.d.ts +1 -1
- package/build/model/transaction-line-reporting-request.bo.js +6 -22
- package/build/model/transaction-line-status-base.bo.d.ts +1 -1
- package/build/model/transaction-line-status-base.bo.js +6 -22
- package/build/model/transaction-list-object.bo.d.ts +3 -3
- package/build/model/transaction-list-object.bo.js +77 -97
- package/build/model/transaction-lock-result.bo.d.ts +1 -1
- package/build/model/transaction-lock-result.bo.js +11 -27
- package/build/model/transaction-response-base.bo.d.ts +1 -1
- package/build/model/transaction-response-base.bo.js +6 -22
- package/build/model/transaction-search-view-request.d.ts +1 -1
- package/build/model/transaction-search-view-request.js +6 -5
- package/build/model/transaction-search-view.bo.d.ts +3 -3
- package/build/model/transaction-search-view.bo.js +98 -124
- package/build/model/transaction-total.bo.d.ts +1 -1
- package/build/model/transaction-total.bo.js +6 -22
- package/build/model/transactionLineCharacteristic.bo.js +12 -11
- package/build/model/transactionLineCharacteristicChoice.bo.js +5 -6
- package/build/model/tree-object.d.ts +1 -1
- package/build/model/tree-object.js +19 -35
- package/build/model/turnover-group-image.d.ts +2 -2
- package/build/model/turnover-group-image.js +14 -30
- package/build/model/vat.d.ts +2 -2
- package/build/model/vat.js +17 -33
- package/build/model/warehouse.bo.d.ts +1 -1
- package/build/model/warehouse.bo.js +46 -60
- package/build/transaction-auth.d.ts +1 -17
- package/build/transaction-auth.js +782 -1014
- package/build/transaction-public.d.ts +1 -16
- package/build/transaction-public.js +576 -1063
- package/build/transaction.d.ts +1 -16
- package/build/transaction.js +279 -432
- package/build/transaction.unit.test.js +341 -837
- package/build/type/object-configuration-default-value-type.js +2 -0
- package/build/websocket/socket.js +63 -115
- package/package.json +10 -3
- package/build/catalog.d.ts +0 -35
- package/build/catalog.js +0 -47
- package/build/enum/absence-type.enum.d.ts +0 -10
- package/build/enum/absence-type.enum.js +0 -11
- package/build/enum/address-type.enum.d.ts +0 -8
- package/build/enum/address-type.enum.js +0 -9
- package/build/enum/co-document-image-display-kind.enum.d.ts +0 -5
- package/build/enum/co-document-image-display-kind.enum.js +0 -6
- package/build/enum/communication-type.enum.d.ts +0 -8
- package/build/enum/communication-type.enum.js +0 -9
- package/build/enum/company-type.enum.d.ts +0 -4
- package/build/enum/company-type.enum.js +0 -5
- package/build/enum/customer-employee-contact-link-status.enum.d.ts +0 -4
- package/build/enum/customer-employee-contact-link-status.enum.js +0 -5
- package/build/enum/customer-type.enum.d.ts +0 -5
- package/build/enum/customer-type.enum.js +0 -6
- package/build/enum/data-service-method.enum.d.ts +0 -14
- package/build/enum/data-service-method.enum.js +0 -15
- package/build/enum/datasession-service-method.enum.d.ts +0 -11
- package/build/enum/datasession-service-method.enum.js +0 -12
- package/build/enum/db-boolean-value-type.enum.d.ts +0 -12
- package/build/enum/db-boolean-value-type.enum.js +0 -28
- package/build/enum/delivery-time-unit-type.enum.d.ts +0 -4
- package/build/enum/delivery-time-unit-type.enum.js +0 -5
- package/build/enum/fixed-supplier-type.enum.d.ts +0 -13
- package/build/enum/fixed-supplier-type.enum.js +0 -14
- package/build/enum/gender-type.enum.d.ts +0 -5
- package/build/enum/gender-type.enum.js +0 -6
- package/build/enum/insured-interest-type.enum.d.ts +0 -10
- package/build/enum/insured-interest-type.enum.js +0 -11
- package/build/enum/message-type.enum.d.ts +0 -6
- package/build/enum/message-type.enum.js +0 -7
- package/build/enum/node-display-type.enum.d.ts +0 -5
- package/build/enum/node-display-type.enum.js +0 -6
- package/build/enum/own-risk.enum.d.ts +0 -7
- package/build/enum/own-risk.enum.js +0 -8
- package/build/enum/priority-type.enum.d.ts +0 -7
- package/build/enum/priority-type.enum.js +0 -8
- package/build/enum/product-kind.enum.d.ts +0 -6
- package/build/enum/product-kind.enum.js +0 -7
- package/build/enum/refcode/article-publication.enum.d.ts +0 -5
- package/build/enum/refcode/article-publication.enum.js +0 -6
- package/build/enum/refcode/co-document-type.enum.d.ts +0 -5
- package/build/enum/refcode/co-document-type.enum.js +0 -6
- package/build/enum/refcode/file-type-internal.enum.d.ts +0 -11
- package/build/enum/refcode/file-type-internal.enum.js +0 -12
- package/build/enum/refcode/file-type.enum.d.ts +0 -5
- package/build/enum/refcode/file-type.enum.js +0 -6
- package/build/enum/refcode/object-config-kind.d.ts +0 -9
- package/build/enum/refcode/object-config-kind.js +0 -10
- package/build/enum/refcode/object-configuration-data-type.enum.d.ts +0 -7
- package/build/enum/refcode/object-configuration-data-type.enum.js +0 -8
- package/build/enum/refcode/object-configuration-value-type.enum.d.ts +0 -10
- package/build/enum/refcode/object-configuration-value-type.enum.js +0 -11
- package/build/enum/refcode/object-right-type.enum.d.ts +0 -5
- package/build/enum/refcode/object-right-type.enum.js +0 -6
- package/build/enum/refcode/price-type.enum.d.ts +0 -4
- package/build/enum/refcode/price-type.enum.js +0 -5
- package/build/enum/refcode/text-standard-type-text.d.ts +0 -7
- package/build/enum/refcode/text-standard-type-text.js +0 -8
- package/build/enum/refcode/text-standard-type.d.ts +0 -7
- package/build/enum/refcode/text-standard-type.js +0 -8
- package/build/enum/refcode/user-right-type.enum.d.ts +0 -7
- package/build/enum/refcode/user-right-type.enum.js +0 -8
- package/build/enum/true-false-db-type.enum.d.ts +0 -5
- package/build/enum/true-false-db-type.enum.js +0 -16
- package/build/enum/value-comparison-type.enum.d.ts +0 -15
- package/build/enum/value-comparison-type.enum.js +0 -28
- package/build/enum/vat-type.enum.d.ts +0 -4
- package/build/enum/vat-type.enum.js +0 -5
- package/build/enum/yes-no-db-type.enum.d.ts +0 -5
- package/build/enum/yes-no-db-type.enum.js +0 -16
- package/build/factory/decorators/boolean.decorator.d.ts +0 -11
- package/build/factory/decorators/boolean.decorator.js +0 -71
- package/build/factory/decorators/business-object-data.decorator.d.ts +0 -24
- package/build/factory/decorators/business-object-data.decorator.js +0 -85
- package/build/factory/decorators/complex-array.decorator.d.ts +0 -5
- package/build/factory/decorators/complex-array.decorator.js +0 -35
- package/build/factory/decorators/complex-field.decorator.d.ts +0 -5
- package/build/factory/decorators/complex-field.decorator.js +0 -35
- package/build/factory/decorators/date-field.decorator.d.ts +0 -5
- package/build/factory/decorators/date-field.decorator.js +0 -25
- package/build/factory/decorators/db-field-alias.decorator.d.ts +0 -5
- package/build/factory/decorators/db-field-alias.decorator.js +0 -38
- package/build/factory/decorators/db-method-value.decorator.d.ts +0 -5
- package/build/factory/decorators/db-method-value.decorator.js +0 -18
- package/build/factory/decorators/db-number.decorator.d.ts +0 -5
- package/build/factory/decorators/db-number.decorator.js +0 -35
- package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +0 -5
- package/build/factory/decorators/exclude-when-empty-string.decorator.js +0 -18
- package/build/factory/decorators/json.decorator.d.ts +0 -5
- package/build/factory/decorators/json.decorator.js +0 -24
- package/build/factory/decorators/map-property.decorator.d.ts +0 -6
- package/build/factory/decorators/map-property.decorator.js +0 -28
- package/build/factory/decorators/no-db-field.decorator.d.ts +0 -4
- package/build/factory/decorators/no-db-field.decorator.js +0 -32
- package/build/factory/decorators/number-string.decorator.d.ts +0 -6
- package/build/factory/decorators/number-string.decorator.js +0 -22
- package/build/factory/decorators/simple-property-tag.decorator.d.ts +0 -5
- package/build/factory/decorators/simple-property-tag.decorator.js +0 -36
- package/build/factory/decorators/string-number.decorator.d.ts +0 -6
- package/build/factory/decorators/string-number.decorator.js +0 -28
- package/build/interface/business-object-data-shape.d.ts +0 -21
- package/build/interface/business-object-data-shape.js +0 -0
- package/build/interface/check-precision-and-scale-result.d.ts +0 -4
- package/build/interface/check-precision-and-scale-result.js +0 -0
- package/build/interface/contact-option-common-shape.d.ts +0 -7
- package/build/interface/contact-option-common-shape.js +0 -0
- package/build/interface/contact-option-sequence-range.d.ts +0 -5
- package/build/interface/contact-option-sequence-range.js +0 -0
- package/build/interface/data-service-response-data.interface.d.ts +0 -9
- package/build/interface/data-service-response-data.interface.js +0 -0
- package/build/interface/field-validation.interface.d.ts +0 -6
- package/build/interface/field-validation.interface.js +0 -0
- package/build/interface/field-validations-object.interface.d.ts +0 -4
- package/build/interface/field-validations-object.interface.js +0 -0
- package/build/interface/filter-property.d.ts +0 -9
- package/build/interface/filter-property.js +0 -0
- package/build/interface/paging-parameters.interface.d.ts +0 -6
- package/build/interface/paging-parameters.interface.js +0 -6
- package/build/interface/precision-scale-object.d.ts +0 -4
- package/build/interface/precision-scale-object.js +0 -0
- package/build/interface/relman-complete-name.d.ts +0 -5
- package/build/interface/relman-complete-name.js +0 -0
- package/build/interface/search-property.d.ts +0 -11
- package/build/interface/search-property.js +0 -0
- package/build/interface/sort-property.d.ts +0 -11
- package/build/interface/sort-property.js +0 -0
- package/build/interface/validation-message.interface.d.ts +0 -6
- package/build/interface/validation-message.interface.js +0 -0
- package/build/interface/validation-result.interface.d.ts +0 -14
- package/build/interface/validation-result.interface.js +0 -0
- package/build/interface/value-comparison-type-view-wrapper.d.ts +0 -5
- package/build/interface/value-comparison-type-view-wrapper.js +0 -0
- package/build/model/address-contact-option.bo.d.ts +0 -14
- package/build/model/address-contact-option.bo.js +0 -25
- package/build/model/address.bo.d.ts +0 -37
- package/build/model/address.bo.js +0 -148
- package/build/model/answer-price.d.ts +0 -15
- package/build/model/answer-price.js +0 -90
- package/build/model/answer.d.ts +0 -36
- package/build/model/answer.js +0 -184
- package/build/model/article-seo-value.d.ts +0 -5
- package/build/model/article-seo-value.js +0 -6
- package/build/model/bank-account.bo.d.ts +0 -15
- package/build/model/bank-account.bo.js +0 -25
- package/build/model/branch-lov.bo.d.ts +0 -9
- package/build/model/branch-lov.bo.js +0 -25
- package/build/model/brand.d.ts +0 -8
- package/build/model/brand.js +0 -25
- package/build/model/business-object-id-type.d.ts +0 -4
- package/build/model/business-object-id-type.js +0 -10
- package/build/model/business-object.d.ts +0 -7
- package/build/model/business-object.js +0 -71
- package/build/model/co-document-right.d.ts +0 -7
- package/build/model/co-document-right.js +0 -22
- package/build/model/co-document.d.ts +0 -62
- package/build/model/co-document.js +0 -223
- package/build/model/co-domain-value.bo.d.ts +0 -10
- package/build/model/co-domain-value.bo.js +0 -36
- package/build/model/co-notition-right.bo.d.ts +0 -10
- package/build/model/co-notition-right.bo.js +0 -25
- package/build/model/co-notition.bo.d.ts +0 -24
- package/build/model/co-notition.bo.js +0 -96
- package/build/model/co-text.d.ts +0 -26
- package/build/model/co-text.js +0 -43
- package/build/model/contact-moment.bo.d.ts +0 -17
- package/build/model/contact-moment.bo.js +0 -51
- package/build/model/contact-option.bo.d.ts +0 -16
- package/build/model/contact-option.bo.js +0 -46
- package/build/model/customer-full-object.bo.d.ts +0 -107
- package/build/model/customer-full-object.bo.js +0 -334
- package/build/model/data-service-data.d.ts +0 -15
- package/build/model/data-service-data.js +0 -6
- package/build/model/data-service-request-data.d.ts +0 -15
- package/build/model/data-service-request-data.js +0 -6
- package/build/model/data-service-response-data.d.ts +0 -15
- package/build/model/data-service-response-data.js +0 -66
- package/build/model/data-service-response-root.d.ts +0 -5
- package/build/model/data-service-response-root.js +0 -0
- package/build/model/deco-node.d.ts +0 -18
- package/build/model/deco-node.js +0 -93
- package/build/model/department.bo.d.ts +0 -12
- package/build/model/department.bo.js +0 -81
- package/build/model/employee-group-dto.bo.d.ts +0 -7
- package/build/model/employee-group-dto.bo.js +0 -42
- package/build/model/field-validation.d.ts +0 -10
- package/build/model/field-validation.js +0 -61
- package/build/model/field-validations-object.d.ts +0 -4
- package/build/model/field-validations-object.js +0 -0
- package/build/model/frozen-article-composition.d.ts +0 -13
- package/build/model/frozen-article-composition.js +0 -79
- package/build/model/frozen-article-simple.d.ts +0 -12
- package/build/model/frozen-article-simple.js +0 -74
- package/build/model/frozen-article.d.ts +0 -14
- package/build/model/frozen-article.js +0 -75
- package/build/model/hd-service-request-data.d.ts +0 -5
- package/build/model/hd-service-request-data.js +0 -0
- package/build/model/insuredInterest.bo.d.ts +0 -13
- package/build/model/insuredInterest.bo.js +0 -51
- package/build/model/login.d.ts +0 -17
- package/build/model/login.js +0 -65
- package/build/model/match-article.d.ts +0 -10
- package/build/model/match-article.js +0 -66
- package/build/model/material.d.ts +0 -6
- package/build/model/material.js +0 -25
- package/build/model/nul-relation-object.d.ts +0 -6
- package/build/model/nul-relation-object.js +0 -5
- package/build/model/object-configuration.d.ts +0 -50
- package/build/model/object-configuration.js +0 -202
- package/build/model/off-set-account.bo.d.ts +0 -15
- package/build/model/off-set-account.bo.js +0 -95
- package/build/model/own-risk.bo.d.ts +0 -11
- package/build/model/own-risk.bo.js +0 -51
- package/build/model/paging-parameters.d.ts +0 -16
- package/build/model/paging-parameters.js +0 -44
- package/build/model/payroll-number.bo.d.ts +0 -7
- package/build/model/payroll-number.bo.js +0 -42
- package/build/model/privacy-setting.bo.d.ts +0 -9
- package/build/model/privacy-setting.bo.js +0 -25
- package/build/model/question.d.ts +0 -9
- package/build/model/question.js +0 -54
- package/build/model/relation-any-type.d.ts +0 -3
- package/build/model/relation-any-type.js +0 -0
- package/build/model/relation-contact-link.bo.d.ts +0 -36
- package/build/model/relation-contact-link.bo.js +0 -158
- package/build/model/relation-contact-serial-number.bo.d.ts +0 -22
- package/build/model/relation-contact-serial-number.bo.js +0 -85
- package/build/model/relation-contract-login-data.bo.d.ts +0 -10
- package/build/model/relation-contract-login-data.bo.js +0 -42
- package/build/model/relation-contract.bo.d.ts +0 -63
- package/build/model/relation-contract.bo.js +0 -141
- package/build/model/relation-employee-fte.bo.d.ts +0 -8
- package/build/model/relation-employee-fte.bo.js +0 -39
- package/build/model/relation-event-link.bo.d.ts +0 -15
- package/build/model/relation-event-link.bo.js +0 -70
- package/build/model/relation-event-subscriber.bo.d.ts +0 -7
- package/build/model/relation-event-subscriber.bo.js +0 -42
- package/build/model/relation-list-object.bo.d.ts +0 -72
- package/build/model/relation-list-object.bo.js +0 -197
- package/build/model/relation-mailing-code.d.ts +0 -7
- package/build/model/relation-mailing-code.js +0 -25
- package/build/model/relation-objects-shared-field-logic.d.ts +0 -12
- package/build/model/relation-objects-shared-field-logic.js +0 -82
- package/build/model/relation-price-list.bo.d.ts +0 -11
- package/build/model/relation-price-list.bo.js +0 -58
- package/build/model/relation-privacy-setting.bo.d.ts +0 -12
- package/build/model/relation-privacy-setting.bo.js +0 -65
- package/build/model/relation-reference-type.bo.d.ts +0 -8
- package/build/model/relation-reference-type.bo.js +0 -58
- package/build/model/relation-request.d.ts +0 -51
- package/build/model/relation-request.js +0 -13
- package/build/model/relation-small-object.bo.d.ts +0 -28
- package/build/model/relation-small-object.bo.js +0 -99
- package/build/model/relation.bo.d.ts +0 -119
- package/build/model/relation.bo.js +0 -495
- package/build/model/sales-person.bo.d.ts +0 -7
- package/build/model/sales-person.bo.js +0 -43
- package/build/model/selection.d.ts +0 -45
- package/build/model/selection.js +0 -155
- package/build/model/service-provider.bo.d.ts +0 -20
- package/build/model/service-provider.bo.js +0 -105
- package/build/model/skip-button-info.d.ts +0 -6
- package/build/model/skip-button-info.js +0 -37
- package/build/model/sla-product.bo.d.ts +0 -20
- package/build/model/sla-product.bo.js +0 -56
- package/build/model/super-article-image.d.ts +0 -7
- package/build/model/super-article-image.js +0 -25
- package/build/model/super-article.d.ts +0 -21
- package/build/model/super-article.js +0 -86
- package/build/model/supplier-full-object.bo.d.ts +0 -64
- package/build/model/supplier-full-object.bo.js +0 -200
- package/build/model/tag-stock-item.bo.d.ts +0 -24
- package/build/model/tag-stock-item.bo.js +0 -36
- package/build/model/tag-tree-item.bo.d.ts +0 -18
- package/build/model/tag-tree-item.bo.js +0 -58
- package/build/model/tag.d.ts +0 -11
- package/build/model/tag.js +0 -55
- package/build/model/validation-message.d.ts +0 -15
- package/build/model/validation-message.js +0 -46
- package/build/model/validation-result.d.ts +0 -33
- package/build/model/validation-result.js +0 -199
- package/build/service/business-object-serializer.service.d.ts +0 -10
- package/build/service/business-object-serializer.service.js +0 -143
- package/build/type/business-object-id-type.d.ts +0 -4
- package/build/type/business-object-id-type.js +0 -10
- package/build/utils/array-utils.d.ts +0 -13
- package/build/utils/array-utils.js +0 -137
- package/build/utils/bo-factory-step.utils.d.ts +0 -4
- package/build/utils/bo-factory-step.utils.js +0 -15
- package/build/utils/bo-serializer-step.utils.d.ts +0 -4
- package/build/utils/bo-serializer-step.utils.js +0 -15
- package/build/utils/business-object-utils.d.ts +0 -10
- package/build/utils/business-object-utils.js +0 -80
- package/build/utils/date-utils.d.ts +0 -5
- package/build/utils/date-utils.js +0 -24
- package/build/utils/default-send-value.utils.d.ts +0 -6
- package/build/utils/default-send-value.utils.js +0 -51
- package/build/utils/file-utils.d.ts +0 -6
- package/build/utils/file-utils.js +0 -66
- package/build/utils/function/is-nill.function.d.ts +0 -1
- package/build/utils/function/is-nill.function.js +0 -3
- package/build/utils/function/not-nill.function.d.ts +0 -1
- package/build/utils/function/not-nill.function.js +0 -3
- package/build/utils/function-utils.d.ts +0 -4
- package/build/utils/function-utils.js +0 -32
- package/build/utils/image-utils.d.ts +0 -4
- package/build/utils/image-utils.js +0 -28
- package/build/utils/number-utils.d.ts +0 -19
- package/build/utils/number-utils.js +0 -161
- package/build/utils/object-utils.d.ts +0 -18
- package/build/utils/object-utils.js +0 -225
- package/build/utils/parameter-value-conversion-utils.d.ts +0 -3
- package/build/utils/parameter-value-conversion-utils.js +0 -19
- package/build/utils/promise-utils.d.ts +0 -6
- package/build/utils/promise-utils.js +0 -66
- package/build/utils/ref-code-utils.d.ts +0 -4
- package/build/utils/ref-code-utils.js +0 -23
- package/build/utils/simple-method-tag.utils.d.ts +0 -5
- package/build/utils/simple-method-tag.utils.js +0 -29
- package/build/utils/sort-utils.d.ts +0 -12
- package/build/utils/sort-utils.js +0 -128
- package/build/utils/string-utils.d.ts +0 -9
- package/build/utils/string-utils.js +0 -69
- package/build/utils/url-utils.d.ts +0 -4
- package/build/utils/url-utils.js +0 -32
|
@@ -1,306 +1,241 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
39
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
40
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
41
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
42
|
-
if (t[2]) _.ops.pop();
|
|
43
|
-
_.trys.pop(); continue;
|
|
44
|
-
}
|
|
45
|
-
op = body.call(thisArg, _);
|
|
46
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
47
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
import { IoneApiTransaction } from './ione-api-transaction';
|
|
51
|
-
import { SequenceName } from './enum/sequence-name.enum';
|
|
52
|
-
import { ArticleMethod } from './enum/article-method.enum';
|
|
53
|
-
import { ModuleName } from './enum/module-name.enum';
|
|
54
|
-
import { GeneralMethod } from './enum/general-method.enum';
|
|
55
|
-
import { isNill } from './utils/function/is-nill.function';
|
|
56
|
-
import { ArticledObjectName } from './enum/article-object-name.enum';
|
|
57
|
-
import { DataServiceMethod } from './enum/data-service-method.enum';
|
|
58
|
-
import { MasterDataObjectName } from './enum/master-data-object-name.enum';
|
|
59
|
-
import { DomainName } from './enum/domain-name.enum';
|
|
60
|
-
import { TransactionMethod } from './enum/transaction-method.enum';
|
|
61
|
-
import { RelationObjectName } from './enum/relation-object-name.enum';
|
|
62
|
-
import { StringUtils } from './utils/string-utils';
|
|
63
|
-
import { OperationName } from './enum/operation-name.enum';
|
|
64
|
-
import { LogisticsMethod } from './enum/logistics-method.enum';
|
|
65
|
-
import { BackendServiceName } from './enum/backend-service-name.enum';
|
|
66
|
-
import { BusinessObjectSerializerService } from './service/business-object-serializer.service';
|
|
67
|
-
import { TransactionObjectName } from './enum/transaction-object-name.enum';
|
|
68
|
-
import { TagObjectName } from './enum/tag-object-name.enum';
|
|
69
|
-
import { TagOperationName } from './enum/tag-operation-name.enum';
|
|
70
|
-
import { PaymentMethod } from './enum/payment-method.enum';
|
|
71
|
-
import { PurchaseAdviceObjectName } from './enum/purchase-advice-object-name.enum';
|
|
72
|
-
import { PurchasePortal } from './model/purchase-portal-object-name.enum';
|
|
73
|
-
import { PurchaseAdviceMethod } from './enum/purchase-advice-method.enum';
|
|
74
|
-
import { PrintServiceMethod } from "./enum/print-service-method.enum";
|
|
75
|
-
import { ReportingMethod } from "./enum/reporting-method.enum";
|
|
76
|
-
var TransactionAuth = (function (_super) {
|
|
77
|
-
__extends(TransactionAuth, _super);
|
|
78
|
-
function TransactionAuth() {
|
|
79
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
-
_this._boSerializer = new BusinessObjectSerializerService();
|
|
81
|
-
return _this;
|
|
82
|
-
}
|
|
83
|
-
TransactionAuth.prototype.searchTransactions = function (request) {
|
|
84
|
-
return this.selectMultiple(ModuleName.Transaction, TransactionObjectName.TransactionListObject, "", request);
|
|
85
|
-
};
|
|
86
|
-
TransactionAuth.prototype.getArticleFullObject = function (id) {
|
|
87
|
-
var data = {
|
|
88
|
-
moduleName: ModuleName.Articles,
|
|
89
|
-
objectName: ArticledObjectName.ArticleFullObject,
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const ione_api_transaction_1 = require("./ione-api-transaction");
|
|
4
|
+
const article_method_enum_1 = require("./enum/article-method.enum");
|
|
5
|
+
const module_name_enum_1 = require("./enum/module-name.enum");
|
|
6
|
+
const general_method_enum_1 = require("./enum/general-method.enum");
|
|
7
|
+
const article_object_name_enum_1 = require("./enum/article-object-name.enum");
|
|
8
|
+
const master_data_object_name_enum_1 = require("./enum/master-data-object-name.enum");
|
|
9
|
+
const domain_name_enum_1 = require("./enum/domain-name.enum");
|
|
10
|
+
const transaction_method_enum_1 = require("./enum/transaction-method.enum");
|
|
11
|
+
const operation_name_enum_1 = require("./enum/operation-name.enum");
|
|
12
|
+
const logistics_method_enum_1 = require("./enum/logistics-method.enum");
|
|
13
|
+
const backend_service_name_enum_1 = require("./enum/backend-service-name.enum");
|
|
14
|
+
const transaction_object_name_enum_1 = require("./enum/transaction-object-name.enum");
|
|
15
|
+
const tag_object_name_enum_1 = require("./enum/tag-object-name.enum");
|
|
16
|
+
const tag_operation_name_enum_1 = require("./enum/tag-operation-name.enum");
|
|
17
|
+
const payment_method_enum_1 = require("./enum/payment-method.enum");
|
|
18
|
+
const purchase_advice_object_name_enum_1 = require("./enum/purchase-advice-object-name.enum");
|
|
19
|
+
const purchase_portal_object_name_enum_1 = require("./model/purchase-portal-object-name.enum");
|
|
20
|
+
const purchase_advice_method_enum_1 = require("./enum/purchase-advice-method.enum");
|
|
21
|
+
const data_service_method_enum_1 = require("@colijnit/mainapi/build/enum/data-service-method.enum");
|
|
22
|
+
const business_object_serializer_1 = require("@colijnit/ioneconnector/build/factory/business-object-serializer");
|
|
23
|
+
const is_nill_function_1 = require("@colijnit/ioneconnector/build/utils/function/is-nill.function");
|
|
24
|
+
const print_service_method_enum_1 = require("./enum/print-service-method.enum");
|
|
25
|
+
const reporting_method_enum_1 = require("./enum/reporting-method.enum");
|
|
26
|
+
class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
27
|
+
constructor() {
|
|
28
|
+
super(...arguments);
|
|
29
|
+
this._boSerializer = new business_object_serializer_1.BusinessObjectSerializer();
|
|
30
|
+
}
|
|
31
|
+
searchTransactions(request) {
|
|
32
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.Transaction, transaction_object_name_enum_1.TransactionObjectName.TransactionListObject, "", request);
|
|
33
|
+
}
|
|
34
|
+
getArticleFullObject(id) {
|
|
35
|
+
const data = {
|
|
36
|
+
moduleName: module_name_enum_1.ModuleName.Articles,
|
|
37
|
+
objectName: article_object_name_enum_1.ArticledObjectName.ArticleFullObject,
|
|
90
38
|
refCursorAsArray: true,
|
|
91
39
|
objectId: id
|
|
92
40
|
};
|
|
93
|
-
return this._call(DataServiceMethod.SelectSingleObject, data);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
moduleName: ModuleName.Articles,
|
|
41
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.SelectSingleObject, data);
|
|
42
|
+
}
|
|
43
|
+
getGoodIdFromArticleNr(sku) {
|
|
44
|
+
const params = { artikelnr: sku + "" };
|
|
45
|
+
const data = {
|
|
46
|
+
methodName: article_method_enum_1.ArticleMethod.GetGoodIdFromArticleNr,
|
|
47
|
+
moduleName: module_name_enum_1.ModuleName.Articles,
|
|
101
48
|
refCursorAsArray: true,
|
|
102
49
|
parameterValues: params
|
|
103
50
|
};
|
|
104
|
-
return new Promise(
|
|
105
|
-
return resolve(
|
|
51
|
+
return new Promise((resolve, reject) => {
|
|
52
|
+
return resolve(this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data));
|
|
106
53
|
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
if (includeMimetype === void 0) { includeMimetype = false; }
|
|
112
|
-
if (thumb === void 0) { thumb = true; }
|
|
113
|
-
return new Promise(function (resolve, reject) {
|
|
114
|
-
if (isNill(nodeId)) {
|
|
54
|
+
}
|
|
55
|
+
getSingleImage(nodeId, publication = 4, includeMimetype = false, thumb = true) {
|
|
56
|
+
return new Promise((resolve, reject) => {
|
|
57
|
+
if (is_nill_function_1.isNill(nodeId)) {
|
|
115
58
|
resolve();
|
|
116
59
|
}
|
|
117
|
-
|
|
60
|
+
const params = {
|
|
118
61
|
table: "GOEDEREN",
|
|
119
62
|
key: nodeId.toString()
|
|
120
63
|
};
|
|
121
64
|
params.includeBody = thumb === undefined || thumb === false;
|
|
122
65
|
params.includeThumbnail = thumb === true;
|
|
123
66
|
params.publication = publication;
|
|
124
|
-
resolve(
|
|
67
|
+
resolve(this._callGetSingleImage(params));
|
|
125
68
|
});
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
var inputParams = {
|
|
69
|
+
}
|
|
70
|
+
getDocumentContent(id, thumbnail = true) {
|
|
71
|
+
const inputParams = {
|
|
130
72
|
documentId: id,
|
|
131
73
|
thumbnail: thumbnail
|
|
132
74
|
};
|
|
133
|
-
|
|
134
|
-
moduleName: ModuleName.General,
|
|
135
|
-
methodName: GeneralMethod.GetDocumentContent,
|
|
75
|
+
const data = {
|
|
76
|
+
moduleName: module_name_enum_1.ModuleName.General,
|
|
77
|
+
methodName: general_method_enum_1.GeneralMethod.GetDocumentContent,
|
|
136
78
|
refCursorAsArray: true,
|
|
137
79
|
parameterValues: inputParams
|
|
138
80
|
};
|
|
139
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
81
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
82
|
+
}
|
|
83
|
+
getCashRegisters(branch, group) {
|
|
84
|
+
const params = {};
|
|
143
85
|
if (branch !== undefined && branch !== null) {
|
|
144
86
|
params.branchNumber = branch;
|
|
145
87
|
}
|
|
146
88
|
if (group !== undefined && group !== null) {
|
|
147
89
|
params.cashRegistry = group;
|
|
148
90
|
}
|
|
149
|
-
return this.selectMultiple(ModuleName.Transaction, 'CashRegister', undefined, params);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.Country);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.CustomerGroup);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
return this._call(DataServiceMethod.Commit, {}, BackendServiceName.DatasessionService);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.PrivacySettingDTO);
|
|
162
|
-
}
|
|
163
|
-
|
|
91
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.Transaction, 'CashRegister', undefined, params);
|
|
92
|
+
}
|
|
93
|
+
getCountries() {
|
|
94
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.Country);
|
|
95
|
+
}
|
|
96
|
+
getCustomerGroups() {
|
|
97
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.CustomerGroup);
|
|
98
|
+
}
|
|
99
|
+
commit() {
|
|
100
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.Commit, {}, backend_service_name_enum_1.BackendServiceName.DatasessionService);
|
|
101
|
+
}
|
|
102
|
+
getPrivacySettings() {
|
|
103
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.PrivacySettingDTO);
|
|
104
|
+
}
|
|
105
|
+
getRelationPrivacySettings() {
|
|
164
106
|
return this.getPrivacySettings();
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
return this._getDomainCollection(languageCode, DomainName.CommissionCode);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
return this._getDomainCollection(languageCode, DomainName.InOutCollection);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
return this._getMultipleDomainCollection(languageCode, DomainName.TextType);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
107
|
+
}
|
|
108
|
+
getCommissionCodes(languageCode) {
|
|
109
|
+
return this._getDomainCollection(languageCode, domain_name_enum_1.DomainName.CommissionCode);
|
|
110
|
+
}
|
|
111
|
+
getInOutCollection(languageCode) {
|
|
112
|
+
return this._getDomainCollection(languageCode, domain_name_enum_1.DomainName.InOutCollection);
|
|
113
|
+
}
|
|
114
|
+
getTextTypes(languageCode) {
|
|
115
|
+
return this._getMultipleDomainCollection(languageCode, domain_name_enum_1.DomainName.TextType);
|
|
116
|
+
}
|
|
117
|
+
getStandardTexts(languageCode) {
|
|
118
|
+
const params = {
|
|
177
119
|
language: languageCode
|
|
178
120
|
};
|
|
179
|
-
|
|
180
|
-
moduleName: ModuleName.Transaction,
|
|
181
|
-
methodName: TransactionMethod.GetStandardTextsNoHeadOrFeet,
|
|
121
|
+
const data = {
|
|
122
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
123
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetStandardTextsNoHeadOrFeet,
|
|
182
124
|
parameterValues: params,
|
|
183
125
|
refCursorAsArray: true
|
|
184
126
|
};
|
|
185
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
if (branchNr !== undefined && branchNr !== null) {
|
|
190
|
-
params.branchNo = branchNr;
|
|
191
|
-
}
|
|
192
|
-
return this.selectMultiple(ModuleName.Relation, RelationObjectName.BranchLov, "", params);
|
|
193
|
-
};
|
|
194
|
-
TransactionAuth.prototype.getSalesPersons = function (date) {
|
|
195
|
-
var params = {};
|
|
127
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
128
|
+
}
|
|
129
|
+
getSalesPersons(date) {
|
|
130
|
+
const params = {};
|
|
196
131
|
if (date !== undefined && date !== null) {
|
|
197
132
|
params.date = date;
|
|
198
133
|
}
|
|
199
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.SalesPerson, "", params);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
134
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.SalesPerson, "", params);
|
|
135
|
+
}
|
|
136
|
+
getTags(category) {
|
|
137
|
+
const params = {
|
|
203
138
|
category: category
|
|
204
139
|
};
|
|
205
|
-
return this.selectMultiple(ModuleName.Tags, TagObjectName.Tag, TagOperationName.TagsByCat, params);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.OnHoldCode);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
140
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.Tags, tag_object_name_enum_1.TagObjectName.Tag, tag_operation_name_enum_1.TagOperationName.TagsByCat, params);
|
|
141
|
+
}
|
|
142
|
+
getOnHoldCodes() {
|
|
143
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.OnHoldCode);
|
|
144
|
+
}
|
|
145
|
+
getWarehouses(branchNr) {
|
|
146
|
+
const params = {};
|
|
212
147
|
if (branchNr !== undefined && branchNr !== null) {
|
|
213
148
|
params.branchNr = branchNr;
|
|
214
149
|
}
|
|
215
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.WareHouse, "", params);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
150
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.WareHouse, "", params);
|
|
151
|
+
}
|
|
152
|
+
getTransactionArticleWarehouses(goodId, branchNr) {
|
|
153
|
+
const params = {
|
|
219
154
|
branchNr: branchNr,
|
|
220
155
|
goodId: goodId
|
|
221
156
|
};
|
|
222
|
-
return this.selectMultiple(ModuleName.Transaction, MasterDataObjectName.WareHouse, "", params);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.MarketingCode);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
157
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.Transaction, master_data_object_name_enum_1.MasterDataObjectName.WareHouse, "", params);
|
|
158
|
+
}
|
|
159
|
+
getMarketingCodes() {
|
|
160
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.MarketingCode);
|
|
161
|
+
}
|
|
162
|
+
createTransaction(kind, branchNr) {
|
|
163
|
+
const params = {
|
|
229
164
|
transactionKind: kind,
|
|
230
165
|
branchNr: branchNr
|
|
231
166
|
};
|
|
232
|
-
|
|
233
|
-
moduleName: ModuleName.Transaction,
|
|
234
|
-
methodName: TransactionMethod.CreateTransaction,
|
|
167
|
+
const data = {
|
|
168
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
169
|
+
methodName: transaction_method_enum_1.TransactionMethod.CreateTransaction,
|
|
235
170
|
parameterValues: params,
|
|
236
171
|
refCursorAsArray: true
|
|
237
172
|
};
|
|
238
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
173
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
174
|
+
}
|
|
175
|
+
getTransactionByNrAndKind(kind, transactionNo) {
|
|
176
|
+
const params = {
|
|
242
177
|
transactionNr: transactionNo,
|
|
243
178
|
transactionKind: kind
|
|
244
179
|
};
|
|
245
|
-
|
|
246
|
-
moduleName: ModuleName.Transaction,
|
|
247
|
-
methodName: TransactionMethod.GetTransactionByNrAndKind,
|
|
180
|
+
const data = {
|
|
181
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
182
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetTransactionByNrAndKind,
|
|
248
183
|
parameterValues: params,
|
|
249
184
|
refCursorAsArray: true
|
|
250
185
|
};
|
|
251
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
186
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
187
|
+
}
|
|
188
|
+
getTransactionById(transactionId) {
|
|
189
|
+
const params = {
|
|
255
190
|
transactionId: transactionId
|
|
256
191
|
};
|
|
257
|
-
|
|
258
|
-
moduleName: ModuleName.Transaction,
|
|
259
|
-
methodName: TransactionMethod.GetTransactionById,
|
|
192
|
+
const data = {
|
|
193
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
194
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetTransactionById,
|
|
260
195
|
parameterValues: params,
|
|
261
196
|
refCursorAsArray: true
|
|
262
197
|
};
|
|
263
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
198
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
199
|
+
}
|
|
200
|
+
getArticleBoundTextLinesOfArticleLine(articleLineUuid) {
|
|
201
|
+
const params = {
|
|
267
202
|
articleLineUuid: articleLineUuid
|
|
268
203
|
};
|
|
269
|
-
|
|
270
|
-
moduleName: ModuleName.Transaction,
|
|
271
|
-
methodName: TransactionMethod.GetArticleBoundTextLinesOfArticleLine,
|
|
204
|
+
const data = {
|
|
205
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
206
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetArticleBoundTextLinesOfArticleLine,
|
|
272
207
|
parameterValues: params,
|
|
273
208
|
refCursorAsArray: true
|
|
274
209
|
};
|
|
275
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
210
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
211
|
+
}
|
|
212
|
+
addRelationToTransaction(uuid, relationId) {
|
|
213
|
+
const params = {
|
|
279
214
|
transactionUuid: uuid,
|
|
280
215
|
relationId: relationId
|
|
281
216
|
};
|
|
282
|
-
|
|
283
|
-
moduleName: ModuleName.Transaction,
|
|
284
|
-
methodName: TransactionMethod.SetTransactionRelation,
|
|
217
|
+
const data = {
|
|
218
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
219
|
+
methodName: transaction_method_enum_1.TransactionMethod.SetTransactionRelation,
|
|
285
220
|
parameterValues: params,
|
|
286
221
|
refCursorAsArray: true,
|
|
287
222
|
};
|
|
288
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
223
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
224
|
+
}
|
|
225
|
+
saveTransaction(uuid) {
|
|
226
|
+
const params = {
|
|
292
227
|
uuid: uuid
|
|
293
228
|
};
|
|
294
|
-
|
|
295
|
-
moduleName: ModuleName.Transaction,
|
|
296
|
-
methodName: TransactionMethod.SaveTransaction,
|
|
229
|
+
const data = {
|
|
230
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
231
|
+
methodName: transaction_method_enum_1.TransactionMethod.SaveTransaction,
|
|
297
232
|
parameterValues: params,
|
|
298
233
|
refCursorAsArray: true,
|
|
299
234
|
};
|
|
300
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
235
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
236
|
+
}
|
|
237
|
+
setTransactionDeliveryOptions(request) {
|
|
238
|
+
const params = {
|
|
304
239
|
transactionUuid: request.transactionUuid,
|
|
305
240
|
deliveryMethod: request.deliveryMethod,
|
|
306
241
|
deliveryOptions: request.deliveryOptions,
|
|
@@ -315,16 +250,16 @@ var TransactionAuth = (function (_super) {
|
|
|
315
250
|
transactionAddress: request.transactionAddress,
|
|
316
251
|
invoiceAddress: request.invoiceAddress,
|
|
317
252
|
};
|
|
318
|
-
|
|
319
|
-
moduleName: ModuleName.Transaction,
|
|
320
|
-
methodName: TransactionMethod.SetTransactionDeliveryOptions,
|
|
253
|
+
const data = {
|
|
254
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
255
|
+
methodName: transaction_method_enum_1.TransactionMethod.SetTransactionDeliveryOptions,
|
|
321
256
|
parameterValues: params,
|
|
322
257
|
refCursorAsArray: true,
|
|
323
258
|
};
|
|
324
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
|
|
259
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
260
|
+
}
|
|
261
|
+
addTransactionLine(uuid, lineType, articleNumber, amount, warehouseNr, commissionCode, isReturn, aboveLineNr, belowLineNr) {
|
|
262
|
+
const params = {
|
|
328
263
|
transactionUuid: uuid,
|
|
329
264
|
articleNumber: articleNumber,
|
|
330
265
|
lineType: lineType,
|
|
@@ -335,16 +270,16 @@ var TransactionAuth = (function (_super) {
|
|
|
335
270
|
aboveLineNr: aboveLineNr,
|
|
336
271
|
belowLineNr: belowLineNr
|
|
337
272
|
};
|
|
338
|
-
|
|
339
|
-
moduleName: ModuleName.Transaction,
|
|
340
|
-
methodName: TransactionMethod.AddTransactionLine,
|
|
273
|
+
const data = {
|
|
274
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
275
|
+
methodName: transaction_method_enum_1.TransactionMethod.AddTransactionLine,
|
|
341
276
|
parameterValues: params,
|
|
342
277
|
refCursorAsArray: true,
|
|
343
278
|
};
|
|
344
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
279
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
280
|
+
}
|
|
281
|
+
addTextLineToTransaction(uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr) {
|
|
282
|
+
const params = {
|
|
348
283
|
transactionUuid: uuid,
|
|
349
284
|
showOnDocuments: showOnDocuments,
|
|
350
285
|
text: text,
|
|
@@ -353,724 +288,639 @@ var TransactionAuth = (function (_super) {
|
|
|
353
288
|
aboveLineNr: aboveLineNr,
|
|
354
289
|
belowLineNr: belowLineNr
|
|
355
290
|
};
|
|
356
|
-
|
|
357
|
-
moduleName: ModuleName.Transaction,
|
|
358
|
-
methodName: TransactionMethod.AddTextLineToTransaction,
|
|
291
|
+
const data = {
|
|
292
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
293
|
+
methodName: transaction_method_enum_1.TransactionMethod.AddTextLineToTransaction,
|
|
359
294
|
parameterValues: params,
|
|
360
295
|
refCursorAsArray: true,
|
|
361
296
|
};
|
|
362
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
moduleName: ModuleName.Transaction,
|
|
367
|
-
methodName: TransactionMethod.ChangeLineSequence,
|
|
297
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
298
|
+
}
|
|
299
|
+
changeLineSequence(request) {
|
|
300
|
+
const data = {
|
|
301
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
302
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineSequence,
|
|
368
303
|
parameterValues: request,
|
|
369
304
|
refCursorAsArray: true,
|
|
370
305
|
};
|
|
371
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
|
|
306
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
307
|
+
}
|
|
308
|
+
cancelAddTransactionLine(lineUuid) {
|
|
309
|
+
const params = {
|
|
375
310
|
lineUuid: lineUuid
|
|
376
311
|
};
|
|
377
|
-
|
|
378
|
-
moduleName: ModuleName.Transaction,
|
|
379
|
-
methodName: TransactionMethod.CancelAddTransactionLine,
|
|
312
|
+
const data = {
|
|
313
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
314
|
+
methodName: transaction_method_enum_1.TransactionMethod.CancelAddTransactionLine,
|
|
380
315
|
parameterValues: params,
|
|
381
316
|
refCursorAsArray: true,
|
|
382
317
|
};
|
|
383
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
|
|
318
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
319
|
+
}
|
|
320
|
+
deleteTransactionLine(transactionUuid, lineUuid) {
|
|
321
|
+
const params = {
|
|
387
322
|
transactionUuid: transactionUuid,
|
|
388
323
|
lineUuid: lineUuid,
|
|
389
324
|
};
|
|
390
|
-
|
|
391
|
-
moduleName: ModuleName.Transaction,
|
|
392
|
-
methodName: TransactionMethod.DeleteTransactionLine,
|
|
325
|
+
const data = {
|
|
326
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
327
|
+
methodName: transaction_method_enum_1.TransactionMethod.DeleteTransactionLine,
|
|
393
328
|
parameterValues: params,
|
|
394
329
|
refCursorAsArray: true,
|
|
395
330
|
};
|
|
396
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
moduleName: ModuleName.Transaction,
|
|
401
|
-
methodName: TransactionMethod.ChangeLineQuantity,
|
|
331
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
332
|
+
}
|
|
333
|
+
changeLineQuantity(request) {
|
|
334
|
+
const data = {
|
|
335
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
336
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineQuantity,
|
|
402
337
|
parameterValues: request,
|
|
403
338
|
refCursorAsArray: true,
|
|
404
339
|
};
|
|
405
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
moduleName: ModuleName.Transaction,
|
|
410
|
-
methodName: TransactionMethod.ChangeLineCommissionCode,
|
|
340
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
341
|
+
}
|
|
342
|
+
changeLineCommissionCode(request) {
|
|
343
|
+
const data = {
|
|
344
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
345
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineCommissionCode,
|
|
411
346
|
parameterValues: request,
|
|
412
347
|
refCursorAsArray: true,
|
|
413
348
|
};
|
|
414
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
moduleName: ModuleName.Transaction,
|
|
419
|
-
methodName: TransactionMethod.ChangeLineWarehouse,
|
|
349
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
350
|
+
}
|
|
351
|
+
changeLineWarehouse(request) {
|
|
352
|
+
const data = {
|
|
353
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
354
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineWarehouse,
|
|
420
355
|
parameterValues: request,
|
|
421
356
|
refCursorAsArray: true,
|
|
422
357
|
};
|
|
423
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
moduleName: ModuleName.Transaction,
|
|
428
|
-
methodName: TransactionMethod.ChangeLinePrice,
|
|
358
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
359
|
+
}
|
|
360
|
+
changeLinePrice(request) {
|
|
361
|
+
const data = {
|
|
362
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
363
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLinePrice,
|
|
429
364
|
parameterValues: request,
|
|
430
365
|
refCursorAsArray: true,
|
|
431
366
|
};
|
|
432
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
moduleName: ModuleName.Transaction,
|
|
437
|
-
methodName: TransactionMethod.ChangeLinePriceList,
|
|
367
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
368
|
+
}
|
|
369
|
+
changeLinePriceList(request) {
|
|
370
|
+
const data = {
|
|
371
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
372
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLinePriceList,
|
|
438
373
|
parameterValues: request,
|
|
439
374
|
refCursorAsArray: true,
|
|
440
375
|
};
|
|
441
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
moduleName: ModuleName.Transaction,
|
|
446
|
-
methodName: TransactionMethod.ChangeLineVat,
|
|
376
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
377
|
+
}
|
|
378
|
+
changeLineVat(request) {
|
|
379
|
+
const data = {
|
|
380
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
381
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineVat,
|
|
447
382
|
parameterValues: request,
|
|
448
383
|
refCursorAsArray: true,
|
|
449
384
|
};
|
|
450
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
moduleName: ModuleName.Transaction,
|
|
455
|
-
methodName: TransactionMethod.ChangeLineDiscount,
|
|
385
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
386
|
+
}
|
|
387
|
+
changeLineDiscount(request) {
|
|
388
|
+
const data = {
|
|
389
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
390
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineDiscount,
|
|
456
391
|
parameterValues: request,
|
|
457
392
|
refCursorAsArray: true,
|
|
458
393
|
};
|
|
459
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
moduleName: ModuleName.Transaction,
|
|
464
|
-
methodName: TransactionMethod.ChangeLineDeliveryMethod,
|
|
394
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
395
|
+
}
|
|
396
|
+
changeLineDeliveryMethod(request) {
|
|
397
|
+
const data = {
|
|
398
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
399
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineDeliveryMethod,
|
|
465
400
|
parameterValues: request,
|
|
466
401
|
refCursorAsArray: true,
|
|
467
402
|
};
|
|
468
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
moduleName: ModuleName.Transaction,
|
|
473
|
-
methodName: TransactionMethod.ChangeLineDeliveryDate,
|
|
403
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
404
|
+
}
|
|
405
|
+
changeLineDeliveryDate(request) {
|
|
406
|
+
const data = {
|
|
407
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
408
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineDeliveryDate,
|
|
474
409
|
parameterValues: request,
|
|
475
410
|
refCursorAsArray: true,
|
|
476
411
|
};
|
|
477
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
moduleName: ModuleName.Transaction,
|
|
482
|
-
methodName: TransactionMethod.ChangeLineAssemblyTime,
|
|
412
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
413
|
+
}
|
|
414
|
+
changeLineAssemblyTime(request) {
|
|
415
|
+
const data = {
|
|
416
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
417
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineAssemblyTime,
|
|
483
418
|
parameterValues: request,
|
|
484
419
|
refCursorAsArray: true,
|
|
485
420
|
};
|
|
486
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
moduleName: ModuleName.Transaction,
|
|
491
|
-
methodName: TransactionMethod.ChangeLineEditTime,
|
|
421
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
422
|
+
}
|
|
423
|
+
changeLineEditTime(request) {
|
|
424
|
+
const data = {
|
|
425
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
426
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineEditTime,
|
|
492
427
|
parameterValues: request,
|
|
493
428
|
refCursorAsArray: true,
|
|
494
429
|
};
|
|
495
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
moduleName: ModuleName.Transaction,
|
|
500
|
-
methodName: TransactionMethod.ChangeLineSupplierArticleNumber,
|
|
430
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
431
|
+
}
|
|
432
|
+
changeLineSupplierArticleNumber(request) {
|
|
433
|
+
const data = {
|
|
434
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
435
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineSupplierArticleNumber,
|
|
501
436
|
parameterValues: request,
|
|
502
437
|
refCursorAsArray: true,
|
|
503
438
|
};
|
|
504
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
moduleName: ModuleName.Transaction,
|
|
509
|
-
methodName: TransactionMethod.ChangeLineReference,
|
|
439
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
440
|
+
}
|
|
441
|
+
changeLineReference(request) {
|
|
442
|
+
const data = {
|
|
443
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
444
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineReference,
|
|
510
445
|
parameterValues: request,
|
|
511
446
|
refCursorAsArray: true,
|
|
512
447
|
};
|
|
513
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
moduleName: ModuleName.Transaction,
|
|
518
|
-
methodName: TransactionMethod.ChangeLineCollectionCode,
|
|
448
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
449
|
+
}
|
|
450
|
+
changeLineCollectionCode(request) {
|
|
451
|
+
const data = {
|
|
452
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
453
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineCollectionCode,
|
|
519
454
|
parameterValues: request,
|
|
520
455
|
refCursorAsArray: true,
|
|
521
456
|
};
|
|
522
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
moduleName: ModuleName.Transaction,
|
|
527
|
-
methodName: TransactionMethod.ChangeLineGoodDescription,
|
|
457
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
458
|
+
}
|
|
459
|
+
changeLineGoodDescription(request) {
|
|
460
|
+
const data = {
|
|
461
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
462
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineGoodDescription,
|
|
528
463
|
parameterValues: request,
|
|
529
464
|
refCursorAsArray: true,
|
|
530
465
|
};
|
|
531
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
moduleName: ModuleName.Transaction,
|
|
536
|
-
methodName: TransactionMethod.ChangeLineSupplier,
|
|
466
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
467
|
+
}
|
|
468
|
+
changeLineSupplier(request) {
|
|
469
|
+
const data = {
|
|
470
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
471
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeLineSupplier,
|
|
537
472
|
parameterValues: request,
|
|
538
473
|
refCursorAsArray: true,
|
|
539
474
|
};
|
|
540
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
moduleName: ModuleName.Transaction,
|
|
545
|
-
methodName: TransactionMethod.ChangeHeaderDeliveryDate,
|
|
475
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
476
|
+
}
|
|
477
|
+
changeHeaderDeliveryDate(request) {
|
|
478
|
+
const data = {
|
|
479
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
480
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderDeliveryDate,
|
|
546
481
|
parameterValues: request,
|
|
547
482
|
refCursorAsArray: true,
|
|
548
483
|
};
|
|
549
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
moduleName: ModuleName.Transaction,
|
|
554
|
-
methodName: TransactionMethod.ChangeHeaderDeliveryDateDefinitive,
|
|
484
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
485
|
+
}
|
|
486
|
+
changeHeaderDeliveryDateDefinitive(request) {
|
|
487
|
+
const data = {
|
|
488
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
489
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderDeliveryDateDefinitive,
|
|
555
490
|
parameterValues: request,
|
|
556
491
|
refCursorAsArray: true,
|
|
557
492
|
};
|
|
558
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
moduleName: ModuleName.Transaction,
|
|
563
|
-
methodName: TransactionMethod.ChangeHeaderPartialDeliveryAllowed,
|
|
493
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
494
|
+
}
|
|
495
|
+
changeHeaderPartialDeliveryAllowed(request) {
|
|
496
|
+
const data = {
|
|
497
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
498
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderPartialDeliveryAllowed,
|
|
564
499
|
parameterValues: request,
|
|
565
500
|
refCursorAsArray: true,
|
|
566
501
|
};
|
|
567
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
moduleName: ModuleName.Transaction,
|
|
572
|
-
methodName: TransactionMethod.ChangeHeaderDeliveryMethod,
|
|
502
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
503
|
+
}
|
|
504
|
+
changeHeaderDeliveryMethod(request) {
|
|
505
|
+
const data = {
|
|
506
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
507
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderDeliveryMethod,
|
|
573
508
|
parameterValues: request,
|
|
574
509
|
refCursorAsArray: true,
|
|
575
510
|
};
|
|
576
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
moduleName: ModuleName.Transaction,
|
|
581
|
-
methodName: TransactionMethod.ChangeHeaderPreferredDeliveryDate,
|
|
511
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
512
|
+
}
|
|
513
|
+
changeHeaderPreferredDeliveryDate(request) {
|
|
514
|
+
const data = {
|
|
515
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
516
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderPreferredDeliveryDate,
|
|
582
517
|
parameterValues: request,
|
|
583
518
|
refCursorAsArray: true,
|
|
584
519
|
};
|
|
585
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
moduleName: ModuleName.Transaction,
|
|
590
|
-
methodName: TransactionMethod.ChangeHeaderToDownPayAmount,
|
|
520
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
521
|
+
}
|
|
522
|
+
changeHeaderToDownPayAmount(request) {
|
|
523
|
+
const data = {
|
|
524
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
525
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderToDownPayAmount,
|
|
591
526
|
parameterValues: request,
|
|
592
527
|
refCursorAsArray: true,
|
|
593
528
|
};
|
|
594
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
moduleName: ModuleName.Transaction,
|
|
599
|
-
methodName: TransactionMethod.ChangeHeaderToDownPayPercentage,
|
|
529
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
530
|
+
}
|
|
531
|
+
changeHeaderToDownPayPercentage(request) {
|
|
532
|
+
const data = {
|
|
533
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
534
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderToDownPayPercentage,
|
|
600
535
|
parameterValues: request,
|
|
601
536
|
refCursorAsArray: true,
|
|
602
537
|
};
|
|
603
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
moduleName: ModuleName.Transaction,
|
|
608
|
-
methodName: TransactionMethod.ChangeHeaderInvoiceAddress,
|
|
538
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
539
|
+
}
|
|
540
|
+
changeHeaderInvoiceAddress(request) {
|
|
541
|
+
const data = {
|
|
542
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
543
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderInvoiceAddress,
|
|
609
544
|
parameterValues: request,
|
|
610
545
|
refCursorAsArray: true,
|
|
611
546
|
};
|
|
612
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
moduleName: ModuleName.Transaction,
|
|
617
|
-
methodName: TransactionMethod.ChangeHeaderTransactionAddress,
|
|
547
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
548
|
+
}
|
|
549
|
+
changeHeaderTransactionAddress(request) {
|
|
550
|
+
const data = {
|
|
551
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
552
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderTransactionAddress,
|
|
618
553
|
parameterValues: request,
|
|
619
554
|
refCursorAsArray: true,
|
|
620
555
|
};
|
|
621
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
moduleName: ModuleName.Transaction,
|
|
626
|
-
methodName: TransactionMethod.ChangeHeaderRemarks,
|
|
556
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
557
|
+
}
|
|
558
|
+
changeHeaderRemarks(request) {
|
|
559
|
+
const data = {
|
|
560
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
561
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderRemarks,
|
|
627
562
|
parameterValues: request,
|
|
628
563
|
refCursorAsArray: true,
|
|
629
564
|
};
|
|
630
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
moduleName: ModuleName.Transaction,
|
|
635
|
-
methodName: TransactionMethod.ChangeHeaderRelationTransactionDate,
|
|
565
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
566
|
+
}
|
|
567
|
+
changeHeaderRelationTransactionDate(request) {
|
|
568
|
+
const data = {
|
|
569
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
570
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderRelationTransactionDate,
|
|
636
571
|
parameterValues: request,
|
|
637
572
|
refCursorAsArray: true,
|
|
638
573
|
};
|
|
639
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
moduleName: ModuleName.Transaction,
|
|
644
|
-
methodName: TransactionMethod.ChangeHeaderOwnReference,
|
|
574
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
575
|
+
}
|
|
576
|
+
changeHeaderOwnReference(request) {
|
|
577
|
+
const data = {
|
|
578
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
579
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderOwnReference,
|
|
645
580
|
parameterValues: request,
|
|
646
581
|
refCursorAsArray: true,
|
|
647
582
|
};
|
|
648
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
moduleName: ModuleName.Transaction,
|
|
653
|
-
methodName: TransactionMethod.ChangeHeaderBranch,
|
|
583
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
584
|
+
}
|
|
585
|
+
changeHeaderBranch(request) {
|
|
586
|
+
const data = {
|
|
587
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
588
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderBranch,
|
|
654
589
|
parameterValues: request,
|
|
655
590
|
refCursorAsArray: true,
|
|
656
591
|
};
|
|
657
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
moduleName: ModuleName.Transaction,
|
|
662
|
-
methodName: TransactionMethod.ChangeHeaderRelationReference,
|
|
592
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
593
|
+
}
|
|
594
|
+
changeHeaderRelationReference(request) {
|
|
595
|
+
const data = {
|
|
596
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
597
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderRelationReference,
|
|
663
598
|
parameterValues: request,
|
|
664
599
|
refCursorAsArray: true,
|
|
665
600
|
};
|
|
666
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
moduleName: ModuleName.Transaction,
|
|
671
|
-
methodName: TransactionMethod.ChangeHeaderPriceKind,
|
|
601
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
602
|
+
}
|
|
603
|
+
changeHeaderPriceKind(request) {
|
|
604
|
+
const data = {
|
|
605
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
606
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderPriceKind,
|
|
672
607
|
parameterValues: request,
|
|
673
608
|
refCursorAsArray: true,
|
|
674
609
|
};
|
|
675
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
moduleName: ModuleName.Transaction,
|
|
680
|
-
methodName: TransactionMethod.ChangeHeaderAdmCoordinator,
|
|
610
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
611
|
+
}
|
|
612
|
+
changeHeaderAdmCoordinator(request) {
|
|
613
|
+
const data = {
|
|
614
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
615
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderAdmCoordinator,
|
|
681
616
|
parameterValues: request,
|
|
682
617
|
refCursorAsArray: true,
|
|
683
618
|
};
|
|
684
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
moduleName: ModuleName.Transaction,
|
|
689
|
-
methodName: TransactionMethod.ChangeHeaderMarketingCode,
|
|
619
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
620
|
+
}
|
|
621
|
+
changeHeaderMarketingCode(request) {
|
|
622
|
+
const data = {
|
|
623
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
624
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderMarketingCode,
|
|
690
625
|
parameterValues: request,
|
|
691
626
|
refCursorAsArray: true,
|
|
692
627
|
};
|
|
693
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
moduleName: ModuleName.Transaction,
|
|
698
|
-
methodName: TransactionMethod.ChangeHeaderCurrency,
|
|
628
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
629
|
+
}
|
|
630
|
+
changeHeaderCurrency(request) {
|
|
631
|
+
const data = {
|
|
632
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
633
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderCurrency,
|
|
699
634
|
parameterValues: request,
|
|
700
635
|
refCursorAsArray: true,
|
|
701
636
|
};
|
|
702
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
moduleName: ModuleName.Transaction,
|
|
707
|
-
methodName: TransactionMethod.ChangeHeaderTransactionDefinitive,
|
|
637
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
638
|
+
}
|
|
639
|
+
changeHeaderTransactionDefinitive(request) {
|
|
640
|
+
const data = {
|
|
641
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
642
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderTransactionDefinitive,
|
|
708
643
|
parameterValues: request,
|
|
709
644
|
refCursorAsArray: true,
|
|
710
645
|
};
|
|
711
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
moduleName: ModuleName.Transaction,
|
|
716
|
-
methodName: TransactionMethod.ChangeHeaderPrintDiscount,
|
|
646
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
647
|
+
}
|
|
648
|
+
changeHeaderPrintDiscount(request) {
|
|
649
|
+
const data = {
|
|
650
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
651
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderPrintDiscount,
|
|
717
652
|
parameterValues: request,
|
|
718
653
|
refCursorAsArray: true,
|
|
719
654
|
};
|
|
720
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
moduleName: ModuleName.Transaction,
|
|
725
|
-
methodName: TransactionMethod.ChangeHeaderReleaseTransaction,
|
|
655
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
656
|
+
}
|
|
657
|
+
changeHeaderReleaseTransaction(request) {
|
|
658
|
+
const data = {
|
|
659
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
660
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderReleaseTransaction,
|
|
726
661
|
parameterValues: request,
|
|
727
662
|
refCursorAsArray: true,
|
|
728
663
|
};
|
|
729
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
moduleName: ModuleName.Transaction,
|
|
734
|
-
methodName: TransactionMethod.ChangeHeaderDontSendOrderForms,
|
|
664
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
665
|
+
}
|
|
666
|
+
changeHeaderDontSendOrderForms(request) {
|
|
667
|
+
const data = {
|
|
668
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
669
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderDontSendOrderForms,
|
|
735
670
|
parameterValues: request,
|
|
736
671
|
refCursorAsArray: true,
|
|
737
672
|
};
|
|
738
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
moduleName: ModuleName.Transaction,
|
|
743
|
-
methodName: TransactionMethod.ChangeHeaderDeliveryOptions,
|
|
673
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
674
|
+
}
|
|
675
|
+
changeHeaderDeliveryOptions(request) {
|
|
676
|
+
const data = {
|
|
677
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
678
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderDeliveryOptions,
|
|
744
679
|
parameterValues: request,
|
|
745
680
|
refCursorAsArray: true,
|
|
746
681
|
};
|
|
747
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
moduleName: ModuleName.Transaction,
|
|
752
|
-
methodName: TransactionMethod.ChangeHeaderOnHoldCodes,
|
|
682
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
683
|
+
}
|
|
684
|
+
changeHeaderOnHoldCodes(request) {
|
|
685
|
+
const data = {
|
|
686
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
687
|
+
methodName: transaction_method_enum_1.TransactionMethod.ChangeHeaderOnHoldCodes,
|
|
753
688
|
parameterValues: request,
|
|
754
689
|
refCursorAsArray: true,
|
|
755
690
|
};
|
|
756
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
moduleName: ModuleName.Transaction,
|
|
761
|
-
methodName: TransactionMethod.SetTransactionDiscounts,
|
|
691
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
692
|
+
}
|
|
693
|
+
setTransactionDiscounts(request) {
|
|
694
|
+
const data = {
|
|
695
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
696
|
+
methodName: transaction_method_enum_1.TransactionMethod.SetTransactionDiscounts,
|
|
762
697
|
parameterValues: request,
|
|
763
698
|
refCursorAsArray: true,
|
|
764
699
|
};
|
|
765
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
moduleName: ModuleName.Transaction,
|
|
770
|
-
methodName: TransactionMethod.ResolveLinePendingReason,
|
|
700
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
701
|
+
}
|
|
702
|
+
resolvePendingLineReason(pendingLineValues) {
|
|
703
|
+
const data = {
|
|
704
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
705
|
+
methodName: transaction_method_enum_1.TransactionMethod.ResolveLinePendingReason,
|
|
771
706
|
parameterValues: pendingLineValues,
|
|
772
707
|
refCursorAsArray: true,
|
|
773
708
|
};
|
|
774
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
moduleName: ModuleName.Transaction,
|
|
779
|
-
methodName: TransactionMethod.ResolveHeaderPendingReason,
|
|
709
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
710
|
+
}
|
|
711
|
+
resolvePendingHeaderReason(pendingHeaderValues) {
|
|
712
|
+
const data = {
|
|
713
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
714
|
+
methodName: transaction_method_enum_1.TransactionMethod.ResolveHeaderPendingReason,
|
|
780
715
|
parameterValues: pendingHeaderValues,
|
|
781
716
|
refCursorAsArray: true,
|
|
782
717
|
};
|
|
783
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
};
|
|
794
|
-
TransactionAuth.prototype.getSupplierFullObject = function (relationNo) {
|
|
795
|
-
var data = {
|
|
796
|
-
moduleName: ModuleName.Relation,
|
|
797
|
-
objectName: RelationObjectName.SupplierFullObject,
|
|
798
|
-
refCursorAsArray: true,
|
|
799
|
-
objectId: relationNo
|
|
800
|
-
};
|
|
801
|
-
return this._call(DataServiceMethod.SelectSingleObject, data);
|
|
802
|
-
};
|
|
803
|
-
TransactionAuth.prototype.getRelationNumber = function (relationId) {
|
|
804
|
-
var params = {
|
|
805
|
-
relationId: relationId
|
|
806
|
-
};
|
|
807
|
-
var data = {
|
|
808
|
-
moduleName: ModuleName.Relation,
|
|
809
|
-
methodName: RelationObjectName.GetRelationNumber,
|
|
718
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
719
|
+
}
|
|
720
|
+
async getSequenceValue(sequenceName, noSequence = false) {
|
|
721
|
+
const params = {
|
|
722
|
+
seqName: sequenceName,
|
|
723
|
+
noSequence: noSequence
|
|
724
|
+
};
|
|
725
|
+
const data = {
|
|
726
|
+
moduleName: module_name_enum_1.ModuleName.General,
|
|
727
|
+
methodName: general_method_enum_1.GeneralMethod.GetSequenceValue,
|
|
810
728
|
parameterValues: params,
|
|
811
729
|
refCursorAsArray: true
|
|
812
730
|
};
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
return [2, response.resultObject];
|
|
837
|
-
}
|
|
838
|
-
else {
|
|
839
|
-
return [2, null];
|
|
840
|
-
}
|
|
841
|
-
return [2];
|
|
842
|
-
}
|
|
843
|
-
});
|
|
844
|
-
});
|
|
845
|
-
};
|
|
846
|
-
TransactionAuth.prototype.getPriceLists = function (code) {
|
|
847
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
848
|
-
var params;
|
|
849
|
-
return __generator(this, function (_a) {
|
|
850
|
-
params = {};
|
|
851
|
-
if (code) {
|
|
852
|
-
params.code = code;
|
|
853
|
-
}
|
|
854
|
-
return [2, this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.PriceList, undefined, params)];
|
|
855
|
-
});
|
|
856
|
-
});
|
|
857
|
-
};
|
|
858
|
-
TransactionAuth.prototype.getVatList = function (onlyValid) {
|
|
859
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
860
|
-
return __generator(this, function (_a) {
|
|
861
|
-
return [2, this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.Vat, onlyValid ? OperationName.AllValidVatRecords : OperationName.AllVatRecords)];
|
|
862
|
-
});
|
|
863
|
-
});
|
|
864
|
-
};
|
|
865
|
-
TransactionAuth.prototype.insertCustomer = function (customer) {
|
|
866
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
867
|
-
var _a, _b, _c, data;
|
|
868
|
-
return __generator(this, function (_d) {
|
|
869
|
-
switch (_d.label) {
|
|
870
|
-
case 0:
|
|
871
|
-
_a = customer;
|
|
872
|
-
_c = (_b = StringUtils).ToStringOrDefault;
|
|
873
|
-
return [4, this.getSequenceValue(SequenceName.RelationId)];
|
|
874
|
-
case 1:
|
|
875
|
-
_a.relationNumber = _c.apply(_b, [_d.sent()]);
|
|
876
|
-
data = {
|
|
877
|
-
moduleName: ModuleName.Relation,
|
|
878
|
-
objectName: RelationObjectName.CustomerFullObject,
|
|
879
|
-
methodName: DataServiceMethod.InsertObject,
|
|
880
|
-
object: this._boSerializer.prepareBusinessObjectForSend(customer),
|
|
881
|
-
};
|
|
882
|
-
return [2, this._call(DataServiceMethod.InsertObject, data)];
|
|
883
|
-
}
|
|
884
|
-
});
|
|
885
|
-
});
|
|
886
|
-
};
|
|
887
|
-
TransactionAuth.prototype.updateCustomer = function (customer) {
|
|
888
|
-
var data = {
|
|
889
|
-
moduleName: ModuleName.Relation,
|
|
890
|
-
objectName: RelationObjectName.CustomerFullObject,
|
|
891
|
-
methodName: DataServiceMethod.UpdateObject,
|
|
892
|
-
object: this._boSerializer.prepareBusinessObjectForSend(customer),
|
|
893
|
-
};
|
|
894
|
-
return this._call(DataServiceMethod.UpdateObject, data);
|
|
895
|
-
};
|
|
896
|
-
TransactionAuth.prototype.getDeliveryMethods = function () {
|
|
897
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.DeliveryMethod, OperationName.GetAll);
|
|
898
|
-
};
|
|
899
|
-
TransactionAuth.prototype.getDeliveryOptions = function (method) {
|
|
900
|
-
var params = {};
|
|
731
|
+
const response = await this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
732
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
733
|
+
return response.resultObject;
|
|
734
|
+
}
|
|
735
|
+
else {
|
|
736
|
+
return null;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
async getPriceLists(code) {
|
|
740
|
+
const params = {};
|
|
741
|
+
if (code) {
|
|
742
|
+
params.code = code;
|
|
743
|
+
}
|
|
744
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.PriceList, undefined, params);
|
|
745
|
+
}
|
|
746
|
+
async getVatList(onlyValid) {
|
|
747
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.Vat, onlyValid ? operation_name_enum_1.OperationName.AllValidVatRecords : operation_name_enum_1.OperationName.AllVatRecords);
|
|
748
|
+
}
|
|
749
|
+
getDeliveryMethods() {
|
|
750
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.DeliveryMethod, operation_name_enum_1.OperationName.GetAll);
|
|
751
|
+
}
|
|
752
|
+
getDeliveryOptions(method) {
|
|
753
|
+
const params = {};
|
|
901
754
|
if (method) {
|
|
902
755
|
params.deliveryMethod = method;
|
|
903
756
|
}
|
|
904
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.DeliveryOption, undefined, params);
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
|
|
757
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.DeliveryOption, undefined, params);
|
|
758
|
+
}
|
|
759
|
+
getPostalCodeRetrieval(postalCode, houseNumber) {
|
|
760
|
+
const params = {
|
|
908
761
|
postalCode: postalCode,
|
|
909
762
|
houseNumber: houseNumber
|
|
910
763
|
};
|
|
911
|
-
|
|
912
|
-
moduleName: ModuleName.Relation,
|
|
913
|
-
methodName: GeneralMethod.PostalCodeRetrieval,
|
|
764
|
+
const data = {
|
|
765
|
+
moduleName: module_name_enum_1.ModuleName.Relation,
|
|
766
|
+
methodName: general_method_enum_1.GeneralMethod.PostalCodeRetrieval,
|
|
914
767
|
parameterValues: params,
|
|
915
768
|
refCursorAsArray: true
|
|
916
769
|
};
|
|
917
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
};
|
|
922
|
-
TransactionAuth.prototype.setRelationByUser = function (uuid, username, password) {
|
|
923
|
-
var paramValues = {
|
|
770
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
771
|
+
}
|
|
772
|
+
setRelationByUser(uuid, username, password) {
|
|
773
|
+
const paramValues = {
|
|
924
774
|
uuid: uuid,
|
|
925
775
|
username: username,
|
|
926
776
|
password: password
|
|
927
777
|
};
|
|
928
|
-
|
|
929
|
-
moduleName: ModuleName.Transaction,
|
|
930
|
-
methodName: TransactionMethod.SetRelationByUser,
|
|
778
|
+
const data = {
|
|
779
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
780
|
+
methodName: transaction_method_enum_1.TransactionMethod.SetRelationByUser,
|
|
931
781
|
parameterValues: paramValues,
|
|
932
782
|
refCursorAsArray: true
|
|
933
783
|
};
|
|
934
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
784
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
785
|
+
}
|
|
786
|
+
createOutstandingEntry(request) {
|
|
787
|
+
const params = {
|
|
938
788
|
transUUID: request.transUUID,
|
|
939
789
|
amount: request.amount
|
|
940
790
|
};
|
|
941
|
-
|
|
942
|
-
moduleName: ModuleName.Accounting,
|
|
943
|
-
methodName: PaymentMethod.CreateOutstandingEntry,
|
|
791
|
+
const data = {
|
|
792
|
+
moduleName: module_name_enum_1.ModuleName.Accounting,
|
|
793
|
+
methodName: payment_method_enum_1.PaymentMethod.CreateOutstandingEntry,
|
|
944
794
|
parameterValues: params,
|
|
945
795
|
refCursorAsArray: true
|
|
946
796
|
};
|
|
947
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
|
|
797
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
798
|
+
}
|
|
799
|
+
registerSalesOrderPayment(request) {
|
|
800
|
+
const params = {
|
|
951
801
|
transUUID: request.transUUID,
|
|
952
802
|
amount: request.amount,
|
|
953
803
|
currencyId: request.currencyId,
|
|
954
804
|
paymentMethodCode: request.paymentMethodCode,
|
|
955
805
|
cashRegisterGroupId: request.cashRegisterGroupId
|
|
956
806
|
};
|
|
957
|
-
|
|
958
|
-
moduleName: ModuleName.Accounting,
|
|
959
|
-
methodName: PaymentMethod.RegisterSalesOrderPayment,
|
|
807
|
+
const data = {
|
|
808
|
+
moduleName: module_name_enum_1.ModuleName.Accounting,
|
|
809
|
+
methodName: payment_method_enum_1.PaymentMethod.RegisterSalesOrderPayment,
|
|
960
810
|
parameterValues: params,
|
|
961
811
|
refCursorAsArray: true
|
|
962
812
|
};
|
|
963
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
|
|
813
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
814
|
+
}
|
|
815
|
+
createIonePaymentLinkAndQRCode(request) {
|
|
816
|
+
const params = {
|
|
967
817
|
transUUID: request.transUUID,
|
|
968
818
|
amount: request.amount,
|
|
969
819
|
paymentMethodCode: request.paymentMethodCode
|
|
970
820
|
};
|
|
971
|
-
|
|
972
|
-
moduleName: ModuleName.Accounting,
|
|
973
|
-
methodName: PaymentMethod.CreateIonePaymentLinkAndQRCode,
|
|
821
|
+
const data = {
|
|
822
|
+
moduleName: module_name_enum_1.ModuleName.Accounting,
|
|
823
|
+
methodName: payment_method_enum_1.PaymentMethod.CreateIonePaymentLinkAndQRCode,
|
|
974
824
|
parameterValues: params,
|
|
975
825
|
refCursorAsArray: true
|
|
976
826
|
};
|
|
977
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
|
|
827
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
828
|
+
}
|
|
829
|
+
getPaymentLinkStatus(paymentLinkUUID) {
|
|
830
|
+
const params = {
|
|
981
831
|
paymentLinkUUID: paymentLinkUUID
|
|
982
832
|
};
|
|
983
|
-
|
|
984
|
-
moduleName: ModuleName.Accounting,
|
|
985
|
-
methodName: PaymentMethod.GetPaymentLinkStatus,
|
|
833
|
+
const data = {
|
|
834
|
+
moduleName: module_name_enum_1.ModuleName.Accounting,
|
|
835
|
+
methodName: payment_method_enum_1.PaymentMethod.GetPaymentLinkStatus,
|
|
986
836
|
parameterValues: params,
|
|
987
837
|
refCursorAsArray: true
|
|
988
838
|
};
|
|
989
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
|
|
839
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
840
|
+
}
|
|
841
|
+
getDownPaymentInfo(uuid) {
|
|
842
|
+
const params = {
|
|
993
843
|
transactionUUID: uuid
|
|
994
844
|
};
|
|
995
|
-
|
|
996
|
-
moduleName: ModuleName.Accounting,
|
|
997
|
-
methodName: PaymentMethod.GetDownPaymentInfo,
|
|
845
|
+
const data = {
|
|
846
|
+
moduleName: module_name_enum_1.ModuleName.Accounting,
|
|
847
|
+
methodName: payment_method_enum_1.PaymentMethod.GetDownPaymentInfo,
|
|
998
848
|
parameterValues: params,
|
|
999
849
|
refCursorAsArray: true
|
|
1000
850
|
};
|
|
1001
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
return this.selectMultiple(ModuleName.MasterData, MasterDataObjectName.PaymentMethod);
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
moduleName: ModuleName.MasterData,
|
|
1009
|
-
methodName: PaymentMethod.GetPaymentMethodsForSalesOrder,
|
|
851
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
852
|
+
}
|
|
853
|
+
getPaymentMethods() {
|
|
854
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.MasterData, master_data_object_name_enum_1.MasterDataObjectName.PaymentMethod);
|
|
855
|
+
}
|
|
856
|
+
getPaymentMethodsForSalesOrder() {
|
|
857
|
+
const data = {
|
|
858
|
+
moduleName: module_name_enum_1.ModuleName.MasterData,
|
|
859
|
+
methodName: payment_method_enum_1.PaymentMethod.GetPaymentMethodsForSalesOrder,
|
|
1010
860
|
parameterValues: {},
|
|
1011
861
|
refCursorAsArray: true
|
|
1012
862
|
};
|
|
1013
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
|
|
863
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
864
|
+
}
|
|
865
|
+
getGoodsReceiptStatusWithHistory(transId, lineNr) {
|
|
866
|
+
const paramValues = {
|
|
1017
867
|
transId: transId,
|
|
1018
868
|
lineNr: lineNr
|
|
1019
869
|
};
|
|
1020
|
-
|
|
1021
|
-
moduleName: ModuleName.Transaction,
|
|
1022
|
-
methodName: TransactionMethod.GetGoodsReceiptStatusWithHistory,
|
|
870
|
+
const data = {
|
|
871
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
872
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetGoodsReceiptStatusWithHistory,
|
|
1023
873
|
parameterValues: paramValues,
|
|
1024
874
|
refCursorAsArray: true
|
|
1025
875
|
};
|
|
1026
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
|
|
876
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
877
|
+
}
|
|
878
|
+
getGoodsReceiptStatus(transId, lineNr) {
|
|
879
|
+
const paramValues = {
|
|
1030
880
|
transId: transId,
|
|
1031
881
|
lineNr: lineNr
|
|
1032
882
|
};
|
|
1033
|
-
|
|
1034
|
-
moduleName: ModuleName.Transaction,
|
|
1035
|
-
methodName: TransactionMethod.GetGoodsReceiptStatus,
|
|
883
|
+
const data = {
|
|
884
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
885
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetGoodsReceiptStatus,
|
|
1036
886
|
parameterValues: paramValues,
|
|
1037
887
|
refCursorAsArray: true
|
|
1038
888
|
};
|
|
1039
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
889
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
890
|
+
}
|
|
891
|
+
getDeliveryOrderStatus(transId, lineNr) {
|
|
892
|
+
const paramValues = {
|
|
1043
893
|
transId: transId,
|
|
1044
894
|
lineNr: lineNr
|
|
1045
895
|
};
|
|
1046
|
-
|
|
1047
|
-
moduleName: ModuleName.Transaction,
|
|
1048
|
-
methodName: TransactionMethod.GetDeliveryOrderStatus,
|
|
896
|
+
const data = {
|
|
897
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
898
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetDeliveryOrderStatus,
|
|
1049
899
|
parameterValues: paramValues,
|
|
1050
900
|
refCursorAsArray: true
|
|
1051
901
|
};
|
|
1052
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
moduleName: ModuleName.Logistics,
|
|
1057
|
-
methodName: TransactionMethod.ReceiveGoodsForPurchaseOrder,
|
|
902
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
903
|
+
}
|
|
904
|
+
receiveGoodsForPurchaseOrder(request) {
|
|
905
|
+
const data = {
|
|
906
|
+
moduleName: module_name_enum_1.ModuleName.Logistics,
|
|
907
|
+
methodName: transaction_method_enum_1.TransactionMethod.ReceiveGoodsForPurchaseOrder,
|
|
1058
908
|
parameterValues: request,
|
|
1059
909
|
refCursorAsArray: true
|
|
1060
910
|
};
|
|
1061
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
moduleName: ModuleName.Logistics,
|
|
1066
|
-
methodName: TransactionMethod.ReceiveGoodsForPurchaseOrderCorrection,
|
|
911
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
912
|
+
}
|
|
913
|
+
receiveGoodsForPurchaseOrderCorrection(request) {
|
|
914
|
+
const data = {
|
|
915
|
+
moduleName: module_name_enum_1.ModuleName.Logistics,
|
|
916
|
+
methodName: transaction_method_enum_1.TransactionMethod.ReceiveGoodsForPurchaseOrderCorrection,
|
|
1067
917
|
parameterValues: request,
|
|
1068
918
|
refCursorAsArray: true
|
|
1069
919
|
};
|
|
1070
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
|
|
920
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
921
|
+
}
|
|
922
|
+
getPurchasePortalLines(purchasePortalLine) {
|
|
923
|
+
const params = {
|
|
1074
924
|
transIdPurchase: purchasePortalLine.transIdPurchase,
|
|
1075
925
|
selOrdered: purchasePortalLine.selOrdered,
|
|
1076
926
|
selPurchaseResp: purchasePortalLine.selPurchaseResp,
|
|
@@ -1083,329 +933,257 @@ var TransactionAuth = (function (_super) {
|
|
|
1083
933
|
filterObject: purchasePortalLine.filterObject,
|
|
1084
934
|
containerId: purchasePortalLine.containerId,
|
|
1085
935
|
};
|
|
1086
|
-
return this.selectMultiple(ModuleName.PurchasePortal, PurchasePortal.PurchaseOrderLine, "", params);
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
|
|
936
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.PurchasePortal, purchase_portal_object_name_enum_1.PurchasePortal.PurchaseOrderLine, "", params);
|
|
937
|
+
}
|
|
938
|
+
getPurchaseOrderConfirmation(purchaseOrderConfirmation) {
|
|
939
|
+
const params = {
|
|
1090
940
|
transId: purchaseOrderConfirmation.transId,
|
|
1091
941
|
confirmationDate: purchaseOrderConfirmation.confirmationDate,
|
|
1092
942
|
reference: purchaseOrderConfirmation.reference,
|
|
1093
943
|
leverBatch: purchaseOrderConfirmation.leverbatch
|
|
1094
944
|
};
|
|
1095
|
-
|
|
1096
|
-
moduleName: ModuleName.PurchasePortal,
|
|
1097
|
-
methodName: PurchasePortal.PurchaseOrderConfirmation,
|
|
945
|
+
const data = {
|
|
946
|
+
moduleName: module_name_enum_1.ModuleName.PurchasePortal,
|
|
947
|
+
methodName: purchase_portal_object_name_enum_1.PurchasePortal.PurchaseOrderConfirmation,
|
|
1098
948
|
parameterValues: params,
|
|
1099
949
|
refCursorAsArray: true
|
|
1100
950
|
};
|
|
1101
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
moduleName: ModuleName.PurchasePortal,
|
|
1106
|
-
objectName: PurchasePortal.PurchaseOrderLine,
|
|
951
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
952
|
+
}
|
|
953
|
+
updatePurchasePortalLines(purchasePortalLine) {
|
|
954
|
+
const data = {
|
|
955
|
+
moduleName: module_name_enum_1.ModuleName.PurchasePortal,
|
|
956
|
+
objectName: purchase_portal_object_name_enum_1.PurchasePortal.PurchaseOrderLine,
|
|
1107
957
|
refCursorAsArray: true,
|
|
1108
958
|
object: purchasePortalLine
|
|
1109
959
|
};
|
|
1110
|
-
return this._call(DataServiceMethod.UpdateObject, data);
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
|
|
960
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.UpdateObject, data);
|
|
961
|
+
}
|
|
962
|
+
lockTransactionByTransId(transId, transactionVersion) {
|
|
963
|
+
const params = {
|
|
1114
964
|
transId: transId,
|
|
1115
965
|
transactionVersion: transactionVersion
|
|
1116
966
|
};
|
|
1117
|
-
|
|
1118
|
-
moduleName: ModuleName.Transaction,
|
|
1119
|
-
methodName: TransactionMethod.LockTransactionByTransId,
|
|
967
|
+
const data = {
|
|
968
|
+
moduleName: module_name_enum_1.ModuleName.Transaction,
|
|
969
|
+
methodName: transaction_method_enum_1.TransactionMethod.LockTransactionByTransId,
|
|
1120
970
|
parameterValues: params,
|
|
1121
971
|
refCursorAsArray: true,
|
|
1122
972
|
};
|
|
1123
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
customerId: relationNr
|
|
1128
|
-
};
|
|
1129
|
-
var data = {
|
|
1130
|
-
moduleName: ModuleName.Relation,
|
|
1131
|
-
objectName: RelationObjectName.CustomerFullObject,
|
|
1132
|
-
objectId: params,
|
|
1133
|
-
refCursorAsArray: true,
|
|
1134
|
-
};
|
|
1135
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1136
|
-
};
|
|
1137
|
-
TransactionAuth.prototype.lockSupplierById = function (relationNr) {
|
|
1138
|
-
var params = {
|
|
1139
|
-
customerId: relationNr
|
|
1140
|
-
};
|
|
1141
|
-
var data = {
|
|
1142
|
-
moduleName: ModuleName.Relation,
|
|
1143
|
-
objectName: RelationObjectName.SupplierFullObject,
|
|
1144
|
-
objectId: params,
|
|
1145
|
-
refCursorAsArray: true,
|
|
1146
|
-
};
|
|
1147
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1148
|
-
};
|
|
1149
|
-
TransactionAuth.prototype.lockEmployeeById = function (relationNr) {
|
|
1150
|
-
var params = {
|
|
1151
|
-
customerId: relationNr
|
|
1152
|
-
};
|
|
1153
|
-
var data = {
|
|
1154
|
-
moduleName: ModuleName.Relation,
|
|
1155
|
-
objectName: RelationObjectName.EmployeeFullObject,
|
|
1156
|
-
objectId: params,
|
|
1157
|
-
refCursorAsArray: true,
|
|
1158
|
-
};
|
|
1159
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1160
|
-
};
|
|
1161
|
-
TransactionAuth.prototype.lockBranchById = function (relationNr) {
|
|
1162
|
-
var params = {
|
|
1163
|
-
customerId: relationNr
|
|
1164
|
-
};
|
|
1165
|
-
var data = {
|
|
1166
|
-
moduleName: ModuleName.Relation,
|
|
1167
|
-
objectName: RelationObjectName.BranchFullObject,
|
|
1168
|
-
objectId: params,
|
|
1169
|
-
refCursorAsArray: true,
|
|
1170
|
-
};
|
|
1171
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1172
|
-
};
|
|
1173
|
-
TransactionAuth.prototype.lockCompanyById = function (relationNr) {
|
|
1174
|
-
var params = {
|
|
1175
|
-
customerId: relationNr
|
|
1176
|
-
};
|
|
1177
|
-
var data = {
|
|
1178
|
-
moduleName: ModuleName.Relation,
|
|
1179
|
-
objectName: RelationObjectName.CompanyFullObject,
|
|
1180
|
-
objectId: params,
|
|
1181
|
-
refCursorAsArray: true,
|
|
1182
|
-
};
|
|
1183
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1184
|
-
};
|
|
1185
|
-
TransactionAuth.prototype.lockContactPersonById = function (relationNr) {
|
|
1186
|
-
var params = {
|
|
1187
|
-
customerId: relationNr
|
|
1188
|
-
};
|
|
1189
|
-
var data = {
|
|
1190
|
-
moduleName: ModuleName.Relation,
|
|
1191
|
-
objectName: RelationObjectName.ContactPerson,
|
|
1192
|
-
objectId: params,
|
|
1193
|
-
refCursorAsArray: true,
|
|
1194
|
-
};
|
|
1195
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1196
|
-
};
|
|
1197
|
-
TransactionAuth.prototype.generateCommissionOrders = function (transId, onlyGenerateForDirectSellSuppliers) {
|
|
1198
|
-
var params = {
|
|
973
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
974
|
+
}
|
|
975
|
+
generateCommissionOrders(transId, onlyGenerateForDirectSellSuppliers) {
|
|
976
|
+
const params = {
|
|
1199
977
|
transIdSales: transId,
|
|
1200
978
|
onlyGenerateForDirectSellSuppliers: onlyGenerateForDirectSellSuppliers
|
|
1201
979
|
};
|
|
1202
|
-
|
|
1203
|
-
moduleName: ModuleName.PurchaseAdvice,
|
|
1204
|
-
methodName: PurchaseAdviceMethod.GenerateCommissionOrders,
|
|
980
|
+
const data = {
|
|
981
|
+
moduleName: module_name_enum_1.ModuleName.PurchaseAdvice,
|
|
982
|
+
methodName: purchase_advice_method_enum_1.PurchaseAdviceMethod.GenerateCommissionOrders,
|
|
1205
983
|
parameterValues: params,
|
|
1206
984
|
refCursorAsArray: true,
|
|
1207
985
|
};
|
|
1208
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
|
|
986
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
987
|
+
}
|
|
988
|
+
lockPurchasePortalLines(transIdPurchase, lineId) {
|
|
989
|
+
const params = {
|
|
1212
990
|
transIdPurchase: transIdPurchase,
|
|
1213
991
|
lineId: lineId
|
|
1214
992
|
};
|
|
1215
|
-
|
|
1216
|
-
moduleName: ModuleName.PurchasePortal,
|
|
1217
|
-
objectName: PurchasePortal.PurchaseOrderLine,
|
|
993
|
+
const data = {
|
|
994
|
+
moduleName: module_name_enum_1.ModuleName.PurchasePortal,
|
|
995
|
+
objectName: purchase_portal_object_name_enum_1.PurchasePortal.PurchaseOrderLine,
|
|
1218
996
|
refCursorAsArray: true,
|
|
1219
997
|
parameterValues: params
|
|
1220
998
|
};
|
|
1221
|
-
return this._call(DataServiceMethod.LockObject, data);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
moduleName: ModuleName.PurchasePortal,
|
|
1226
|
-
objectName: PurchasePortal.PurchaseOrderLine,
|
|
999
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.LockObject, data);
|
|
1000
|
+
}
|
|
1001
|
+
deletePurchasePortalLines(request) {
|
|
1002
|
+
const data = {
|
|
1003
|
+
moduleName: module_name_enum_1.ModuleName.PurchasePortal,
|
|
1004
|
+
objectName: purchase_portal_object_name_enum_1.PurchasePortal.PurchaseOrderLine,
|
|
1227
1005
|
refCursorAsArray: true,
|
|
1228
1006
|
parameterValues: request
|
|
1229
1007
|
};
|
|
1230
|
-
return this._call(DataServiceMethod.InsertObject, data);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1008
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.InsertObject, data);
|
|
1009
|
+
}
|
|
1010
|
+
getPurchaseAdviceLines(filters, goodId) {
|
|
1011
|
+
const params = {
|
|
1234
1012
|
filterObject: filters,
|
|
1235
1013
|
goodId: goodId
|
|
1236
1014
|
};
|
|
1237
|
-
return this.selectMultiple(ModuleName.PurchaseAdvice, PurchaseAdviceObjectName.PurchaseAdviceLine, undefined, params);
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1015
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.PurchaseAdvice, purchase_advice_object_name_enum_1.PurchaseAdviceObjectName.PurchaseAdviceLine, undefined, params);
|
|
1016
|
+
}
|
|
1017
|
+
generatePurchaseOrders(purchaseAdviceLines) {
|
|
1018
|
+
const paramValues = {
|
|
1241
1019
|
selectionList: purchaseAdviceLines
|
|
1242
1020
|
};
|
|
1243
|
-
|
|
1244
|
-
moduleName: ModuleName.PurchaseAdvice,
|
|
1245
|
-
methodName: PurchaseAdviceMethod.GeneratePurchaseOrders,
|
|
1021
|
+
const data = {
|
|
1022
|
+
moduleName: module_name_enum_1.ModuleName.PurchaseAdvice,
|
|
1023
|
+
methodName: purchase_advice_method_enum_1.PurchaseAdviceMethod.GeneratePurchaseOrders,
|
|
1246
1024
|
parameterValues: paramValues,
|
|
1247
1025
|
refCursorAsArray: true
|
|
1248
1026
|
};
|
|
1249
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1027
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1028
|
+
}
|
|
1029
|
+
generateAndSendPurchaseOrders(purchaseAdviceLines) {
|
|
1030
|
+
const paramValues = {
|
|
1253
1031
|
selectionList: purchaseAdviceLines
|
|
1254
1032
|
};
|
|
1255
|
-
|
|
1256
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1257
|
-
methodName: PurchaseAdviceMethod.GenerateAndSendPurchaseOrders,
|
|
1033
|
+
const data = {
|
|
1034
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1035
|
+
methodName: purchase_advice_method_enum_1.PurchaseAdviceMethod.GenerateAndSendPurchaseOrders,
|
|
1258
1036
|
parameterValues: paramValues,
|
|
1259
1037
|
refCursorAsArray: true
|
|
1260
1038
|
};
|
|
1261
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
|
|
1039
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1040
|
+
}
|
|
1041
|
+
printDeliveryNote(request) {
|
|
1042
|
+
const paramValues = {
|
|
1265
1043
|
request: request
|
|
1266
1044
|
};
|
|
1267
|
-
|
|
1268
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1269
|
-
methodName: ReportingMethod.PrintDeliveryNote,
|
|
1045
|
+
const data = {
|
|
1046
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1047
|
+
methodName: reporting_method_enum_1.ReportingMethod.PrintDeliveryNote,
|
|
1270
1048
|
parameterValues: paramValues,
|
|
1271
1049
|
refCursorAsArray: true
|
|
1272
1050
|
};
|
|
1273
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1051
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1052
|
+
}
|
|
1053
|
+
emailDeliveryNote(request) {
|
|
1054
|
+
const paramValues = {
|
|
1277
1055
|
request: request
|
|
1278
1056
|
};
|
|
1279
|
-
|
|
1280
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1281
|
-
methodName: ReportingMethod.EmailDeliveryNote,
|
|
1057
|
+
const data = {
|
|
1058
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1059
|
+
methodName: reporting_method_enum_1.ReportingMethod.EmailDeliveryNote,
|
|
1282
1060
|
parameterValues: paramValues,
|
|
1283
1061
|
refCursorAsArray: true
|
|
1284
1062
|
};
|
|
1285
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1063
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1064
|
+
}
|
|
1065
|
+
pdfDeliveryNote(request) {
|
|
1066
|
+
const paramValues = {
|
|
1289
1067
|
request: request
|
|
1290
1068
|
};
|
|
1291
|
-
|
|
1292
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1293
|
-
methodName: ReportingMethod.PdfDeliveryNote,
|
|
1069
|
+
const data = {
|
|
1070
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1071
|
+
methodName: reporting_method_enum_1.ReportingMethod.PdfDeliveryNote,
|
|
1294
1072
|
parameterValues: paramValues,
|
|
1295
1073
|
refCursorAsArray: true
|
|
1296
1074
|
};
|
|
1297
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1075
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1076
|
+
}
|
|
1077
|
+
getDeliveryNoteEmailLayouts(transactionUUID) {
|
|
1078
|
+
const paramValues = {
|
|
1301
1079
|
transactionUUID: transactionUUID
|
|
1302
1080
|
};
|
|
1303
|
-
|
|
1304
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1305
|
-
methodName: ReportingMethod.GetDeliveryNoteEmailLayouts,
|
|
1081
|
+
const data = {
|
|
1082
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1083
|
+
methodName: reporting_method_enum_1.ReportingMethod.GetDeliveryNoteEmailLayouts,
|
|
1306
1084
|
parameterValues: paramValues,
|
|
1307
1085
|
refCursorAsArray: true
|
|
1308
1086
|
};
|
|
1309
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1087
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1088
|
+
}
|
|
1089
|
+
getDeliveryNotePrintLayouts(transactionUUID) {
|
|
1090
|
+
const paramValues = {
|
|
1313
1091
|
transactionUUID: transactionUUID
|
|
1314
1092
|
};
|
|
1315
|
-
|
|
1316
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1317
|
-
methodName: ReportingMethod.GetDeliveryNotePrintLayouts,
|
|
1093
|
+
const data = {
|
|
1094
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1095
|
+
methodName: reporting_method_enum_1.ReportingMethod.GetDeliveryNotePrintLayouts,
|
|
1318
1096
|
parameterValues: paramValues,
|
|
1319
1097
|
refCursorAsArray: true
|
|
1320
1098
|
};
|
|
1321
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
|
|
1099
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1100
|
+
}
|
|
1101
|
+
getOrderConfirmationDefaultSendMethod(relationId) {
|
|
1102
|
+
const params = {
|
|
1325
1103
|
relationId: relationId
|
|
1326
1104
|
};
|
|
1327
|
-
|
|
1328
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1329
|
-
methodName: PrintServiceMethod.GetOrderConfirmationDefaultSendMethod,
|
|
1105
|
+
const data = {
|
|
1106
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1107
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetOrderConfirmationDefaultSendMethod,
|
|
1330
1108
|
refCursorAsArray: true,
|
|
1331
1109
|
parameterValues: params
|
|
1332
1110
|
};
|
|
1333
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
|
|
1111
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1112
|
+
}
|
|
1113
|
+
getPurchaseOrderDefaultSendMethod(relationId) {
|
|
1114
|
+
const params = {
|
|
1337
1115
|
relationId: relationId
|
|
1338
1116
|
};
|
|
1339
|
-
|
|
1340
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1341
|
-
methodName: PrintServiceMethod.GetPurchaseOrderDefaultSendMethod,
|
|
1117
|
+
const data = {
|
|
1118
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1119
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetPurchaseOrderDefaultSendMethod,
|
|
1342
1120
|
refCursorAsArray: true,
|
|
1343
1121
|
parameterValues: params
|
|
1344
1122
|
};
|
|
1345
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
|
|
1123
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1124
|
+
}
|
|
1125
|
+
getReminderPurchaseOrderDefaultSendMethod(relationId) {
|
|
1126
|
+
const params = {
|
|
1349
1127
|
relationId: relationId
|
|
1350
1128
|
};
|
|
1351
|
-
|
|
1352
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1353
|
-
methodName: PrintServiceMethod.GetReminderPurchaseOrderDefaultSendMethod,
|
|
1129
|
+
const data = {
|
|
1130
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1131
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetReminderPurchaseOrderDefaultSendMethod,
|
|
1354
1132
|
refCursorAsArray: true,
|
|
1355
1133
|
parameterValues: params
|
|
1356
1134
|
};
|
|
1357
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
|
|
1135
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1136
|
+
}
|
|
1137
|
+
getDemandingDeliveryDefaultSendMethod(relationId) {
|
|
1138
|
+
const params = {
|
|
1361
1139
|
relationId: relationId
|
|
1362
1140
|
};
|
|
1363
|
-
|
|
1364
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1365
|
-
methodName: PrintServiceMethod.GetDemandingDeliveryDefaultSendMethod,
|
|
1141
|
+
const data = {
|
|
1142
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1143
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetDemandingDeliveryDefaultSendMethod,
|
|
1366
1144
|
refCursorAsArray: true,
|
|
1367
1145
|
parameterValues: params
|
|
1368
1146
|
};
|
|
1369
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1147
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1148
|
+
}
|
|
1149
|
+
getDeliveryNoteDefaultSendMethod(relationId) {
|
|
1150
|
+
const params = {
|
|
1373
1151
|
relationId: relationId
|
|
1374
1152
|
};
|
|
1375
|
-
|
|
1376
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1377
|
-
methodName: PrintServiceMethod.GetDeliveryNoteDefaultSendMethod,
|
|
1153
|
+
const data = {
|
|
1154
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1155
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetDeliveryNoteDefaultSendMethod,
|
|
1378
1156
|
refCursorAsArray: true,
|
|
1379
1157
|
parameterValues: params
|
|
1380
1158
|
};
|
|
1381
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
|
|
1159
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1160
|
+
}
|
|
1161
|
+
getDefaultEmailAddressListForOrderConfirmation(transactionUUID) {
|
|
1162
|
+
const params = {
|
|
1385
1163
|
transactionUUID: transactionUUID
|
|
1386
1164
|
};
|
|
1387
|
-
|
|
1388
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1389
|
-
methodName: PrintServiceMethod.GetDefaultEmailAddressListForOrderConfirmation,
|
|
1165
|
+
const data = {
|
|
1166
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1167
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetDefaultEmailAddressListForOrderConfirmation,
|
|
1390
1168
|
refCursorAsArray: true,
|
|
1391
1169
|
parameterValues: params
|
|
1392
1170
|
};
|
|
1393
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
|
|
1171
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1172
|
+
}
|
|
1173
|
+
getPurchaseOrderEmailLayouts(transactionUUID) {
|
|
1174
|
+
const params = {
|
|
1397
1175
|
transactionUUID: transactionUUID
|
|
1398
1176
|
};
|
|
1399
|
-
|
|
1400
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1401
|
-
methodName: PrintServiceMethod.GetPurchaseOrderEmailLayouts,
|
|
1177
|
+
const data = {
|
|
1178
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1179
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.GetPurchaseOrderEmailLayouts,
|
|
1402
1180
|
refCursorAsArray: true,
|
|
1403
1181
|
parameterValues: params
|
|
1404
1182
|
};
|
|
1405
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1183
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1184
|
+
}
|
|
1185
|
+
printOrderConfirmation(printOrderConfirmation) {
|
|
1186
|
+
const params = {
|
|
1409
1187
|
printerName: printOrderConfirmation.printerName,
|
|
1410
1188
|
saveDefaultPrinterForUser: printOrderConfirmation.saveDefaultPrinterForUser,
|
|
1411
1189
|
saveDefaultPrinterForAllUsers: printOrderConfirmation.saveDefaultPrinterForAllUsers,
|
|
@@ -1413,56 +1191,56 @@ var TransactionAuth = (function (_super) {
|
|
|
1413
1191
|
transId: printOrderConfirmation.transId,
|
|
1414
1192
|
reportId: printOrderConfirmation.reportId,
|
|
1415
1193
|
};
|
|
1416
|
-
|
|
1417
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1418
|
-
methodName: PrintServiceMethod.PrintOrderConfirmation,
|
|
1194
|
+
const data = {
|
|
1195
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1196
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.PrintOrderConfirmation,
|
|
1419
1197
|
refCursorAsArray: true,
|
|
1420
1198
|
parameterValues: params
|
|
1421
1199
|
};
|
|
1422
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1427
|
-
methodName: PrintServiceMethod.EmailOrderConfirmation,
|
|
1200
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1201
|
+
}
|
|
1202
|
+
emailOrderConfirmation(emailOrderConfirmation) {
|
|
1203
|
+
const data = {
|
|
1204
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1205
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.EmailOrderConfirmation,
|
|
1428
1206
|
refCursorAsArray: true,
|
|
1429
1207
|
parameterValues: emailOrderConfirmation
|
|
1430
1208
|
};
|
|
1431
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
moduleName: ModuleName.ReportingDocuments,
|
|
1436
|
-
methodName: PrintServiceMethod.PdfOrderConfirmation,
|
|
1209
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1210
|
+
}
|
|
1211
|
+
pdfOrderConfirmation(pdfOrderConfirmation) {
|
|
1212
|
+
const data = {
|
|
1213
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
1214
|
+
methodName: print_service_method_enum_1.PrintServiceMethod.PdfOrderConfirmation,
|
|
1437
1215
|
refCursorAsArray: true,
|
|
1438
1216
|
parameterValues: pdfOrderConfirmation
|
|
1439
1217
|
};
|
|
1440
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1218
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1219
|
+
}
|
|
1220
|
+
_getDomainCollection(languageCode, domainName) {
|
|
1221
|
+
const params = {
|
|
1444
1222
|
domainName: domainName,
|
|
1445
1223
|
language: languageCode
|
|
1446
1224
|
};
|
|
1447
|
-
return this.selectMultiple(ModuleName.General, MasterDataObjectName.CoDomainValue, "", params);
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
|
|
1225
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.General, master_data_object_name_enum_1.MasterDataObjectName.CoDomainValue, "", params);
|
|
1226
|
+
}
|
|
1227
|
+
_getMultipleDomainCollection(languageCode, domainName) {
|
|
1228
|
+
const params = {
|
|
1451
1229
|
domainName: domainName,
|
|
1452
1230
|
language: languageCode
|
|
1453
1231
|
};
|
|
1454
|
-
return this.selectMultiple(ModuleName.General, MasterDataObjectName.CoMultipleValue, "", params);
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
moduleName: ModuleName.Articles,
|
|
1459
|
-
methodName: ArticleMethod.GetAnswerTexts,
|
|
1232
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.General, master_data_object_name_enum_1.MasterDataObjectName.CoMultipleValue, "", params);
|
|
1233
|
+
}
|
|
1234
|
+
callGetNodeData(params) {
|
|
1235
|
+
const data = {
|
|
1236
|
+
moduleName: module_name_enum_1.ModuleName.Articles,
|
|
1237
|
+
methodName: article_method_enum_1.ArticleMethod.GetAnswerTexts,
|
|
1460
1238
|
refCursorAsArray: true,
|
|
1461
1239
|
parameterValues: params
|
|
1462
1240
|
};
|
|
1463
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1241
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1242
|
+
}
|
|
1243
|
+
callDeliveryDate2(params) {
|
|
1466
1244
|
params.transId = null;
|
|
1467
1245
|
params.lineNr = null;
|
|
1468
1246
|
params.commCode = "1";
|
|
@@ -1470,29 +1248,26 @@ var TransactionAuth = (function (_super) {
|
|
|
1470
1248
|
params.transactionKind = "V";
|
|
1471
1249
|
params.purchasePlanDays = "T";
|
|
1472
1250
|
params.branchNo = this.branchNr;
|
|
1473
|
-
|
|
1474
|
-
methodName: LogisticsMethod.GetDeliveryDate2,
|
|
1475
|
-
moduleName: ModuleName.Logistics,
|
|
1251
|
+
const data = {
|
|
1252
|
+
methodName: logistics_method_enum_1.LogisticsMethod.GetDeliveryDate2,
|
|
1253
|
+
moduleName: module_name_enum_1.ModuleName.Logistics,
|
|
1476
1254
|
refCursorAsArray: true,
|
|
1477
1255
|
parameterValues: params
|
|
1478
1256
|
};
|
|
1479
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
methodName: ArticleMethod.GetSingleImage,
|
|
1484
|
-
moduleName: ModuleName.Articles,
|
|
1257
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1258
|
+
}
|
|
1259
|
+
_callGetSingleImage(params) {
|
|
1260
|
+
const data = {
|
|
1261
|
+
methodName: article_method_enum_1.ArticleMethod.GetSingleImage,
|
|
1262
|
+
moduleName: module_name_enum_1.ModuleName.Articles,
|
|
1485
1263
|
refCursorAsArray: true,
|
|
1486
1264
|
parameterValues: params
|
|
1487
1265
|
};
|
|
1488
|
-
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
TransactionAuth.prototype.selectMultiple = function (moduleName, objectName, operationName, parameterValues) {
|
|
1494
|
-
var stronglyTypedResults = [];
|
|
1495
|
-
var data = {
|
|
1266
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1267
|
+
}
|
|
1268
|
+
selectMultiple(moduleName, objectName, operationName, parameterValues) {
|
|
1269
|
+
let stronglyTypedResults = [];
|
|
1270
|
+
const data = {
|
|
1496
1271
|
moduleName: moduleName,
|
|
1497
1272
|
objectName: objectName
|
|
1498
1273
|
};
|
|
@@ -1502,17 +1277,10 @@ var TransactionAuth = (function (_super) {
|
|
|
1502
1277
|
if (parameterValues) {
|
|
1503
1278
|
data.parameterValues = parameterValues;
|
|
1504
1279
|
}
|
|
1505
|
-
return this._call(DataServiceMethod.SelectMultipleObjects, data);
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
return [2, this.connector.call(method, data, showLoader, service, this.endPoint)];
|
|
1513
|
-
});
|
|
1514
|
-
});
|
|
1515
|
-
};
|
|
1516
|
-
return TransactionAuth;
|
|
1517
|
-
}(IoneApiTransaction));
|
|
1518
|
-
export { TransactionAuth };
|
|
1280
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.SelectMultipleObjects, data);
|
|
1281
|
+
}
|
|
1282
|
+
async _call(method, data, service = backend_service_name_enum_1.BackendServiceName.DataService, showLoader = false) {
|
|
1283
|
+
return this.connector.call(method, data, showLoader, service, this.endPoint);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
exports.TransactionAuth = TransactionAuth;
|