@vario-software/types 2026.43.4 → 2026.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema/erp.d.ts +4037 -4379
- package/scripting/eav_types.d.ts +6 -0
- package/scripting/services.d.ts +232 -152
- package/scripting/types.d.ts +893 -479
package/scripting/services.d.ts
CHANGED
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
AssemblyComponentReturnLine, Asset, AssetType, BulkTransferRequestApi,
|
|
13
13
|
BulkTransferResult, BundleSchema, BundleUnitTypeRatio,
|
|
14
14
|
CommissionAssignment, Contact, CountryReference, CreateNewDocumentRequest,
|
|
15
|
-
CrmActivity, CrmActivityType, CrmChecklistItem,
|
|
16
|
-
|
|
17
|
-
CrmReminder, CrmState, CrmSubType, CrmTask,
|
|
15
|
+
CrmActivity, CrmActivityOffHours, CrmActivityType, CrmChecklistItem,
|
|
16
|
+
CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant, CrmPriority,
|
|
17
|
+
CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType, CrmTask,
|
|
18
|
+
CrmTaskForm, CrmTaskLine, CrmTaskParticipant, CrmTaskPriceModifier,
|
|
18
19
|
CrmTypedDocumentRef, CrmTypedDocumentRefList, CurrencyReference, Customer,
|
|
19
20
|
DangerousGoodInformation, DealNotificationEventConfig, DeliveryMethod,
|
|
20
21
|
DeliveryTerm, DmsOutputStream, Document, DocumentAdditionalInfo,
|
|
@@ -505,21 +506,21 @@ export interface ArticleListingScriptingService {
|
|
|
505
506
|
getNewDto(): ArticleListing;
|
|
506
507
|
|
|
507
508
|
/**
|
|
508
|
-
* Liest alle Listings zu einem Artikel
|
|
509
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
509
510
|
*
|
|
510
511
|
* @param {number} articleId - ID des Artikels
|
|
512
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
511
513
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
512
514
|
*/
|
|
513
|
-
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
515
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
514
516
|
|
|
515
517
|
/**
|
|
516
|
-
* Liest alle Listings zu einem Artikel
|
|
518
|
+
* Liest alle Listings zu einem Artikel
|
|
517
519
|
*
|
|
518
520
|
* @param {number} articleId - ID des Artikels
|
|
519
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
520
521
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
521
522
|
*/
|
|
522
|
-
readAllByArticleId(articleId: number
|
|
523
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
523
524
|
|
|
524
525
|
/**
|
|
525
526
|
* Liest eine Liste von DTOs
|
|
@@ -583,19 +584,27 @@ export interface ArticleScriptingService {
|
|
|
583
584
|
*
|
|
584
585
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
585
586
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
587
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
586
588
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
587
589
|
*/
|
|
588
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
590
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
589
591
|
|
|
590
592
|
/**
|
|
591
593
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
592
594
|
*
|
|
593
595
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
594
596
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
595
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
596
597
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
597
598
|
*/
|
|
598
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
599
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
603
|
+
*
|
|
604
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
605
|
+
* @return {Article} Der persistierte Artikel
|
|
606
|
+
*/
|
|
607
|
+
create(toCreate: Article): Article;
|
|
599
608
|
|
|
600
609
|
/**
|
|
601
610
|
* Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
|
|
@@ -618,14 +627,6 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
618
627
|
*/
|
|
619
628
|
create(toCreate: Article, languageCode: string): Article;
|
|
620
629
|
|
|
621
|
-
/**
|
|
622
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
623
|
-
*
|
|
624
|
-
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
625
|
-
* @return {Article} Der persistierte Artikel
|
|
626
|
-
*/
|
|
627
|
-
create(toCreate: Article): Article;
|
|
628
|
-
|
|
629
630
|
/**
|
|
630
631
|
* Deaktiviert ein DTO
|
|
631
632
|
*
|
|
@@ -653,16 +654,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
653
654
|
* Führt einen Etikettendrucklauf aus
|
|
654
655
|
*
|
|
655
656
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
657
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
656
658
|
*/
|
|
657
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
659
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
658
660
|
|
|
659
661
|
/**
|
|
660
662
|
* Führt einen Etikettendrucklauf aus
|
|
661
663
|
*
|
|
662
664
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
663
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
664
665
|
*/
|
|
665
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
666
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
666
667
|
|
|
667
668
|
/**
|
|
668
669
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -745,21 +746,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
745
746
|
readById(id: number, languageCode: string): Article;
|
|
746
747
|
|
|
747
748
|
/**
|
|
748
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
749
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
749
750
|
*
|
|
750
751
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
752
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
751
753
|
* @return {Article} Der gelesene Artikel
|
|
752
754
|
*/
|
|
753
|
-
readByNumber(articleNumber: string): Article;
|
|
755
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
754
756
|
|
|
755
757
|
/**
|
|
756
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
758
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
757
759
|
*
|
|
758
760
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
759
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
760
761
|
* @return {Article} Der gelesene Artikel
|
|
761
762
|
*/
|
|
762
|
-
readByNumber(articleNumber: string
|
|
763
|
+
readByNumber(articleNumber: string): Article;
|
|
763
764
|
|
|
764
765
|
/**
|
|
765
766
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -779,21 +780,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
779
780
|
store(toStore: Article): Article;
|
|
780
781
|
|
|
781
782
|
/**
|
|
782
|
-
*
|
|
783
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
783
784
|
*
|
|
784
785
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
785
|
-
* @param {string} languageCode -
|
|
786
786
|
* @return {Article} Der aktualisiert Artikel
|
|
787
787
|
*/
|
|
788
|
-
update(toUpdate: Article
|
|
788
|
+
update(toUpdate: Article): Article;
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
|
-
*
|
|
791
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
792
792
|
*
|
|
793
793
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
794
|
+
* @param {string} languageCode -
|
|
794
795
|
* @return {Article} Der aktualisiert Artikel
|
|
795
796
|
*/
|
|
796
|
-
update(toUpdate: Article): Article;
|
|
797
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
797
798
|
}
|
|
798
799
|
|
|
799
800
|
/**
|
|
@@ -1924,68 +1925,89 @@ export interface DeliveryTermScriptingService {
|
|
|
1924
1925
|
}
|
|
1925
1926
|
|
|
1926
1927
|
/**
|
|
1927
|
-
* Service
|
|
1928
|
+
* Service to process documents
|
|
1928
1929
|
*/
|
|
1929
1930
|
export interface DocumentScriptingService {
|
|
1930
1931
|
|
|
1931
1932
|
/**
|
|
1932
|
-
*
|
|
1933
|
+
* Creates a manual entry in the document protocol
|
|
1933
1934
|
*
|
|
1934
|
-
* @param {number} documentId - ID
|
|
1935
|
-
* @param {string} protocolMessage - Text
|
|
1935
|
+
* @param {number} documentId - ID of the document the entry is created for
|
|
1936
|
+
* @param {string} protocolMessage - Text of the entry
|
|
1936
1937
|
*/
|
|
1937
1938
|
addDocumentProtocol(documentId: number, protocolMessage: string): void;
|
|
1938
1939
|
|
|
1939
1940
|
/**
|
|
1940
|
-
*
|
|
1941
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1941
1942
|
*
|
|
1942
|
-
* @param {number} documentId - ID
|
|
1943
|
-
* @return {Document}
|
|
1943
|
+
* @param {number} documentId - ID of the document
|
|
1944
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1944
1945
|
*/
|
|
1945
1946
|
cancel(documentId: number): Document;
|
|
1946
1947
|
|
|
1947
1948
|
/**
|
|
1948
|
-
*
|
|
1949
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1949
1950
|
*
|
|
1950
|
-
* @param {number} documentId - ID
|
|
1951
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
1952
|
-
* @return {Document}
|
|
1951
|
+
* @param {number} documentId - ID of the document
|
|
1952
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1953
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1953
1954
|
*/
|
|
1954
1955
|
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1955
1956
|
|
|
1957
|
+
/**
|
|
1958
|
+
* Cancels editing a document (transition EDIT -> SAVED)
|
|
1959
|
+
*
|
|
1960
|
+
* @param {number} documentId - ID of the document
|
|
1961
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1962
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
1963
|
+
* @return {Document} The cancelled document. If the document was created but never saved, it is deleted and {@code null} is returned
|
|
1964
|
+
*/
|
|
1965
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
1966
|
+
|
|
1956
1967
|
/**
|
|
1957
1968
|
* Changes the delivery approval of an order
|
|
1958
1969
|
*
|
|
1959
|
-
* @param {number} documentId -
|
|
1960
|
-
* @param {boolean} approved -
|
|
1970
|
+
* @param {number} documentId - ID of the document
|
|
1971
|
+
* @param {boolean} approved - Shall the document be approved for delivery?
|
|
1961
1972
|
* @return {Document} The changed document
|
|
1962
1973
|
*/
|
|
1963
1974
|
changeDeliveryStatus(documentId: number, approved: boolean): Document;
|
|
1964
1975
|
|
|
1965
1976
|
/**
|
|
1966
|
-
*
|
|
1977
|
+
* Copies a document into the given target document type
|
|
1967
1978
|
*
|
|
1968
|
-
* @param {number} documentId - ID
|
|
1969
|
-
* @param {string} targetDocumentTypeLabel -
|
|
1970
|
-
* @return {Document}
|
|
1979
|
+
* @param {number} documentId - ID of the document to copy
|
|
1980
|
+
* @param {string} targetDocumentTypeLabel - Target document type of the copy
|
|
1981
|
+
* @return {Document} The copied document
|
|
1971
1982
|
*/
|
|
1972
1983
|
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1973
1984
|
|
|
1974
1985
|
/**
|
|
1975
|
-
*
|
|
1986
|
+
* Copies a document into the given target document type
|
|
1976
1987
|
*
|
|
1977
|
-
* @param {number} documentId - ID
|
|
1978
|
-
* @param {string} targetDocumentType -
|
|
1979
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
1980
|
-
* @return {Document}
|
|
1988
|
+
* @param {number} documentId - ID of the document to copy
|
|
1989
|
+
* @param {string} targetDocumentType - Target document type of the copy
|
|
1990
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1991
|
+
* @return {Document} The copied document
|
|
1981
1992
|
*/
|
|
1982
1993
|
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1983
1994
|
|
|
1984
1995
|
/**
|
|
1985
|
-
*
|
|
1996
|
+
* Copies a document into the given target document type
|
|
1986
1997
|
*
|
|
1987
|
-
* @param {
|
|
1988
|
-
* @
|
|
1998
|
+
* @param {number} documentId - ID of the document to copy
|
|
1999
|
+
* @param {string} targetDocumentType - Target document type of the copy
|
|
2000
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2001
|
+
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
2002
|
+
* @return {Document} The copied document
|
|
2003
|
+
*/
|
|
2004
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Creates a new document
|
|
2008
|
+
*
|
|
2009
|
+
* @param {CreateNewDocumentRequest} request - Details of the new document
|
|
2010
|
+
* @return {Document} The created document
|
|
1989
2011
|
*/
|
|
1990
2012
|
create(request: CreateNewDocumentRequest): Document;
|
|
1991
2013
|
|
|
@@ -1998,101 +2020,121 @@ export interface DocumentScriptingService {
|
|
|
1998
2020
|
createExternalDocument(request: ExternalDocumentWithTaxesRequest): Document;
|
|
1999
2021
|
|
|
2000
2022
|
/**
|
|
2001
|
-
*
|
|
2023
|
+
* Dissolves a document
|
|
2002
2024
|
*
|
|
2003
|
-
* @param {number} documentId - ID
|
|
2004
|
-
* @
|
|
2005
|
-
|
|
2025
|
+
* @param {number} documentId - ID of the document to dissolve
|
|
2026
|
+
* @return {Document} The dissolved document
|
|
2027
|
+
*/
|
|
2028
|
+
dissolve(documentId: number): Document;
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* Dissolves a document
|
|
2032
|
+
*
|
|
2033
|
+
* @param {number} documentId - ID of the document to dissolve
|
|
2034
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2035
|
+
* @return {Document} The dissolved document
|
|
2006
2036
|
*/
|
|
2007
2037
|
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2008
2038
|
|
|
2009
2039
|
/**
|
|
2010
|
-
*
|
|
2040
|
+
* Dissolves a document
|
|
2011
2041
|
*
|
|
2012
|
-
* @param {number} documentId - ID
|
|
2013
|
-
* @
|
|
2042
|
+
* @param {number} documentId - ID of the document to dissolve
|
|
2043
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2044
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2045
|
+
* @return {Document} The dissolved document
|
|
2014
2046
|
*/
|
|
2015
|
-
dissolve(documentId: number): Document;
|
|
2047
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2016
2048
|
|
|
2017
2049
|
/**
|
|
2018
|
-
*
|
|
2050
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2019
2051
|
*
|
|
2020
|
-
* @param {number} documentId - ID
|
|
2021
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
2022
|
-
* @return {Document}
|
|
2052
|
+
* @param {number} documentId - ID of the document
|
|
2053
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
+
* @return {Document} The document in EDIT mode
|
|
2023
2055
|
*/
|
|
2024
2056
|
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2025
2057
|
|
|
2026
2058
|
/**
|
|
2027
|
-
*
|
|
2059
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2028
2060
|
*
|
|
2029
|
-
* @param {number} documentId - ID
|
|
2030
|
-
* @
|
|
2061
|
+
* @param {number} documentId - ID of the document
|
|
2062
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2064
|
+
* @return {Document} The document in EDIT mode
|
|
2065
|
+
*/
|
|
2066
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Starts editing a document (transition SAVED -> EDIT)
|
|
2070
|
+
*
|
|
2071
|
+
* @param {number} documentId - ID of the document
|
|
2072
|
+
* @return {Document} The document in EDIT mode
|
|
2031
2073
|
*/
|
|
2032
2074
|
edit(documentId: number): Document;
|
|
2033
2075
|
|
|
2034
2076
|
/**
|
|
2035
|
-
*
|
|
2077
|
+
* Creates an AdditionalParameter object
|
|
2036
2078
|
*
|
|
2037
|
-
* @param {string} key -
|
|
2038
|
-
* @param {object} value -
|
|
2039
|
-
* @return {AdditionalParameter}
|
|
2079
|
+
* @param {string} key - Key of the parameter
|
|
2080
|
+
* @param {object} value - Value of the parameter
|
|
2081
|
+
* @return {AdditionalParameter} The created object
|
|
2040
2082
|
*/
|
|
2041
2083
|
getAdditionalParameter(key: string, value: object): AdditionalParameter;
|
|
2042
2084
|
|
|
2043
2085
|
/**
|
|
2044
|
-
*
|
|
2086
|
+
* Creates a list to collect AdditionalParameter objects
|
|
2045
2087
|
*
|
|
2046
|
-
* @return {Array<AdditionalParameter>}
|
|
2088
|
+
* @return {Array<AdditionalParameter>} The created list
|
|
2047
2089
|
*/
|
|
2048
2090
|
getAdditionalParameterList(): Array<AdditionalParameter>;
|
|
2049
2091
|
|
|
2050
2092
|
/**
|
|
2051
|
-
*
|
|
2093
|
+
* Creates a request object to transfer a document into another state
|
|
2052
2094
|
*
|
|
2053
|
-
* @return {DocumentTransferToStateRequest}
|
|
2095
|
+
* @return {DocumentTransferToStateRequest} The request object
|
|
2054
2096
|
*/
|
|
2055
2097
|
getDocumentTransferToStateRequest(): DocumentTransferToStateRequest;
|
|
2056
2098
|
|
|
2057
2099
|
/**
|
|
2058
|
-
*
|
|
2100
|
+
* Creates a request object to transfer (or copy) a document into another document
|
|
2059
2101
|
*
|
|
2060
|
-
* @return {DocumentTransferToTypeRequest}
|
|
2102
|
+
* @return {DocumentTransferToTypeRequest} The request object
|
|
2061
2103
|
*/
|
|
2062
2104
|
getDocumentTransferToTypeRequest(): DocumentTransferToTypeRequest;
|
|
2063
2105
|
|
|
2064
2106
|
/**
|
|
2065
|
-
*
|
|
2107
|
+
* Creates a new document line object to insert it into a document
|
|
2066
2108
|
*
|
|
2067
|
-
* @return {DocumentLine}
|
|
2109
|
+
* @return {DocumentLine} A new document line object
|
|
2068
2110
|
*/
|
|
2069
2111
|
getNewDocumentLine(): DocumentLine;
|
|
2070
2112
|
|
|
2071
2113
|
/**
|
|
2072
|
-
*
|
|
2114
|
+
* Creates a new document line booking object to insert it into a document
|
|
2073
2115
|
*
|
|
2074
|
-
* @return {DocumentLineBooking}
|
|
2116
|
+
* @return {DocumentLineBooking} A new document line booking object
|
|
2075
2117
|
*/
|
|
2076
2118
|
getNewDocumentLineBooking(): DocumentLineBooking;
|
|
2077
2119
|
|
|
2078
2120
|
/**
|
|
2079
|
-
*
|
|
2121
|
+
* Creates a new discount/surcharge object to insert it into a document or a line
|
|
2080
2122
|
*
|
|
2081
|
-
* @return {DocumentPriceModifier}
|
|
2123
|
+
* @return {DocumentPriceModifier} A new discount/surcharge object
|
|
2082
2124
|
*/
|
|
2083
2125
|
getNewDocumentPriceModifier(): DocumentPriceModifier;
|
|
2084
2126
|
|
|
2085
2127
|
/**
|
|
2086
|
-
*
|
|
2128
|
+
* Creates a request object to create a new document
|
|
2087
2129
|
*
|
|
2088
|
-
* @return {CreateNewDocumentRequest}
|
|
2130
|
+
* @return {CreateNewDocumentRequest} The request object
|
|
2089
2131
|
*/
|
|
2090
2132
|
getNewDocumentRequest(): CreateNewDocumentRequest;
|
|
2091
2133
|
|
|
2092
2134
|
/**
|
|
2093
|
-
*
|
|
2135
|
+
* Creates a request object to update a document
|
|
2094
2136
|
*
|
|
2095
|
-
* @return {UpdateDocumentRequest}
|
|
2137
|
+
* @return {UpdateDocumentRequest} The request object
|
|
2096
2138
|
*/
|
|
2097
2139
|
getUpdateDocumentRequest(): UpdateDocumentRequest;
|
|
2098
2140
|
|
|
@@ -2106,34 +2148,44 @@ export interface DocumentScriptingService {
|
|
|
2106
2148
|
patchCustomFields(documentId: number, custom: JsonNode): Document;
|
|
2107
2149
|
|
|
2108
2150
|
/**
|
|
2109
|
-
*
|
|
2151
|
+
* Prints a document
|
|
2110
2152
|
*
|
|
2111
|
-
* @param {number} documentId - ID
|
|
2153
|
+
* @param {number} documentId - ID of the document to print
|
|
2112
2154
|
*/
|
|
2113
2155
|
print(documentId: number): void;
|
|
2114
2156
|
|
|
2115
2157
|
/**
|
|
2116
|
-
*
|
|
2158
|
+
* Reads a document by its ID
|
|
2117
2159
|
*
|
|
2118
|
-
* @param {number} documentId - ID
|
|
2119
|
-
* @return {Document}
|
|
2160
|
+
* @param {number} documentId - ID of the document
|
|
2161
|
+
* @return {Document} The document read
|
|
2120
2162
|
*/
|
|
2121
2163
|
readById(documentId: number): Document;
|
|
2122
2164
|
|
|
2123
2165
|
/**
|
|
2124
|
-
*
|
|
2166
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2125
2167
|
*
|
|
2126
|
-
* @param {number} documentId - ID
|
|
2127
|
-
* @
|
|
2168
|
+
* @param {number} documentId - ID of the document to save
|
|
2169
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2170
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2171
|
+
* @return {Document} The saved document
|
|
2172
|
+
*/
|
|
2173
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2177
|
+
*
|
|
2178
|
+
* @param {number} documentId - ID of the document to save
|
|
2179
|
+
* @return {Document} The saved document
|
|
2128
2180
|
*/
|
|
2129
2181
|
save(documentId: number): Document;
|
|
2130
2182
|
|
|
2131
2183
|
/**
|
|
2132
|
-
*
|
|
2184
|
+
* Saves a document (transition EDIT -> SAVED)
|
|
2133
2185
|
*
|
|
2134
|
-
* @param {number} documentId - ID
|
|
2135
|
-
* @param {Array<AdditionalParameter>} additionalParameters -
|
|
2136
|
-
* @return {Document}
|
|
2186
|
+
* @param {number} documentId - ID of the document to save
|
|
2187
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2188
|
+
* @return {Document} The saved document
|
|
2137
2189
|
*/
|
|
2138
2190
|
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2139
2191
|
|
|
@@ -2146,41 +2198,41 @@ export interface DocumentScriptingService {
|
|
|
2146
2198
|
saveAndFreeze(documentId: number): Document;
|
|
2147
2199
|
|
|
2148
2200
|
/**
|
|
2149
|
-
*
|
|
2201
|
+
* Sends a document via mail
|
|
2150
2202
|
*
|
|
2151
|
-
* @param {number} documentId - ID
|
|
2203
|
+
* @param {number} documentId - ID of the document to send
|
|
2204
|
+
* @param {string} reportGroupIdentifier -
|
|
2152
2205
|
*/
|
|
2153
|
-
sendViaMail(documentId: number): void;
|
|
2206
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2154
2207
|
|
|
2155
2208
|
/**
|
|
2156
|
-
*
|
|
2209
|
+
* Sends a document via mail
|
|
2157
2210
|
*
|
|
2158
|
-
* @param {number} documentId - ID
|
|
2159
|
-
* @param {string} reportGroupIdentifier -
|
|
2211
|
+
* @param {number} documentId - ID of the document to send
|
|
2160
2212
|
*/
|
|
2161
|
-
sendViaMail(documentId: number
|
|
2213
|
+
sendViaMail(documentId: number): void;
|
|
2162
2214
|
|
|
2163
2215
|
/**
|
|
2164
|
-
*
|
|
2216
|
+
* Transfers a document into another state
|
|
2165
2217
|
*
|
|
2166
|
-
* @param {DocumentTransferToStateRequest} request - Request
|
|
2167
|
-
* @return {Document}
|
|
2218
|
+
* @param {DocumentTransferToStateRequest} request - Request for the transition to the target state
|
|
2219
|
+
* @return {Document} The changed document
|
|
2168
2220
|
*/
|
|
2169
2221
|
transferToState(request: DocumentTransferToStateRequest): Document;
|
|
2170
2222
|
|
|
2171
2223
|
/**
|
|
2172
|
-
*
|
|
2224
|
+
* Transfers (or copies) a document into another document
|
|
2173
2225
|
*
|
|
2174
|
-
* @param {DocumentTransferToTypeRequest} request - Request
|
|
2175
|
-
* @return {Document}
|
|
2226
|
+
* @param {DocumentTransferToTypeRequest} request - Request to transfer a document
|
|
2227
|
+
* @return {Document} The new document
|
|
2176
2228
|
*/
|
|
2177
2229
|
transferToType(request: DocumentTransferToTypeRequest): Document;
|
|
2178
2230
|
|
|
2179
2231
|
/**
|
|
2180
|
-
*
|
|
2232
|
+
* Updates a document
|
|
2181
2233
|
*
|
|
2182
|
-
* @param {UpdateDocumentRequest} request - Details
|
|
2183
|
-
* @return {Document}
|
|
2234
|
+
* @param {UpdateDocumentRequest} request - Details of the document to update
|
|
2235
|
+
* @return {Document} The updated document
|
|
2184
2236
|
*/
|
|
2185
2237
|
update(request: UpdateDocumentRequest): Document;
|
|
2186
2238
|
}
|
|
@@ -3100,26 +3152,26 @@ export interface ScriptingServiceList {
|
|
|
3100
3152
|
*/
|
|
3101
3153
|
crmTaskService: CrmTaskScriptingService;
|
|
3102
3154
|
|
|
3103
|
-
/**
|
|
3104
|
-
* Service zur Verarbeitung von Accounts
|
|
3105
|
-
*/
|
|
3106
|
-
accountService: AccountScriptingService;
|
|
3107
|
-
|
|
3108
3155
|
/**
|
|
3109
3156
|
* Service zur Verarbeitung von Shelf-Documents
|
|
3110
3157
|
*/
|
|
3111
3158
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3112
3159
|
|
|
3113
3160
|
/**
|
|
3114
|
-
*
|
|
3161
|
+
* Service zur Verarbeitung von Accounts
|
|
3115
3162
|
*/
|
|
3116
|
-
|
|
3163
|
+
accountService: AccountScriptingService;
|
|
3117
3164
|
|
|
3118
3165
|
/**
|
|
3119
3166
|
* Logging im Scripting
|
|
3120
3167
|
*/
|
|
3121
3168
|
logger: LoggingScriptingService;
|
|
3122
3169
|
|
|
3170
|
+
/**
|
|
3171
|
+
* Verwaltung von Versandarten
|
|
3172
|
+
*/
|
|
3173
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
3174
|
+
|
|
3123
3175
|
/**
|
|
3124
3176
|
* Service zur Verarbeitung von Deals
|
|
3125
3177
|
*/
|
|
@@ -3141,14 +3193,14 @@ export interface ScriptingServiceList {
|
|
|
3141
3193
|
textTemplateService: TextTemplateScriptingService;
|
|
3142
3194
|
|
|
3143
3195
|
/**
|
|
3144
|
-
*
|
|
3196
|
+
* Ausgabe-Support Methoden
|
|
3145
3197
|
*/
|
|
3146
|
-
|
|
3198
|
+
outputHelper: ScriptOutputHelperService;
|
|
3147
3199
|
|
|
3148
3200
|
/**
|
|
3149
|
-
*
|
|
3201
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
3150
3202
|
*/
|
|
3151
|
-
|
|
3203
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
3152
3204
|
|
|
3153
3205
|
/**
|
|
3154
3206
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -3176,14 +3228,14 @@ export interface ScriptingServiceList {
|
|
|
3176
3228
|
utils: ScriptingUtilities;
|
|
3177
3229
|
|
|
3178
3230
|
/**
|
|
3179
|
-
* Service zur Verarbeitung von
|
|
3231
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3180
3232
|
*/
|
|
3181
|
-
|
|
3233
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3182
3234
|
|
|
3183
3235
|
/**
|
|
3184
|
-
* Service zur Verarbeitung von
|
|
3236
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3185
3237
|
*/
|
|
3186
|
-
|
|
3238
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3187
3239
|
|
|
3188
3240
|
/**
|
|
3189
3241
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3191,10 +3243,15 @@ export interface ScriptingServiceList {
|
|
|
3191
3243
|
articleService: ArticleScriptingService;
|
|
3192
3244
|
|
|
3193
3245
|
/**
|
|
3194
|
-
* Service
|
|
3246
|
+
* Service to process documents
|
|
3195
3247
|
*/
|
|
3196
3248
|
documentService: DocumentScriptingService;
|
|
3197
3249
|
|
|
3250
|
+
/**
|
|
3251
|
+
* Triggers free printing for supported output modules
|
|
3252
|
+
*/
|
|
3253
|
+
freePrintingService: FreePrintingScriptingService;
|
|
3254
|
+
|
|
3198
3255
|
/**
|
|
3199
3256
|
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
3200
3257
|
*/
|
|
@@ -3205,11 +3262,6 @@ export interface ScriptingServiceList {
|
|
|
3205
3262
|
*/
|
|
3206
3263
|
variantValueListingService: VariantValueListingScriptingService;
|
|
3207
3264
|
|
|
3208
|
-
/**
|
|
3209
|
-
* Triggers free printing for supported output modules
|
|
3210
|
-
*/
|
|
3211
|
-
freePrintingService: FreePrintingScriptingService;
|
|
3212
|
-
|
|
3213
3265
|
/**
|
|
3214
3266
|
* Service for processing commission assignments
|
|
3215
3267
|
*/
|
|
@@ -3221,14 +3273,14 @@ export interface ScriptingServiceList {
|
|
|
3221
3273
|
articleStorageService: ArticleStorageScriptingService;
|
|
3222
3274
|
|
|
3223
3275
|
/**
|
|
3224
|
-
*
|
|
3276
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3225
3277
|
*/
|
|
3226
|
-
|
|
3278
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
3227
3279
|
|
|
3228
3280
|
/**
|
|
3229
|
-
*
|
|
3281
|
+
* Verwaltung von Zahlungsarten
|
|
3230
3282
|
*/
|
|
3231
|
-
|
|
3283
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3232
3284
|
|
|
3233
3285
|
/**
|
|
3234
3286
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3241,14 +3293,14 @@ export interface ScriptingServiceList {
|
|
|
3241
3293
|
stockService: StockScriptingService;
|
|
3242
3294
|
|
|
3243
3295
|
/**
|
|
3244
|
-
* Service zur Verarbeitung von
|
|
3296
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3245
3297
|
*/
|
|
3246
|
-
|
|
3298
|
+
variantValueService: VariantValueScriptingService;
|
|
3247
3299
|
|
|
3248
3300
|
/**
|
|
3249
|
-
* Service zur Verarbeitung von
|
|
3301
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3250
3302
|
*/
|
|
3251
|
-
|
|
3303
|
+
assetService: AssetScriptingService;
|
|
3252
3304
|
|
|
3253
3305
|
/**
|
|
3254
3306
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -3353,18 +3405,18 @@ export interface ScriptingUtilities {
|
|
|
3353
3405
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3354
3406
|
*
|
|
3355
3407
|
* @param {object} value - Der Quell-Wert
|
|
3356
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3357
3408
|
* @return {number} Ein BigDecimal-Wert
|
|
3358
3409
|
*/
|
|
3359
|
-
newBigDecimal(value: object
|
|
3410
|
+
newBigDecimal(value: object): number;
|
|
3360
3411
|
|
|
3361
3412
|
/**
|
|
3362
3413
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3363
3414
|
*
|
|
3364
3415
|
* @param {object} value - Der Quell-Wert
|
|
3416
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3365
3417
|
* @return {number} Ein BigDecimal-Wert
|
|
3366
3418
|
*/
|
|
3367
|
-
newBigDecimal(value: object): number;
|
|
3419
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3368
3420
|
|
|
3369
3421
|
/**
|
|
3370
3422
|
* Erstellt eine API-Referenz
|
|
@@ -4360,6 +4412,13 @@ export interface dtoFactory {
|
|
|
4360
4412
|
*/
|
|
4361
4413
|
createCrmActivity(): CrmActivity;
|
|
4362
4414
|
|
|
4415
|
+
/**
|
|
4416
|
+
* Erstellt einen neue Instanz von CrmActivityOffHours
|
|
4417
|
+
*
|
|
4418
|
+
* @return {CrmActivityOffHours} Neue Instanz von CrmActivityOffHours
|
|
4419
|
+
*/
|
|
4420
|
+
createCrmActivityOffHours(): CrmActivityOffHours;
|
|
4421
|
+
|
|
4363
4422
|
/**
|
|
4364
4423
|
* Erstellt einen neue Instanz von CrmActivityType
|
|
4365
4424
|
*
|
|
@@ -4437,6 +4496,20 @@ export interface dtoFactory {
|
|
|
4437
4496
|
*/
|
|
4438
4497
|
createCrmTask(): CrmTask;
|
|
4439
4498
|
|
|
4499
|
+
/**
|
|
4500
|
+
* Erstellt einen neue Instanz von CrmTaskForm
|
|
4501
|
+
*
|
|
4502
|
+
* @return {CrmTaskForm} Neue Instanz von CrmTaskForm
|
|
4503
|
+
*/
|
|
4504
|
+
createCrmTaskForm(): CrmTaskForm;
|
|
4505
|
+
|
|
4506
|
+
/**
|
|
4507
|
+
* Erstellt einen neue Instanz von CrmTaskLine
|
|
4508
|
+
*
|
|
4509
|
+
* @return {CrmTaskLine} Neue Instanz von CrmTaskLine
|
|
4510
|
+
*/
|
|
4511
|
+
createCrmTaskLine(): CrmTaskLine;
|
|
4512
|
+
|
|
4440
4513
|
/**
|
|
4441
4514
|
* Erstellt einen neue Instanz von CrmTaskParticipant
|
|
4442
4515
|
*
|
|
@@ -4444,6 +4517,13 @@ export interface dtoFactory {
|
|
|
4444
4517
|
*/
|
|
4445
4518
|
createCrmTaskParticipant(): CrmTaskParticipant;
|
|
4446
4519
|
|
|
4520
|
+
/**
|
|
4521
|
+
* Erstellt einen neue Instanz von CrmTaskPriceModifier
|
|
4522
|
+
*
|
|
4523
|
+
* @return {CrmTaskPriceModifier} Neue Instanz von CrmTaskPriceModifier
|
|
4524
|
+
*/
|
|
4525
|
+
createCrmTaskPriceModifier(): CrmTaskPriceModifier;
|
|
4526
|
+
|
|
4447
4527
|
/**
|
|
4448
4528
|
* Erstellt einen neue Instanz von CurrencyReference
|
|
4449
4529
|
*
|