@vario-software/types 2026.12.3
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/app/Api.d.ts +286 -0
- package/app/ErpApi.d.ts +13 -0
- package/app/HttpError.d.ts +19 -0
- package/app/Migrator.d.ts +60 -0
- package/app/PromiseSingletonMap.d.ts +4 -0
- package/app/VarioCloudApp.d.ts +91 -0
- package/app/context.d.ts +44 -0
- package/app/modules/Eav.d.ts +16 -0
- package/app/modules/Migration.d.ts +19 -0
- package/app/modules/PermittedToken.d.ts +8 -0
- package/app/modules/TextEnum.d.ts +31 -0
- package/app/modules/Webhook.d.ts +9 -0
- package/app/modules.d.ts +5 -0
- package/index.d.ts +153 -0
- package/package.json +31 -0
- package/readme.md +9 -0
- package/schema/erp.d.ts +182759 -0
- package/scripting/app_scripting_proxy.d.ts +73 -0
- package/scripting/batch_script.d.ts +134 -0
- package/scripting/eav_types.d.ts +138 -0
- package/scripting/output_filter_script.d.ts +70 -0
- package/scripting/picklist_script_pick_box_connect.d.ts +94 -0
- package/scripting/services.d.ts +3474 -0
- package/scripting/types.d.ts +9543 -0
- package/scripting/work_item_intermediate_event.d.ts +122 -0
- package/scripting/work_item_script.d.ts +122 -0
- package/scripting/work_item_split_gateway.d.ts +104 -0
- package/scripting.d.ts +41 -0
|
@@ -0,0 +1,3474 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Account, AccountAddress, AccountLoanValue, AccountPerson, AccountRelation,
|
|
3
|
+
AdditionalParameter, ApiCreatableReference, ApiObjectReference, Article,
|
|
4
|
+
Article$Metric, ArticleAvailabilityDetermination, ArticleIdentifier,
|
|
5
|
+
ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
|
|
6
|
+
ArticleSupplier, Contact, CountryReference, CreateNewDocumentRequest,
|
|
7
|
+
CrmActivity, CrmActivityType, CrmChecklistItem, CrmDeal, CrmDealTopic,
|
|
8
|
+
CrmObjectRef, CrmParticipant, CrmPriority, CrmProject, CrmReference,
|
|
9
|
+
CrmReminder, CrmState, CrmSubType, CrmTask, CrmTypedDocumentRef,
|
|
10
|
+
CrmTypedDocumentRefList, Customer, DealNotificationEventConfig,
|
|
11
|
+
DeliveryMethod, DeliveryTerm, Document, DocumentAdditionalInfo,
|
|
12
|
+
DocumentAdditionalInfo$IncomingGoodsTarget,
|
|
13
|
+
DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
|
|
14
|
+
DocumentAdditionalInfo$OrderIntoPickingConvertResult,
|
|
15
|
+
DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
|
|
16
|
+
DocumentContractDetail, DocumentFabricationDetail, DocumentFinanceBooking,
|
|
17
|
+
DocumentLine, DocumentLineBooking, DocumentLineCommission,
|
|
18
|
+
DocumentLineComponent, DocumentLineComponentFabricationDetail,
|
|
19
|
+
DocumentLineFabricationDetail, DocumentLinePosDetail, DocumentLineRef,
|
|
20
|
+
DocumentPosDetail, DocumentPosPayment, DocumentPriceModifier, DocumentRef,
|
|
21
|
+
DocumentShippingCost, DocumentTax, DocumentText,
|
|
22
|
+
DocumentTransferToStateRequest, DocumentTransferToTypeRequest,
|
|
23
|
+
DocumentType, DocumentTypeFollowUp, DocumentTypeLabel, DocumentTypeState,
|
|
24
|
+
ECrmPriorityType, ECrmSpecialDocumentRefType, ECrmType, Group,
|
|
25
|
+
PaymentMethod, PaymentTerm, PaymentTermRef, PickTrolley, PickTrolleyBox,
|
|
26
|
+
Picklist, PicklistLine, PicklistLineBooking, PicklistLineComponent,
|
|
27
|
+
PicklistTemplate, PicklistTemplate$DateRange,
|
|
28
|
+
PicklistTemplate$OrderSelectionOptions,
|
|
29
|
+
PicklistTemplate$PicklistCreationOptions,
|
|
30
|
+
PicklistTemplate$PicklistProcessingOptions,
|
|
31
|
+
PicklistTemplate$PicklistScript, PriceSelectionCriteria, ProductDiscount,
|
|
32
|
+
ProductGroup, ProductMainGroup, ProductPrice, RequestDocument,
|
|
33
|
+
RequestDocumentLine, RequestDocumentLineBooking,
|
|
34
|
+
RequestDocumentLineCommission, RequestDocumentPriceModifier,
|
|
35
|
+
RequestDocumentText, RevenueCalculation, SalesAgent, Scenario,
|
|
36
|
+
ScenarioActualValue, ScenarioDimension, ScenarioDimensionValue,
|
|
37
|
+
ScriptOutputRequest, ScriptingDate, ScriptingDateTime, ScriptingHttpClient,
|
|
38
|
+
SequencerConfiguration, SequencerConfigurationDetail, ShelfDocument,
|
|
39
|
+
ShelfDocumentAttribution, ShelfDocumentType, ShelfFile, ShelfFileMetaData,
|
|
40
|
+
ShelfShare, ShelfTranslatableText, StorageBinRef, SubFileInfo, Supplier,
|
|
41
|
+
TagDto, TaxIdForeignCountry, TextEnumCreate, TextEnumGet, TssSignature,
|
|
42
|
+
UnitTypeReference, UpdateDocumentRequest, User
|
|
43
|
+
} from "./types"
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Service zur Verarbeitung von Accounts
|
|
47
|
+
*/
|
|
48
|
+
export interface AccountScriptingService {
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Aktiviert ein DTO
|
|
52
|
+
*
|
|
53
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
54
|
+
* @return {Account} Das aktivierte DTO
|
|
55
|
+
*/
|
|
56
|
+
activate(idToActivate: number): Account;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Persistiert ein DTO
|
|
60
|
+
*
|
|
61
|
+
* @param {Account} toCreate - Das zu persistierende DTO
|
|
62
|
+
* @return {Account} Das persistierte DTO
|
|
63
|
+
*/
|
|
64
|
+
create(toCreate: Account): Account;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Erstellt eine Adresse
|
|
68
|
+
*
|
|
69
|
+
* @param {number} accountId - ID eines Accounts
|
|
70
|
+
* @param {AccountAddress} address - Die zu erstellende Adresse
|
|
71
|
+
* @return {AccountAddress} Die erstellte Adresse
|
|
72
|
+
*/
|
|
73
|
+
createAddress(accountId: number, address: AccountAddress): AccountAddress;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Erstellt einen Ansprechpartner
|
|
77
|
+
*
|
|
78
|
+
* @param {number} accountId - ID eines Accounts
|
|
79
|
+
* @param {AccountPerson} person - Der zu erstellende Ansprechpartner
|
|
80
|
+
* @return {AccountPerson} Der erstellte Ansprechpartner
|
|
81
|
+
*/
|
|
82
|
+
createPerson(accountId: number, person: AccountPerson): AccountPerson;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Deaktiviert ein DTO
|
|
86
|
+
*
|
|
87
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
88
|
+
* @return {Account} Das deaktivierte DTO
|
|
89
|
+
*/
|
|
90
|
+
deactivate(idToDeactivate: number): Account;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Löscht eine Adresse
|
|
94
|
+
*
|
|
95
|
+
* @param {number} accountId - ID eines Accounts
|
|
96
|
+
* @param {number} addressId - ID einer Adresse
|
|
97
|
+
*/
|
|
98
|
+
deleteAddress(accountId: number, addressId: number): void;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Löscht eine Entity
|
|
102
|
+
*
|
|
103
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
104
|
+
*/
|
|
105
|
+
deleteById(id: number): void;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Löscht einen Ansprechpartner
|
|
109
|
+
*
|
|
110
|
+
* @param {number} accountId - ID eines Accounts
|
|
111
|
+
* @param {number} personId - ID eines Ansprechpartners
|
|
112
|
+
*/
|
|
113
|
+
deletePerson(accountId: number, personId: number): void;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Liest eine Adresse
|
|
117
|
+
*
|
|
118
|
+
* @param {number} accountId - ID eines Accounts
|
|
119
|
+
* @param {number} addressId - ID einer Adresse
|
|
120
|
+
* @return {AccountAddress} Die gelesene Adresse
|
|
121
|
+
*/
|
|
122
|
+
getAddress(accountId: number, addressId: number): AccountAddress;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Liefert die Adressen eines Accounts (sortiert)
|
|
126
|
+
*
|
|
127
|
+
* @param {number} accountId - ID eines Accounts
|
|
128
|
+
* @return {Array<AccountAddress>} Sortierte Liste der Adressen
|
|
129
|
+
*/
|
|
130
|
+
getAddresses(accountId: number): Array<AccountAddress>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Erstellt eine neue DTO-Instanz
|
|
134
|
+
*
|
|
135
|
+
* @return {Account} Die neue DTO-Instanz
|
|
136
|
+
*/
|
|
137
|
+
getNewDto(): Account;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Liest einen Ansprechpartner
|
|
141
|
+
*
|
|
142
|
+
* @param {number} accountId - ID eines Accounts
|
|
143
|
+
* @param {number} personId - ID eines Ansprechpartners
|
|
144
|
+
* @return {AccountPerson} Der gelesene Ansprechpartner
|
|
145
|
+
*/
|
|
146
|
+
getPerson(accountId: number, personId: number): AccountPerson;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Liefert die Ansprechpartner eines Accounts (sortiert)
|
|
150
|
+
*
|
|
151
|
+
* @param {number} accountId - ID eines Accounts
|
|
152
|
+
* @return {Array<AccountPerson>} Sortierte Liste der Ansprechpartner
|
|
153
|
+
*/
|
|
154
|
+
getPersons(accountId: number): Array<AccountPerson>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Liest eine Liste von DTOs
|
|
158
|
+
*
|
|
159
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
160
|
+
* @return {Array<Account>} Die Liste der gelesenen DTOs
|
|
161
|
+
*/
|
|
162
|
+
readAllById(ids: Array<number>): Array<Account>;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Liest ein DTO
|
|
166
|
+
*
|
|
167
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
168
|
+
* @return {Account} Das gelesene DTO
|
|
169
|
+
*/
|
|
170
|
+
readById(id: number): Account;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Schreibt eine Benachrichtigung auf Basis des Accounts
|
|
174
|
+
*
|
|
175
|
+
* @param {number} accountId -
|
|
176
|
+
* @param {ScriptOutputRequest} outputRequest -
|
|
177
|
+
*/
|
|
178
|
+
sendNotification(accountId: number, outputRequest: ScriptOutputRequest): void;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Persistiert eine DTO
|
|
182
|
+
*
|
|
183
|
+
* @param {Account} toStore - Das zu persistierende DTO
|
|
184
|
+
* @return {Account} Das persistierte DTO
|
|
185
|
+
*/
|
|
186
|
+
store(toStore: Account): Account;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Aktualisiert ein persistiertes DTO
|
|
190
|
+
*
|
|
191
|
+
* @param {Account} toUpdate - Die zu aktualisierende Entity
|
|
192
|
+
* @return {Account} Das aktualisierte DTO
|
|
193
|
+
*/
|
|
194
|
+
update(toUpdate: Account): Account;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Aktualisiert eine Adresse
|
|
198
|
+
*
|
|
199
|
+
* @param {number} accountId - ID eines Accounts
|
|
200
|
+
* @param {AccountAddress} address - Die zu aktualisierende Adresse
|
|
201
|
+
* @return {AccountAddress} Die aktualisierte Adresse
|
|
202
|
+
*/
|
|
203
|
+
updateAddress(accountId: number, address: AccountAddress): AccountAddress;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Aktualisiert einen Ansprechpartner
|
|
207
|
+
*
|
|
208
|
+
* @param {number} accountId - ID eines Accounts
|
|
209
|
+
* @param {AccountPerson} person - Der zu aktualisierende Ansprechpartner
|
|
210
|
+
* @return {AccountPerson} Der aktualisierte Ansprechpartner
|
|
211
|
+
*/
|
|
212
|
+
updatePerson(accountId: number, person: AccountPerson): AccountPerson;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
217
|
+
*/
|
|
218
|
+
export interface ArticleListingScriptingService {
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Erstellt ein Listing
|
|
222
|
+
*
|
|
223
|
+
* @param {number} articleId - ID des Artikels
|
|
224
|
+
* @param {ArticleListing} articleListing - Zu erstellendes Listing
|
|
225
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
226
|
+
* @return {ArticleListing} Das erstellte Listing
|
|
227
|
+
*/
|
|
228
|
+
create(articleId: number, articleListing: ArticleListing, languageCode: string): ArticleListing;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Löscht eine Entity
|
|
232
|
+
*
|
|
233
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
234
|
+
*/
|
|
235
|
+
deleteById(id: number): void;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Erstellt eine neue ArticleListing-Instanz
|
|
239
|
+
*
|
|
240
|
+
* @return {ArticleListing} Die neue ArticleListing-Instanz
|
|
241
|
+
*/
|
|
242
|
+
getNewDto(): ArticleListing;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
246
|
+
*
|
|
247
|
+
* @param {number} articleId - ID des Artikels
|
|
248
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
249
|
+
* @return {Array<ArticleListing>} Liste der Listings
|
|
250
|
+
*/
|
|
251
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Liest alle Listings zu einem Artikel
|
|
255
|
+
*
|
|
256
|
+
* @param {number} articleId - ID des Artikels
|
|
257
|
+
* @return {Array<ArticleListing>} Liste der Listings
|
|
258
|
+
*/
|
|
259
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Liest eine Liste von DTOs
|
|
263
|
+
*
|
|
264
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
265
|
+
* @return {Array<ArticleListing>} Die Liste der gelesenen DTOs
|
|
266
|
+
*/
|
|
267
|
+
readAllById(ids: Array<number>): Array<ArticleListing>;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Liest ein DTO
|
|
271
|
+
*
|
|
272
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
273
|
+
* @return {ArticleListing} Das gelesene DTO
|
|
274
|
+
*/
|
|
275
|
+
readById(id: number): ArticleListing;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Liest ein Artikel-Listing mit Texten zur Sprache languageCode
|
|
279
|
+
*
|
|
280
|
+
* @param {number} listingId - ID des zu lesenden Listings
|
|
281
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
282
|
+
* @return {ArticleListing} Das gelesene Artikel-Listing
|
|
283
|
+
*/
|
|
284
|
+
readById(listingId: number, languageCode: string): ArticleListing;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Akutalisiert ein Listing
|
|
288
|
+
*
|
|
289
|
+
* @param {number} listingId - ID des Listings
|
|
290
|
+
* @param {ArticleListing} articleListing - Zu aktualisierendes Listing
|
|
291
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
292
|
+
* @return {ArticleListing} Das aktualisierte Listing
|
|
293
|
+
*/
|
|
294
|
+
update(listingId: number, articleListing: ArticleListing, languageCode: string): ArticleListing;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Service zur Verarbeitung von Artikeln im Skripten
|
|
299
|
+
*/
|
|
300
|
+
export interface ArticleScriptingService {
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Aktiviert ein DTO
|
|
304
|
+
*
|
|
305
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
306
|
+
* @return {Article} Das aktivierte DTO
|
|
307
|
+
*/
|
|
308
|
+
activate(idToActivate: number): Article;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
312
|
+
*
|
|
313
|
+
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
314
|
+
* @param {number} articleId - ID des zu druckenden Artikels
|
|
315
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
316
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
317
|
+
*/
|
|
318
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
322
|
+
*
|
|
323
|
+
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
324
|
+
* @param {number} articleId - ID des zu druckenden Artikels
|
|
325
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
326
|
+
*/
|
|
327
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
331
|
+
*
|
|
332
|
+
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
333
|
+
* @param {number} articleId - ID des zu druckenden Artikels
|
|
334
|
+
*/
|
|
335
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
339
|
+
*
|
|
340
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
341
|
+
* @return {Article} Der persistierte Artikel
|
|
342
|
+
*/
|
|
343
|
+
create(toCreate: Article): Article;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
347
|
+
*
|
|
348
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
349
|
+
* @param {string} languageCode -
|
|
350
|
+
* @return {Article} Der persistierte Artikel
|
|
351
|
+
*/
|
|
352
|
+
create(toCreate: Article, languageCode: string): Article;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Deaktiviert ein DTO
|
|
356
|
+
*
|
|
357
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
358
|
+
* @return {Article} Das deaktivierte DTO
|
|
359
|
+
*/
|
|
360
|
+
deactivate(idToDeactivate: number): Article;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Löscht einen Artikel
|
|
364
|
+
*
|
|
365
|
+
* @param {number} articleId - ID des zu löschenden Artikels
|
|
366
|
+
*/
|
|
367
|
+
deleteById(articleId: number): void;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Löscht ein Listing zu einem Artikel
|
|
371
|
+
*
|
|
372
|
+
* @param {number} articleId - ID des Artikels, zu dem ein Listing gelöscht werden soll
|
|
373
|
+
* @param {number} listingId - ID des Listings, welches gelöscht werden soll
|
|
374
|
+
*/
|
|
375
|
+
deleteListingById(articleId: number, listingId: number): void;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Führt einen Etikettendrucklauf aus
|
|
379
|
+
*
|
|
380
|
+
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
381
|
+
*/
|
|
382
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Führt einen Etikettendrucklauf aus
|
|
386
|
+
*
|
|
387
|
+
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
388
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
389
|
+
*/
|
|
390
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
394
|
+
*
|
|
395
|
+
* @param {number} articleId - ID eines Artikels
|
|
396
|
+
* @return {Array<ProductPrice>} Einkaufsrabatte zu einem Artikel
|
|
397
|
+
*/
|
|
398
|
+
getArticlePurchaseDiscounts(articleId: number): Array<ProductPrice>;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Liefert die Einkaufspreise zu einem Artikel
|
|
402
|
+
*
|
|
403
|
+
* @param {number} articleId - ID eines Artikels
|
|
404
|
+
* @return {Array<ProductPrice>} Einkaufspreise zu einem Artikel
|
|
405
|
+
*/
|
|
406
|
+
getArticlePurchasePrices(articleId: number): Array<ProductPrice>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Liefert die Verkaufsrabatte zu einem Artikel
|
|
410
|
+
*
|
|
411
|
+
* @param {number} articleId - ID eines Artikels
|
|
412
|
+
* @return {Array<ProductPrice>} Verkaufsrabatte zu einem Artikel
|
|
413
|
+
*/
|
|
414
|
+
getArticleSalesDiscounts(articleId: number): Array<ProductPrice>;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Liefert die Verkaufspreise zu einem Artikel
|
|
418
|
+
*
|
|
419
|
+
* @param {number} articleId - ID eines Artikels
|
|
420
|
+
* @return {Array<ProductPrice>} Verkaufspreise zu einem Artikel
|
|
421
|
+
*/
|
|
422
|
+
getArticleSalesPrices(articleId: number): Array<ProductPrice>;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Erstellt eine neue Article-Instanz
|
|
426
|
+
*
|
|
427
|
+
* @return {Article} Die neue Article-Instanz
|
|
428
|
+
*/
|
|
429
|
+
getNewDto(): Article;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Generiert die ID für einen neuen Etikettendrucklauf
|
|
433
|
+
*
|
|
434
|
+
* @return {string} ID eines neuen Etikettendrucklaufs
|
|
435
|
+
*/
|
|
436
|
+
newLabelPrintBatchIdentifier(): string;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
440
|
+
*
|
|
441
|
+
* @param {number} id - ID vom zu lesenden Artikel
|
|
442
|
+
* @return {Article} Der gelesene Artikel
|
|
443
|
+
*/
|
|
444
|
+
readById(id: number): Article;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
448
|
+
*
|
|
449
|
+
* @param {number} id - ID vom zu lesenden Artikel
|
|
450
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
451
|
+
* @return {Article} Der gelesene Artikel
|
|
452
|
+
*/
|
|
453
|
+
readById(id: number, languageCode: string): Article;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
457
|
+
*
|
|
458
|
+
* @param {string} articleNumber - Eine Artikelnummer
|
|
459
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
460
|
+
* @return {Article} Der gelesene Artikel
|
|
461
|
+
*/
|
|
462
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
466
|
+
*
|
|
467
|
+
* @param {string} articleNumber - Eine Artikelnummer
|
|
468
|
+
* @return {Article} Der gelesene Artikel
|
|
469
|
+
*/
|
|
470
|
+
readByNumber(articleNumber: string): Article;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
474
|
+
*
|
|
475
|
+
* @param {Article} toStore - Der zu persistierende Artikel
|
|
476
|
+
* @param {string} languageCode -
|
|
477
|
+
* @return {Article} Der persistierte Artikel
|
|
478
|
+
*/
|
|
479
|
+
store(toStore: Article, languageCode: string): Article;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
483
|
+
*
|
|
484
|
+
* @param {Article} toStore - Der zu persistierende Artikel
|
|
485
|
+
* @return {Article} Der persistierte Artikel
|
|
486
|
+
*/
|
|
487
|
+
store(toStore: Article): Article;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
491
|
+
*
|
|
492
|
+
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
493
|
+
* @param {string} languageCode -
|
|
494
|
+
* @return {Article} Der aktualisiert Artikel
|
|
495
|
+
*/
|
|
496
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
500
|
+
*
|
|
501
|
+
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
502
|
+
* @return {Article} Der aktualisiert Artikel
|
|
503
|
+
*/
|
|
504
|
+
update(toUpdate: Article): Article;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Service zur Verarbeitung von Artikel-Lieferantenbeziehungen im Skripten
|
|
509
|
+
*/
|
|
510
|
+
export interface ArticleSupplierScriptingService {
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Aktiviert ein DTO
|
|
514
|
+
*
|
|
515
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
516
|
+
* @return {ArticleSupplier} Das aktivierte DTO
|
|
517
|
+
*/
|
|
518
|
+
activate(idToActivate: number): ArticleSupplier;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Persistiert ein DTO
|
|
522
|
+
*
|
|
523
|
+
* @param {ArticleSupplier} toCreate - Das zu persistierende DTO
|
|
524
|
+
* @return {ArticleSupplier} Das persistierte DTO
|
|
525
|
+
*/
|
|
526
|
+
create(toCreate: ArticleSupplier): ArticleSupplier;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Deaktiviert ein DTO
|
|
530
|
+
*
|
|
531
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
532
|
+
* @return {ArticleSupplier} Das deaktivierte DTO
|
|
533
|
+
*/
|
|
534
|
+
deactivate(idToDeactivate: number): ArticleSupplier;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Löscht eine Entity
|
|
538
|
+
*
|
|
539
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
540
|
+
*/
|
|
541
|
+
deleteById(id: number): void;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Erstellt eine neue DTO-Instanz
|
|
545
|
+
*
|
|
546
|
+
* @return {ArticleSupplier} Die neue DTO-Instanz
|
|
547
|
+
*/
|
|
548
|
+
getNewDto(): ArticleSupplier;
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Liest eine Liste von DTOs
|
|
552
|
+
*
|
|
553
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
554
|
+
* @return {Array<ArticleSupplier>} Die Liste der gelesenen DTOs
|
|
555
|
+
*/
|
|
556
|
+
readAllById(ids: Array<number>): Array<ArticleSupplier>;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Liest ein DTO
|
|
560
|
+
*
|
|
561
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
562
|
+
* @return {ArticleSupplier} Das gelesene DTO
|
|
563
|
+
*/
|
|
564
|
+
readById(id: number): ArticleSupplier;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Persistiert eine DTO
|
|
568
|
+
*
|
|
569
|
+
* @param {ArticleSupplier} toStore - Das zu persistierende DTO
|
|
570
|
+
* @return {ArticleSupplier} Das persistierte DTO
|
|
571
|
+
*/
|
|
572
|
+
store(toStore: ArticleSupplier): ArticleSupplier;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Aktualisiert ein persistiertes DTO
|
|
576
|
+
*
|
|
577
|
+
* @param {ArticleSupplier} toUpdate - Die zu aktualisierende Entity
|
|
578
|
+
* @return {ArticleSupplier} Das aktualisierte DTO
|
|
579
|
+
*/
|
|
580
|
+
update(toUpdate: ArticleSupplier): ArticleSupplier;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Service zur Verarbeitung von CRM-Aktivitäten
|
|
585
|
+
*/
|
|
586
|
+
export interface CrmActivityScriptingService {
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Persistiert ein DTO
|
|
590
|
+
*
|
|
591
|
+
* @param {CrmActivity} toCreate - Das zu persistierende DTO
|
|
592
|
+
* @return {CrmActivity} Das persistierte DTO
|
|
593
|
+
*/
|
|
594
|
+
create(toCreate: CrmActivity): CrmActivity;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Erstellte eine neue Instanz von CrmObjectRef
|
|
598
|
+
*
|
|
599
|
+
* @return {CrmObjectRef} Die erstellte Instanz
|
|
600
|
+
*/
|
|
601
|
+
createCrmObjectRef(): CrmObjectRef;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Löscht eine Entity
|
|
605
|
+
*
|
|
606
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
607
|
+
*/
|
|
608
|
+
deleteById(id: number): void;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Findet eine Aktivitätsart über ihre ID
|
|
612
|
+
*
|
|
613
|
+
* @param {number} typeId - ID einer Aktivitätsart
|
|
614
|
+
* @return {CrmActivityType} Die gefundene Aktivitätsart
|
|
615
|
+
*/
|
|
616
|
+
findTypeById(typeId: number): CrmActivityType;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Findet eine Aktivitätsart über ihr Label
|
|
620
|
+
*
|
|
621
|
+
* @param {string} typeLabel - Label einer Aktivitätsart
|
|
622
|
+
* @return {CrmActivityType} Die gefundene Aktivitätsart
|
|
623
|
+
*/
|
|
624
|
+
findTypeByLabel(typeLabel: string): CrmActivityType;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Erstellt eine neue DTO-Instanz
|
|
628
|
+
*
|
|
629
|
+
* @return {CrmActivity} Die neue DTO-Instanz
|
|
630
|
+
*/
|
|
631
|
+
getNewDto(): CrmActivity;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Liest eine Liste von DTOs
|
|
635
|
+
*
|
|
636
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
637
|
+
* @return {Array<CrmActivity>} Die Liste der gelesenen DTOs
|
|
638
|
+
*/
|
|
639
|
+
readAllById(ids: Array<number>): Array<CrmActivity>;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Liest ein DTO
|
|
643
|
+
*
|
|
644
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
645
|
+
* @return {CrmActivity} Das gelesene DTO
|
|
646
|
+
*/
|
|
647
|
+
readById(id: number): CrmActivity;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Persistiert eine DTO
|
|
651
|
+
*
|
|
652
|
+
* @param {CrmActivity} toStore - Das zu persistierende DTO
|
|
653
|
+
* @return {CrmActivity} Das persistierte DTO
|
|
654
|
+
*/
|
|
655
|
+
store(toStore: CrmActivity): CrmActivity;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Aktualisiert ein persistiertes DTO
|
|
659
|
+
*
|
|
660
|
+
* @param {CrmActivity} toUpdate - Die zu aktualisierende Entity
|
|
661
|
+
* @return {CrmActivity} Das aktualisierte DTO
|
|
662
|
+
*/
|
|
663
|
+
update(toUpdate: CrmActivity): CrmActivity;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Service zur Verarbeitung von Deals
|
|
668
|
+
*/
|
|
669
|
+
export interface CrmDealScriptingService {
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Persistiert ein DTO
|
|
673
|
+
*
|
|
674
|
+
* @param {CrmDeal} toCreate - Das zu persistierende DTO
|
|
675
|
+
* @return {CrmDeal} Das persistierte DTO
|
|
676
|
+
*/
|
|
677
|
+
create(toCreate: CrmDeal): CrmDeal;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Erstellte eine neue Instanz von CrmObjectRef
|
|
681
|
+
*
|
|
682
|
+
* @return {CrmObjectRef} Die erstellte Instanz
|
|
683
|
+
*/
|
|
684
|
+
createCrmObjectRef(): CrmObjectRef;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Erstellt ein DTO über eine Vorlage
|
|
688
|
+
*
|
|
689
|
+
* @param {string} templateName - Name einer Vorlage
|
|
690
|
+
* @return {CrmDeal} Das erstellte DTO
|
|
691
|
+
*/
|
|
692
|
+
createNewDtoByTemplate(templateName: string): CrmDeal;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Erstellt ein DTO über eine Vorlage
|
|
696
|
+
*
|
|
697
|
+
* @param {number} templateId - ID einer Vorlage
|
|
698
|
+
* @return {CrmDeal} Das erstellte DTO, falls die Vorlage existiert. Sonst NULL
|
|
699
|
+
*/
|
|
700
|
+
createNewDtoByTemplateId(templateId: number): CrmDeal;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Gewinnt einen Deal ab. Der Deal wird positiv abgeschlossen
|
|
704
|
+
*
|
|
705
|
+
* @param {number} dealId - ID eines Deals
|
|
706
|
+
* @param {number} positiveClosingReasonId - ID eines positiven Deal-Abschlussgrunds
|
|
707
|
+
* @return {CrmDeal} Der gewonnene Deal
|
|
708
|
+
*/
|
|
709
|
+
dealWon(dealId: number, positiveClosingReasonId: number): CrmDeal;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Löscht eine Entity
|
|
713
|
+
*
|
|
714
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
715
|
+
*/
|
|
716
|
+
deleteById(id: number): void;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Findet den End-Status
|
|
720
|
+
*
|
|
721
|
+
* @return {CrmState} Der End-Status
|
|
722
|
+
*/
|
|
723
|
+
findFinalState(): CrmState;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Findet eine CRM-Priorität über die ID
|
|
727
|
+
*
|
|
728
|
+
* @param {number} priorityId - ID der gesuchten Priorität
|
|
729
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
730
|
+
*/
|
|
731
|
+
findPriorityById(priorityId: number): CrmPriority;
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Findet eine CRM-Priorität über ihr Label
|
|
735
|
+
*
|
|
736
|
+
* @param {string} priorityLabel - Label der gesuchten Priorität
|
|
737
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
738
|
+
*/
|
|
739
|
+
findPriorityByLabel(priorityLabel: string): CrmPriority;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Findet eine CRM-Priorität über den Priorität-Typ
|
|
743
|
+
*
|
|
744
|
+
* @param {ECrmPriorityType} priorityType - Typ der gesuchten Priorität
|
|
745
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
746
|
+
*/
|
|
747
|
+
findPriorityByType(priorityType: ECrmPriorityType): CrmPriority;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Findet den Start-Status
|
|
751
|
+
*
|
|
752
|
+
* @return {CrmState} Der Start-Status
|
|
753
|
+
*/
|
|
754
|
+
findStartState(): CrmState;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Findet einen CRM-Status über die ID
|
|
758
|
+
*
|
|
759
|
+
* @param {number} stateId - ID vom gesuchten Status
|
|
760
|
+
* @return {CrmState} Der gefundene Status
|
|
761
|
+
*/
|
|
762
|
+
findStateById(stateId: number): CrmState;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Findet einen CRM-Status über sein Label
|
|
766
|
+
*
|
|
767
|
+
* @param {string} stateLabel - Label vom gesuchten Status
|
|
768
|
+
* @return {CrmState} Der gefundene Status
|
|
769
|
+
*/
|
|
770
|
+
findStateByLabel(stateLabel: string): CrmState;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Findet ein Deal-Thema über seine ID
|
|
774
|
+
*
|
|
775
|
+
* @param {number} topicId - ID des gesuchten Deal-Themas
|
|
776
|
+
* @return {CrmDealTopic} Das gefundene Deal-Thema
|
|
777
|
+
*/
|
|
778
|
+
findTopicById(topicId: number): CrmDealTopic;
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Findet ein Deal-Thema über sein Label
|
|
782
|
+
*
|
|
783
|
+
* @param {string} label - Label des gesuchten Deal-Themas
|
|
784
|
+
* @return {CrmDealTopic} Das gefundene Deal-Thema
|
|
785
|
+
*/
|
|
786
|
+
findTopicByLabel(label: string): CrmDealTopic;
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Findet einen CRM-Typ über die ID
|
|
790
|
+
*
|
|
791
|
+
* @param {number} typeId - ID vom gesuchten Typ
|
|
792
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
793
|
+
*/
|
|
794
|
+
findTypeById(typeId: number): CrmSubType;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Findet einen CRM-Typ über sein Label
|
|
798
|
+
*
|
|
799
|
+
* @param {string} typeLabel - Label vom gesuchten Typ
|
|
800
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
801
|
+
*/
|
|
802
|
+
findTypeByLabel(typeLabel: string): CrmSubType;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Erstellt eine neue DTO-Instanz
|
|
806
|
+
*
|
|
807
|
+
* @return {CrmDeal} Die neue DTO-Instanz
|
|
808
|
+
*/
|
|
809
|
+
getNewDto(): CrmDeal;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Liest eine Liste von DTOs
|
|
813
|
+
*
|
|
814
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
815
|
+
* @return {Array<CrmDeal>} Die Liste der gelesenen DTOs
|
|
816
|
+
*/
|
|
817
|
+
readAllById(ids: Array<number>): Array<CrmDeal>;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Liest ein DTO
|
|
821
|
+
*
|
|
822
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
823
|
+
* @return {CrmDeal} Das gelesene DTO
|
|
824
|
+
*/
|
|
825
|
+
readById(id: number): CrmDeal;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* erzeugt eine Ausgabe mit dem Benachrichtgungs-Modul für Deals
|
|
829
|
+
*
|
|
830
|
+
* @param {number} dealId - ID eines Deals
|
|
831
|
+
* @param {ScriptOutputRequest} outputRequest - der Output Request
|
|
832
|
+
* @param {DealNotificationEventConfig} eventConfig - Reason für die Notification
|
|
833
|
+
*/
|
|
834
|
+
sendNotification(dealId: number, outputRequest: ScriptOutputRequest, eventConfig: DealNotificationEventConfig): void;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Persistiert eine DTO
|
|
838
|
+
*
|
|
839
|
+
* @param {CrmDeal} toStore - Das zu persistierende DTO
|
|
840
|
+
* @return {CrmDeal} Das persistierte DTO
|
|
841
|
+
*/
|
|
842
|
+
store(toStore: CrmDeal): CrmDeal;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Aktualisiert ein persistiertes DTO
|
|
846
|
+
*
|
|
847
|
+
* @param {CrmDeal} toUpdate - Die zu aktualisierende Entity
|
|
848
|
+
* @return {CrmDeal} Das aktualisierte DTO
|
|
849
|
+
*/
|
|
850
|
+
update(toUpdate: CrmDeal): CrmDeal;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Verwaltung von CRM-Belegreferenzen
|
|
855
|
+
*/
|
|
856
|
+
export interface CrmDocumentRefScriptingService {
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Erstellt eine CRM-Belegreferenz mit Referenztyp gleich NONE
|
|
860
|
+
*
|
|
861
|
+
* @param {number} crmId - ID eines CRM-Objekts
|
|
862
|
+
* @param {ECrmType} crmType - Typ eines CRM-Objekts
|
|
863
|
+
* @param {number} documentId - ID eines Belegs
|
|
864
|
+
*/
|
|
865
|
+
addDocumentRef(crmId: number, crmType: ECrmType, documentId: number): void;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Erstellt eine CRM-Belegreferenz
|
|
869
|
+
*
|
|
870
|
+
* @param {number} crmId - ID eines CRM-Objekts
|
|
871
|
+
* @param {ECrmType} crmType - Typ eines CRM-Objekts
|
|
872
|
+
* @param {number} documentId - ID eines Belegs
|
|
873
|
+
* @param {ECrmSpecialDocumentRefType} specialRefType - Referenztyp
|
|
874
|
+
*/
|
|
875
|
+
addDocumentRef(crmId: number, crmType: ECrmType, documentId: number, specialRefType: ECrmSpecialDocumentRefType): void;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Liefert CRM-Belegreferenzen zu einem Beleg
|
|
879
|
+
*
|
|
880
|
+
* @param {number} documentId - ID eines Belegs
|
|
881
|
+
* @return {CrmTypedDocumentRefList} Liste von CRM-Belegreferenzen
|
|
882
|
+
*/
|
|
883
|
+
readAllByDocumentId(documentId: number): CrmTypedDocumentRefList;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Service zur Verarbeitung von Projekten
|
|
888
|
+
*/
|
|
889
|
+
export interface CrmProjectScriptingService {
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Persistiert ein DTO
|
|
893
|
+
*
|
|
894
|
+
* @param {CrmProject} toCreate - Das zu persistierende DTO
|
|
895
|
+
* @return {CrmProject} Das persistierte DTO
|
|
896
|
+
*/
|
|
897
|
+
create(toCreate: CrmProject): CrmProject;
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Erstellte eine neue Instanz von CrmObjectRef
|
|
901
|
+
*
|
|
902
|
+
* @return {CrmObjectRef} Die erstellte Instanz
|
|
903
|
+
*/
|
|
904
|
+
createCrmObjectRef(): CrmObjectRef;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Erstellt ein DTO über eine Vorlage
|
|
908
|
+
*
|
|
909
|
+
* @param {string} templateName - Name einer Vorlage
|
|
910
|
+
* @return {CrmProject} Das erstellte DTO
|
|
911
|
+
*/
|
|
912
|
+
createNewDtoByTemplate(templateName: string): CrmProject;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Erstellt ein DTO über eine Vorlage
|
|
916
|
+
*
|
|
917
|
+
* @param {number} templateId - ID einer Vorlage
|
|
918
|
+
* @return {CrmProject} Das erstellte DTO, falls die Vorlage existiert. Sonst NULL
|
|
919
|
+
*/
|
|
920
|
+
createNewDtoByTemplateId(templateId: number): CrmProject;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Löscht eine Entity
|
|
924
|
+
*
|
|
925
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
926
|
+
*/
|
|
927
|
+
deleteById(id: number): void;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Findet den End-Status
|
|
931
|
+
*
|
|
932
|
+
* @return {CrmState} Der End-Status
|
|
933
|
+
*/
|
|
934
|
+
findFinalState(): CrmState;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Findet eine CRM-Priorität über die ID
|
|
938
|
+
*
|
|
939
|
+
* @param {number} priorityId - ID der gesuchten Priorität
|
|
940
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
941
|
+
*/
|
|
942
|
+
findPriorityById(priorityId: number): CrmPriority;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Findet eine CRM-Priorität über ihr Label
|
|
946
|
+
*
|
|
947
|
+
* @param {string} priorityLabel - Label der gesuchten Priorität
|
|
948
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
949
|
+
*/
|
|
950
|
+
findPriorityByLabel(priorityLabel: string): CrmPriority;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Findet eine CRM-Priorität über den Priorität-Typ
|
|
954
|
+
*
|
|
955
|
+
* @param {ECrmPriorityType} priorityType - Typ der gesuchten Priorität
|
|
956
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
957
|
+
*/
|
|
958
|
+
findPriorityByType(priorityType: ECrmPriorityType): CrmPriority;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Findet den Start-Status
|
|
962
|
+
*
|
|
963
|
+
* @return {CrmState} Der Start-Status
|
|
964
|
+
*/
|
|
965
|
+
findStartState(): CrmState;
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Findet einen CRM-Status über die ID
|
|
969
|
+
*
|
|
970
|
+
* @param {number} stateId - ID vom gesuchten Status
|
|
971
|
+
* @return {CrmState} Der gefundene Status
|
|
972
|
+
*/
|
|
973
|
+
findStateById(stateId: number): CrmState;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Findet einen CRM-Status über sein Label
|
|
977
|
+
*
|
|
978
|
+
* @param {string} stateLabel - Label vom gesuchten Status
|
|
979
|
+
* @return {CrmState} Der gefundene Status
|
|
980
|
+
*/
|
|
981
|
+
findStateByLabel(stateLabel: string): CrmState;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Findet einen CRM-Typ über die ID
|
|
985
|
+
*
|
|
986
|
+
* @param {number} typeId - ID vom gesuchten Typ
|
|
987
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
988
|
+
*/
|
|
989
|
+
findTypeById(typeId: number): CrmSubType;
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Findet einen CRM-Typ über sein Label
|
|
993
|
+
*
|
|
994
|
+
* @param {string} typeLabel - Label vom gesuchten Typ
|
|
995
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
996
|
+
*/
|
|
997
|
+
findTypeByLabel(typeLabel: string): CrmSubType;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Erstellt eine neue DTO-Instanz
|
|
1001
|
+
*
|
|
1002
|
+
* @return {CrmProject} Die neue DTO-Instanz
|
|
1003
|
+
*/
|
|
1004
|
+
getNewDto(): CrmProject;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Liest eine Liste von DTOs
|
|
1008
|
+
*
|
|
1009
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1010
|
+
* @return {Array<CrmProject>} Die Liste der gelesenen DTOs
|
|
1011
|
+
*/
|
|
1012
|
+
readAllById(ids: Array<number>): Array<CrmProject>;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Liest ein DTO
|
|
1016
|
+
*
|
|
1017
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1018
|
+
* @return {CrmProject} Das gelesene DTO
|
|
1019
|
+
*/
|
|
1020
|
+
readById(id: number): CrmProject;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Persistiert eine DTO
|
|
1024
|
+
*
|
|
1025
|
+
* @param {CrmProject} toStore - Das zu persistierende DTO
|
|
1026
|
+
* @return {CrmProject} Das persistierte DTO
|
|
1027
|
+
*/
|
|
1028
|
+
store(toStore: CrmProject): CrmProject;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Aktualisiert ein persistiertes DTO
|
|
1032
|
+
*
|
|
1033
|
+
* @param {CrmProject} toUpdate - Die zu aktualisierende Entity
|
|
1034
|
+
* @return {CrmProject} Das aktualisierte DTO
|
|
1035
|
+
*/
|
|
1036
|
+
update(toUpdate: CrmProject): CrmProject;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Service zur Verarbeitung von CRM-Aufgaben
|
|
1041
|
+
*/
|
|
1042
|
+
export interface CrmTaskScriptingService {
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Berechnet die gesamte Dienstleistungsdauer in Sekunden in den gegebenen Belegen
|
|
1046
|
+
*
|
|
1047
|
+
* @param {Array<CrmTypedDocumentRef>} documentRefs - Zu beachtende Referenzen
|
|
1048
|
+
* @param {ECrmSpecialDocumentRefType} documentRefType - Der zu beachtende Referenztyp
|
|
1049
|
+
* @return {number} Die ermittelte Dienstleistungsdauer in Sekunden
|
|
1050
|
+
*/
|
|
1051
|
+
calculateServiceTime(documentRefs: Array<CrmTypedDocumentRef>, documentRefType: ECrmSpecialDocumentRefType): number;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Persistiert ein DTO
|
|
1055
|
+
*
|
|
1056
|
+
* @param {CrmTask} toCreate - Das zu persistierende DTO
|
|
1057
|
+
* @return {CrmTask} Das persistierte DTO
|
|
1058
|
+
*/
|
|
1059
|
+
create(toCreate: CrmTask): CrmTask;
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Erstellte eine neue Instanz von CrmObjectRef
|
|
1063
|
+
*
|
|
1064
|
+
* @return {CrmObjectRef} Die erstellte Instanz
|
|
1065
|
+
*/
|
|
1066
|
+
createCrmObjectRef(): CrmObjectRef;
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Erstellt ein DTO über eine Vorlage
|
|
1070
|
+
*
|
|
1071
|
+
* @param {string} templateName - Name einer Vorlage
|
|
1072
|
+
* @return {CrmTask} Das erstellte DTO
|
|
1073
|
+
*/
|
|
1074
|
+
createNewDtoByTemplate(templateName: string): CrmTask;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Erstellt ein DTO über eine Vorlage
|
|
1078
|
+
*
|
|
1079
|
+
* @param {number} templateId - ID einer Vorlage
|
|
1080
|
+
* @return {CrmTask} Das erstellte DTO, falls die Vorlage existiert. Sonst NULL
|
|
1081
|
+
*/
|
|
1082
|
+
createNewDtoByTemplateId(templateId: number): CrmTask;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Löscht eine Entity
|
|
1086
|
+
*
|
|
1087
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
1088
|
+
*/
|
|
1089
|
+
deleteById(id: number): void;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Findet den End-Status
|
|
1093
|
+
*
|
|
1094
|
+
* @return {CrmState} Der End-Status
|
|
1095
|
+
*/
|
|
1096
|
+
findFinalState(): CrmState;
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Findet eine CRM-Priorität über die ID
|
|
1100
|
+
*
|
|
1101
|
+
* @param {number} priorityId - ID der gesuchten Priorität
|
|
1102
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
1103
|
+
*/
|
|
1104
|
+
findPriorityById(priorityId: number): CrmPriority;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Findet eine CRM-Priorität über ihr Label
|
|
1108
|
+
*
|
|
1109
|
+
* @param {string} priorityLabel - Label der gesuchten Priorität
|
|
1110
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
1111
|
+
*/
|
|
1112
|
+
findPriorityByLabel(priorityLabel: string): CrmPriority;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Findet eine CRM-Priorität über den Priorität-Typ
|
|
1116
|
+
*
|
|
1117
|
+
* @param {ECrmPriorityType} priorityType - Typ der gesuchten Priorität
|
|
1118
|
+
* @return {CrmPriority} Die gefundene Priorität
|
|
1119
|
+
*/
|
|
1120
|
+
findPriorityByType(priorityType: ECrmPriorityType): CrmPriority;
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* Sucht den "Bereit zur Abrechnung"-Status
|
|
1124
|
+
*
|
|
1125
|
+
* @return {CrmState} "Bereit zur Abrechnung"-Status
|
|
1126
|
+
*/
|
|
1127
|
+
findReadyToBillState(): CrmState;
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* Findet den Start-Status
|
|
1131
|
+
*
|
|
1132
|
+
* @return {CrmState} Der Start-Status
|
|
1133
|
+
*/
|
|
1134
|
+
findStartState(): CrmState;
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Findet einen CRM-Status über die ID
|
|
1138
|
+
*
|
|
1139
|
+
* @param {number} stateId - ID vom gesuchten Status
|
|
1140
|
+
* @return {CrmState} Der gefundene Status
|
|
1141
|
+
*/
|
|
1142
|
+
findStateById(stateId: number): CrmState;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Findet einen CRM-Status über sein Label
|
|
1146
|
+
*
|
|
1147
|
+
* @param {string} stateLabel - Label vom gesuchten Status
|
|
1148
|
+
* @return {CrmState} Der gefundene Status
|
|
1149
|
+
*/
|
|
1150
|
+
findStateByLabel(stateLabel: string): CrmState;
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Findet einen CRM-Typ über die ID
|
|
1154
|
+
*
|
|
1155
|
+
* @param {number} typeId - ID vom gesuchten Typ
|
|
1156
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
1157
|
+
*/
|
|
1158
|
+
findTypeById(typeId: number): CrmSubType;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Findet einen CRM-Typ über sein Label
|
|
1162
|
+
*
|
|
1163
|
+
* @param {string} typeLabel - Label vom gesuchten Typ
|
|
1164
|
+
* @return {CrmSubType} Der gefundene Typ
|
|
1165
|
+
*/
|
|
1166
|
+
findTypeByLabel(typeLabel: string): CrmSubType;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Erstellt eine neue DTO-Instanz
|
|
1170
|
+
*
|
|
1171
|
+
* @return {CrmTask} Die neue DTO-Instanz
|
|
1172
|
+
*/
|
|
1173
|
+
getNewDto(): CrmTask;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Liest eine Liste von DTOs
|
|
1177
|
+
*
|
|
1178
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1179
|
+
* @return {Array<CrmTask>} Die Liste der gelesenen DTOs
|
|
1180
|
+
*/
|
|
1181
|
+
readAllById(ids: Array<number>): Array<CrmTask>;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* Liest ein DTO
|
|
1185
|
+
*
|
|
1186
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1187
|
+
* @return {CrmTask} Das gelesene DTO
|
|
1188
|
+
*/
|
|
1189
|
+
readById(id: number): CrmTask;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Persistiert eine DTO
|
|
1193
|
+
*
|
|
1194
|
+
* @param {CrmTask} toStore - Das zu persistierende DTO
|
|
1195
|
+
* @return {CrmTask} Das persistierte DTO
|
|
1196
|
+
*/
|
|
1197
|
+
store(toStore: CrmTask): CrmTask;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Aktualisiert ein persistiertes DTO
|
|
1201
|
+
*
|
|
1202
|
+
* @param {CrmTask} toUpdate - Die zu aktualisierende Entity
|
|
1203
|
+
* @return {CrmTask} Das aktualisierte DTO
|
|
1204
|
+
*/
|
|
1205
|
+
update(toUpdate: CrmTask): CrmTask;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Verwaltung von Versandarten
|
|
1210
|
+
*/
|
|
1211
|
+
export interface DeliveryMethodScriptingService {
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Findet eine Versandart über ein Label
|
|
1215
|
+
*
|
|
1216
|
+
* @param {string} label - Label einer Versandart
|
|
1217
|
+
* @return {DeliveryMethod} Die gefundene Versandart
|
|
1218
|
+
*/
|
|
1219
|
+
findByLabel(label: string): DeliveryMethod;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Liest eine Liste von DTOs
|
|
1223
|
+
*
|
|
1224
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1225
|
+
* @return {Array<DeliveryMethod>} Die Liste der gelesenen DTOs
|
|
1226
|
+
*/
|
|
1227
|
+
readAllById(ids: Array<number>): Array<DeliveryMethod>;
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Liest ein DTO
|
|
1231
|
+
*
|
|
1232
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1233
|
+
* @return {DeliveryMethod} Das gelesene DTO
|
|
1234
|
+
*/
|
|
1235
|
+
readById(id: number): DeliveryMethod;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Verwaltung von Lieferbedingungen
|
|
1240
|
+
*/
|
|
1241
|
+
export interface DeliveryTermScriptingService {
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Findet eine Lieferbedingung über ein Label
|
|
1245
|
+
*
|
|
1246
|
+
* @param {string} label - Label einer Lieferbedingung
|
|
1247
|
+
* @return {DeliveryTerm} Die gefundene Lieferbedingung
|
|
1248
|
+
*/
|
|
1249
|
+
findByLabel(label: string): DeliveryTerm;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Liest eine Liste von DTOs
|
|
1253
|
+
*
|
|
1254
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1255
|
+
* @return {Array<DeliveryTerm>} Die Liste der gelesenen DTOs
|
|
1256
|
+
*/
|
|
1257
|
+
readAllById(ids: Array<number>): Array<DeliveryTerm>;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Liest ein DTO
|
|
1261
|
+
*
|
|
1262
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1263
|
+
* @return {DeliveryTerm} Das gelesene DTO
|
|
1264
|
+
*/
|
|
1265
|
+
readById(id: number): DeliveryTerm;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* Service zur Verarbeitung von Belegen
|
|
1270
|
+
*/
|
|
1271
|
+
export interface DocumentScriptingService {
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Erstellt einen manuellen Eintrag im Belegprotokoll
|
|
1275
|
+
*
|
|
1276
|
+
* @param {number} documentId - ID des Belegs, zu dem der Eintrag angelegt werden soll
|
|
1277
|
+
* @param {string} protocolMessage - Text für den Eintrag
|
|
1278
|
+
*/
|
|
1279
|
+
addDocumentProtocol(documentId: number, protocolMessage: string): void;
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1283
|
+
*
|
|
1284
|
+
* @param {number} documentId - ID des Belegs
|
|
1285
|
+
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1286
|
+
*/
|
|
1287
|
+
cancel(documentId: number): Document;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1291
|
+
*
|
|
1292
|
+
* @param {number} documentId - ID des Belegs
|
|
1293
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1294
|
+
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1295
|
+
*/
|
|
1296
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1300
|
+
*
|
|
1301
|
+
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1302
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1303
|
+
* @return {Document} Der kopierte Beleg
|
|
1304
|
+
*/
|
|
1305
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1309
|
+
*
|
|
1310
|
+
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1311
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1312
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1313
|
+
* @return {Document} Der kopierte Beleg
|
|
1314
|
+
*/
|
|
1315
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Erstellt einen neuen Beleg
|
|
1319
|
+
*
|
|
1320
|
+
* @param {CreateNewDocumentRequest} request - Details zum neuen Beleg
|
|
1321
|
+
* @return {Document} Der erstellte Beleg
|
|
1322
|
+
*/
|
|
1323
|
+
create(request: CreateNewDocumentRequest): Document;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Löst einen Beleg auf
|
|
1327
|
+
*
|
|
1328
|
+
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1329
|
+
* @return {Document} Der aufgelöste Beleg
|
|
1330
|
+
*/
|
|
1331
|
+
dissolve(documentId: number): Document;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Löst einen Beleg auf
|
|
1335
|
+
*
|
|
1336
|
+
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1337
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1338
|
+
* @return {Document} Der aufgelöste Beleg
|
|
1339
|
+
*/
|
|
1340
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1344
|
+
*
|
|
1345
|
+
* @param {number} documentId - ID des Belegs
|
|
1346
|
+
* @return {Document} Der Beleg in Bearbeitung
|
|
1347
|
+
*/
|
|
1348
|
+
edit(documentId: number): Document;
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1352
|
+
*
|
|
1353
|
+
* @param {number} documentId - ID des Belegs
|
|
1354
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1355
|
+
* @return {Document} Der Beleg in Bearbeitung
|
|
1356
|
+
*/
|
|
1357
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* Erstellt ein AdditionalParameter-Objekt
|
|
1361
|
+
*
|
|
1362
|
+
* @param {string} key - Schlüssel des Parameters
|
|
1363
|
+
* @param {object} value - Wert des Parameters
|
|
1364
|
+
* @return {AdditionalParameter} Das erstellte Objekt
|
|
1365
|
+
*/
|
|
1366
|
+
getAdditionalParameter(key: string, value: object): AdditionalParameter;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Erstellt eine Liste zur Sammlung von AdditionalParameter-Objekten
|
|
1370
|
+
*
|
|
1371
|
+
* @return {Array<AdditionalParameter>} Die erstellte Liste
|
|
1372
|
+
*/
|
|
1373
|
+
getAdditionalParameterList(): Array<AdditionalParameter>;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Erstellt ein Request-Objekt, um einen Beleg in einen anderen Status zu verschieben
|
|
1377
|
+
*
|
|
1378
|
+
* @return {DocumentTransferToStateRequest} Das Request-Objekt
|
|
1379
|
+
*/
|
|
1380
|
+
getDocumentTransferToStateRequest(): DocumentTransferToStateRequest;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Erstellt ein Request-Objekt, um einen Beleg in einen anderen Beleg zu übernehmen (oder zu kopieren)
|
|
1384
|
+
*
|
|
1385
|
+
* @return {DocumentTransferToTypeRequest} Das Request-Objekt
|
|
1386
|
+
*/
|
|
1387
|
+
getDocumentTransferToTypeRequest(): DocumentTransferToTypeRequest;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* Erstellt ein neues Belegposition-Objekt, um dieses in einen Beleg einzufügen
|
|
1391
|
+
*
|
|
1392
|
+
* @return {DocumentLine} Ein neues Belegposition-Objekt
|
|
1393
|
+
*/
|
|
1394
|
+
getNewDocumentLine(): DocumentLine;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Erstellt ein neues Belegbuchung-Objekt, um dieses in einen Beleg einzufügen
|
|
1398
|
+
*
|
|
1399
|
+
* @return {DocumentLineBooking} Ein neues Belegbuchung-Objekt
|
|
1400
|
+
*/
|
|
1401
|
+
getNewDocumentLineBooking(): DocumentLineBooking;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* Erstellt ein neues Beleg-Rabatt/-Zuschlags-Objekt, um dieses in einen Beleg oder eine Position einzufügen
|
|
1405
|
+
*
|
|
1406
|
+
* @return {DocumentPriceModifier} Ein neues Beleg-Rabatt/-Zuschlags-Objekt
|
|
1407
|
+
*/
|
|
1408
|
+
getNewDocumentPriceModifier(): DocumentPriceModifier;
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* Erstellt ein Request-Objekt, um einen neuen Beleg zu erstellen
|
|
1412
|
+
*
|
|
1413
|
+
* @return {CreateNewDocumentRequest} Das Request-Objekt
|
|
1414
|
+
*/
|
|
1415
|
+
getNewDocumentRequest(): CreateNewDocumentRequest;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Erstellt ein Request-Objekt, um einen Beleg zu aktualisieren
|
|
1419
|
+
*
|
|
1420
|
+
* @return {UpdateDocumentRequest} Das Request-Objekt
|
|
1421
|
+
*/
|
|
1422
|
+
getUpdateDocumentRequest(): UpdateDocumentRequest;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Druckt einen Beleg
|
|
1426
|
+
*
|
|
1427
|
+
* @param {number} documentId - ID des zu druckenden Belegs
|
|
1428
|
+
*/
|
|
1429
|
+
print(documentId: number): void;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Liest einen Beleg über seine ID
|
|
1433
|
+
*
|
|
1434
|
+
* @param {number} documentId - ID eines Belegs
|
|
1435
|
+
* @return {Document} Der gelesene Beleg
|
|
1436
|
+
*/
|
|
1437
|
+
readById(documentId: number): Document;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1441
|
+
*
|
|
1442
|
+
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1443
|
+
* @return {Document} Der gespeicherte Beleg
|
|
1444
|
+
*/
|
|
1445
|
+
save(documentId: number): Document;
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1449
|
+
*
|
|
1450
|
+
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1451
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1452
|
+
* @return {Document} Der gespeicherte Beleg
|
|
1453
|
+
*/
|
|
1454
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Versendet einen Beleg per Mail
|
|
1458
|
+
*
|
|
1459
|
+
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1460
|
+
*/
|
|
1461
|
+
sendViaMail(documentId: number): void;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Versendet einen Beleg per Mail
|
|
1465
|
+
*
|
|
1466
|
+
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1467
|
+
* @param {string} reportGroupIdentifier -
|
|
1468
|
+
*/
|
|
1469
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Überführt einen Beleg in einen anderen Status
|
|
1473
|
+
*
|
|
1474
|
+
* @param {DocumentTransferToStateRequest} request - Request zur Transition zum gewünschten Ziel-Status
|
|
1475
|
+
* @return {Document} Der geänderte Beleg
|
|
1476
|
+
*/
|
|
1477
|
+
transferToState(request: DocumentTransferToStateRequest): Document;
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Übernimmt (oder kopiert) einen Beleg in einen anderen Beleg
|
|
1481
|
+
*
|
|
1482
|
+
* @param {DocumentTransferToTypeRequest} request - Request zur Übernahme eines Belegs
|
|
1483
|
+
* @return {Document} Der neue Beleg
|
|
1484
|
+
*/
|
|
1485
|
+
transferToType(request: DocumentTransferToTypeRequest): Document;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Aktualisiert einen Beleg
|
|
1489
|
+
*
|
|
1490
|
+
* @param {UpdateDocumentRequest} request - Details zum zu aktualisierenden Beleg
|
|
1491
|
+
* @return {Document} Der aktualisierte Beleg
|
|
1492
|
+
*/
|
|
1493
|
+
update(request: UpdateDocumentRequest): Document;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Service zur Verarbeitung von Mahnungen
|
|
1498
|
+
*/
|
|
1499
|
+
export interface DunningScriptingService {
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Druckt eine Mahnung
|
|
1503
|
+
*
|
|
1504
|
+
* @param {number} dunningId - ID der zu druckenden Mahnung
|
|
1505
|
+
*/
|
|
1506
|
+
print(dunningId: number): void;
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* Versendet eine Mahnung per Mail
|
|
1510
|
+
*
|
|
1511
|
+
* @param {number} dunningId - ID der zu versendenden Mahnung
|
|
1512
|
+
*/
|
|
1513
|
+
sendViaMail(dunningId: number): void;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
1518
|
+
*/
|
|
1519
|
+
export interface FreeSequencerScriptingService {
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Fordert die nächste Nummer des Zählerkreises an und Zählt hoch
|
|
1523
|
+
*
|
|
1524
|
+
* @param {string} freeSequencerKey - ID eines Freien Zählerkreises
|
|
1525
|
+
* @return {string} Nummer des Zählerkreises die vergeben wurde.
|
|
1526
|
+
*/
|
|
1527
|
+
getNextNumber(freeSequencerKey: string): string;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* HTTP-Client im Scripting
|
|
1532
|
+
*/
|
|
1533
|
+
export interface HttpClientScriptingService {
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* Erstellt eine neue Instanz vom ScriptingHttpClient ohne Authentifizierung
|
|
1537
|
+
*
|
|
1538
|
+
* @return {ScriptingHttpClient} ScriptingHttpClient ohne Authentifizierung
|
|
1539
|
+
*/
|
|
1540
|
+
createHttpClient(): ScriptingHttpClient;
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Erstellt eine neue Instanz vom ScriptingHttpClient mit Basic Auth
|
|
1544
|
+
*
|
|
1545
|
+
* @param {string} username - Benutzername
|
|
1546
|
+
* @param {string} password - Passwort
|
|
1547
|
+
* @return {ScriptingHttpClient} ScriptingHttpClient mit Basic Auth
|
|
1548
|
+
*/
|
|
1549
|
+
createHttpClientWithBasicAuth(username: string, password: string): ScriptingHttpClient;
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* Erstellt eine neue Instanz vom ScriptingHttpClient mit einem Bearer Token
|
|
1553
|
+
*
|
|
1554
|
+
* @param {string} bearerToken - Bearer Token
|
|
1555
|
+
* @return {ScriptingHttpClient} ScriptingHttpClient mit Bearer Authentifizierung
|
|
1556
|
+
*/
|
|
1557
|
+
createHttpClientWithBearerAuth(bearerToken: string): ScriptingHttpClient;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Logging im Scripting
|
|
1562
|
+
*/
|
|
1563
|
+
export interface LoggingScriptingService {
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Protokolliert im Level DEBUG
|
|
1567
|
+
*
|
|
1568
|
+
* @param {object} toLog - Zu protokollierende Nachricht
|
|
1569
|
+
*/
|
|
1570
|
+
debug(toLog: object): void;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Protokolliert im Level ERROR
|
|
1574
|
+
*
|
|
1575
|
+
* @param {object} toLog - Zu protokollierende Nachricht
|
|
1576
|
+
*/
|
|
1577
|
+
error(toLog: object): void;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* Protokolliert im Level INFO
|
|
1581
|
+
*
|
|
1582
|
+
* @param {object} toLog - Zu protokollierende Nachricht/Daten
|
|
1583
|
+
*/
|
|
1584
|
+
info(toLog: object): void;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Protokolliert im Level TRACE
|
|
1588
|
+
*
|
|
1589
|
+
* @param {object} toLog - Zu protokollierende Nachricht/Daten
|
|
1590
|
+
*/
|
|
1591
|
+
trace(toLog: object): void;
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Protokolliert im Level WARN
|
|
1595
|
+
*
|
|
1596
|
+
* @param {object} toLog - Zu protokollierende Nachricht
|
|
1597
|
+
*/
|
|
1598
|
+
warn(toLog: object): void;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Verwaltung von Zahlungsarten
|
|
1603
|
+
*/
|
|
1604
|
+
export interface PaymentMethodScriptingService {
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* Findet eine Zahlungsart über ein Label
|
|
1608
|
+
*
|
|
1609
|
+
* @param {string} label - Label einer Zahlungsart
|
|
1610
|
+
* @return {PaymentMethod} Die gefundene Zahlungsart
|
|
1611
|
+
*/
|
|
1612
|
+
findByLabel(label: string): PaymentMethod;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Liest eine Liste von DTOs
|
|
1616
|
+
*
|
|
1617
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1618
|
+
* @return {Array<PaymentMethod>} Die Liste der gelesenen DTOs
|
|
1619
|
+
*/
|
|
1620
|
+
readAllById(ids: Array<number>): Array<PaymentMethod>;
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Liest ein DTO
|
|
1624
|
+
*
|
|
1625
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1626
|
+
* @return {PaymentMethod} Das gelesene DTO
|
|
1627
|
+
*/
|
|
1628
|
+
readById(id: number): PaymentMethod;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* Verwaltung von Zahlungsbedingungen
|
|
1633
|
+
*/
|
|
1634
|
+
export interface PaymentTermScriptingService {
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* Lädt ein PaymentTerm über seine ID und liefer ein PaymentTermRef zurück
|
|
1638
|
+
*
|
|
1639
|
+
* @param {number} id - ID eines PaymentTerm
|
|
1640
|
+
* @return {PaymentTermRef} Ein PaymentTermRef
|
|
1641
|
+
*/
|
|
1642
|
+
createPaymentTermRef(id: number): PaymentTermRef;
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* Liefert ein PaymentTermRef zu einem PaymentTerm
|
|
1646
|
+
*
|
|
1647
|
+
* @param {PaymentTerm} paymentTerm - Ein PaymentTerm
|
|
1648
|
+
* @return {PaymentTermRef} Ein PaymentTermRef
|
|
1649
|
+
*/
|
|
1650
|
+
createPaymentTermRef(paymentTerm: PaymentTerm): PaymentTermRef;
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Findet eine Zahlungsbedingung über ein Label
|
|
1654
|
+
*
|
|
1655
|
+
* @param {string} label - Label einer Zahlungsbedingung
|
|
1656
|
+
* @return {PaymentTerm} Die gefundene Zahlungsbedingung
|
|
1657
|
+
*/
|
|
1658
|
+
findByLabel(label: string): PaymentTerm;
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* Liest eine Liste von DTOs
|
|
1662
|
+
*
|
|
1663
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1664
|
+
* @return {Array<PaymentTerm>} Die Liste der gelesenen DTOs
|
|
1665
|
+
*/
|
|
1666
|
+
readAllById(ids: Array<number>): Array<PaymentTerm>;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Liest ein DTO
|
|
1670
|
+
*
|
|
1671
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1672
|
+
* @return {PaymentTerm} Das gelesene DTO
|
|
1673
|
+
*/
|
|
1674
|
+
readById(id: number): PaymentTerm;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Service zur Verarbeitung von Warengruppen im Skripten
|
|
1679
|
+
*/
|
|
1680
|
+
export interface ProductGroupScriptingService {
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Aktiviert ein DTO
|
|
1684
|
+
*
|
|
1685
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
1686
|
+
* @return {ProductGroup} Das aktivierte DTO
|
|
1687
|
+
*/
|
|
1688
|
+
activate(idToActivate: number): ProductGroup;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Persistiert ein DTO
|
|
1692
|
+
*
|
|
1693
|
+
* @param {ProductGroup} toCreate - Das zu persistierende DTO
|
|
1694
|
+
* @return {ProductGroup} Das persistierte DTO
|
|
1695
|
+
*/
|
|
1696
|
+
create(toCreate: ProductGroup): ProductGroup;
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* Deaktiviert ein DTO
|
|
1700
|
+
*
|
|
1701
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
1702
|
+
* @return {ProductGroup} Das deaktivierte DTO
|
|
1703
|
+
*/
|
|
1704
|
+
deactivate(idToDeactivate: number): ProductGroup;
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Löscht eine Entity
|
|
1708
|
+
*
|
|
1709
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
1710
|
+
*/
|
|
1711
|
+
deleteById(id: number): void;
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Erstellt eine neue DTO-Instanz
|
|
1715
|
+
*
|
|
1716
|
+
* @return {ProductGroup} Die neue DTO-Instanz
|
|
1717
|
+
*/
|
|
1718
|
+
getNewDto(): ProductGroup;
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Liest eine Liste von DTOs
|
|
1722
|
+
*
|
|
1723
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1724
|
+
* @return {Array<ProductGroup>} Die Liste der gelesenen DTOs
|
|
1725
|
+
*/
|
|
1726
|
+
readAllById(ids: Array<number>): Array<ProductGroup>;
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* Liest ein DTO
|
|
1730
|
+
*
|
|
1731
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1732
|
+
* @return {ProductGroup} Das gelesene DTO
|
|
1733
|
+
*/
|
|
1734
|
+
readById(id: number): ProductGroup;
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* Liest eine Warengruppe über ihr Label
|
|
1738
|
+
*
|
|
1739
|
+
* @param {string} label - Label einer Warengruppe
|
|
1740
|
+
* @return {ProductGroup} Die gelesene Warengruppe
|
|
1741
|
+
*/
|
|
1742
|
+
readByLabel(label: string): ProductGroup;
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Persistiert eine DTO
|
|
1746
|
+
*
|
|
1747
|
+
* @param {ProductGroup} toStore - Das zu persistierende DTO
|
|
1748
|
+
* @return {ProductGroup} Das persistierte DTO
|
|
1749
|
+
*/
|
|
1750
|
+
store(toStore: ProductGroup): ProductGroup;
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* Aktualisiert ein persistiertes DTO
|
|
1754
|
+
*
|
|
1755
|
+
* @param {ProductGroup} toUpdate - Die zu aktualisierende Entity
|
|
1756
|
+
* @return {ProductGroup} Das aktualisierte DTO
|
|
1757
|
+
*/
|
|
1758
|
+
update(toUpdate: ProductGroup): ProductGroup;
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
1763
|
+
*/
|
|
1764
|
+
export interface ProductMainGroupScriptingService {
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* Aktiviert ein DTO
|
|
1768
|
+
*
|
|
1769
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
1770
|
+
* @return {ProductMainGroup} Das aktivierte DTO
|
|
1771
|
+
*/
|
|
1772
|
+
activate(idToActivate: number): ProductMainGroup;
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* Persistiert ein DTO
|
|
1776
|
+
*
|
|
1777
|
+
* @param {ProductMainGroup} toCreate - Das zu persistierende DTO
|
|
1778
|
+
* @return {ProductMainGroup} Das persistierte DTO
|
|
1779
|
+
*/
|
|
1780
|
+
create(toCreate: ProductMainGroup): ProductMainGroup;
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Deaktiviert ein DTO
|
|
1784
|
+
*
|
|
1785
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
1786
|
+
* @return {ProductMainGroup} Das deaktivierte DTO
|
|
1787
|
+
*/
|
|
1788
|
+
deactivate(idToDeactivate: number): ProductMainGroup;
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Löscht eine Entity
|
|
1792
|
+
*
|
|
1793
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
1794
|
+
*/
|
|
1795
|
+
deleteById(id: number): void;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Erstellt eine neue DTO-Instanz
|
|
1799
|
+
*
|
|
1800
|
+
* @return {ProductMainGroup} Die neue DTO-Instanz
|
|
1801
|
+
*/
|
|
1802
|
+
getNewDto(): ProductMainGroup;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Liest eine Liste von DTOs
|
|
1806
|
+
*
|
|
1807
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1808
|
+
* @return {Array<ProductMainGroup>} Die Liste der gelesenen DTOs
|
|
1809
|
+
*/
|
|
1810
|
+
readAllById(ids: Array<number>): Array<ProductMainGroup>;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Liest ein DTO
|
|
1814
|
+
*
|
|
1815
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1816
|
+
* @return {ProductMainGroup} Das gelesene DTO
|
|
1817
|
+
*/
|
|
1818
|
+
readById(id: number): ProductMainGroup;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Liest eine Hauptwarengruppe über ihr Label
|
|
1822
|
+
*
|
|
1823
|
+
* @param {string} label - Label einer Hauptwarengruppe
|
|
1824
|
+
* @return {ProductMainGroup} Die gelesene Hauptwarengruppe
|
|
1825
|
+
*/
|
|
1826
|
+
readByLabel(label: string): ProductMainGroup;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Persistiert eine DTO
|
|
1830
|
+
*
|
|
1831
|
+
* @param {ProductMainGroup} toStore - Das zu persistierende DTO
|
|
1832
|
+
* @return {ProductMainGroup} Das persistierte DTO
|
|
1833
|
+
*/
|
|
1834
|
+
store(toStore: ProductMainGroup): ProductMainGroup;
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* Aktualisiert ein persistiertes DTO
|
|
1838
|
+
*
|
|
1839
|
+
* @param {ProductMainGroup} toUpdate - Die zu aktualisierende Entity
|
|
1840
|
+
* @return {ProductMainGroup} Das aktualisierte DTO
|
|
1841
|
+
*/
|
|
1842
|
+
update(toUpdate: ProductMainGroup): ProductMainGroup;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Service zur Verarbeitung von Produktpreisen in Skripten
|
|
1847
|
+
*/
|
|
1848
|
+
export interface ProductPriceScriptingService {
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* Legt eine neue Einkaufspreisregel an
|
|
1852
|
+
*
|
|
1853
|
+
* @param {ProductDiscount} productDiscount - Die anzulegende Einkaufspreisregel
|
|
1854
|
+
* @return {ProductDiscount} Die angelegte Preisregel
|
|
1855
|
+
*/
|
|
1856
|
+
createPurchaseDiscount(productDiscount: ProductDiscount): ProductDiscount;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Legt einen neuen Einkaufspreis an
|
|
1860
|
+
*
|
|
1861
|
+
* @param {ProductPrice} productPrice - Der anzulegende Einkaufspreis
|
|
1862
|
+
* @return {ProductPrice} Der angelegte Einkaufspreis
|
|
1863
|
+
*/
|
|
1864
|
+
createPurchasePrice(productPrice: ProductPrice): ProductPrice;
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* Legt eine neue Verkaufspreisregel
|
|
1868
|
+
*
|
|
1869
|
+
* @param {ProductDiscount} productDiscount - Die anzulegende Verkaufspreisregel
|
|
1870
|
+
* @return {ProductDiscount} Die angelegte Preisregel
|
|
1871
|
+
*/
|
|
1872
|
+
createSalesDiscount(productDiscount: ProductDiscount): ProductDiscount;
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* Legt einen neuen Verkaufspreis an
|
|
1876
|
+
*
|
|
1877
|
+
* @param {ProductPrice} productPrice - Der anzulegende Verkaufspreis
|
|
1878
|
+
* @return {ProductPrice} Der angelegte Verkaufspreis
|
|
1879
|
+
*/
|
|
1880
|
+
createSalesPrice(productPrice: ProductPrice): ProductPrice;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Löscht eine Entity
|
|
1884
|
+
*
|
|
1885
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
1886
|
+
*/
|
|
1887
|
+
deleteById(id: number): void;
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Löscht einen Preis oder eine Preisregel
|
|
1891
|
+
*
|
|
1892
|
+
* @param {number} priceOrDiscountId - ID eines Preises oder einer Preisregel
|
|
1893
|
+
*/
|
|
1894
|
+
deletePriceOrDiscountById(priceOrDiscountId: number): void;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Erstellt eine neue Preisregel-DTO-Instanz
|
|
1898
|
+
*
|
|
1899
|
+
* @return {ProductDiscount} Die neue Preisregel-DTO-Instanz
|
|
1900
|
+
*/
|
|
1901
|
+
getNewDiscountDto(): ProductDiscount;
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* Erstellt eine neue DTO-Instanz
|
|
1905
|
+
*
|
|
1906
|
+
* @return {ProductPrice} Die neue DTO-Instanz
|
|
1907
|
+
*/
|
|
1908
|
+
getNewDto(): ProductPrice;
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* Erstellt eine neue Preis-DTO-Instanz
|
|
1912
|
+
*
|
|
1913
|
+
* @return {ProductPrice} Die neue Preis-DTO-Instanz
|
|
1914
|
+
*/
|
|
1915
|
+
getNewPriceDto(): ProductPrice;
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Liefert alle Einkaufspreisregeln zu einem Artikel und Account
|
|
1919
|
+
*
|
|
1920
|
+
* @param {number} articleId - ID des Artikels
|
|
1921
|
+
* @param {number} accountId - ID des Accounts
|
|
1922
|
+
* @return {Array<ProductDiscount>} Liste der Einkaufspreisregeln
|
|
1923
|
+
*/
|
|
1924
|
+
getPurchaseDiscounts(articleId: number, accountId: number): Array<ProductDiscount>;
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* Liefert alle Einkaufspreisregeln zu einem Artikel und Account und Währung
|
|
1928
|
+
*
|
|
1929
|
+
* @param {number} articleId - ID des Artikels
|
|
1930
|
+
* @param {number} accountId - ID des Accounts
|
|
1931
|
+
* @param {number} currencyId - ID der Währung
|
|
1932
|
+
* @return {Array<ProductDiscount>} Liste der Einkaufspreisregeln
|
|
1933
|
+
*/
|
|
1934
|
+
getPurchaseDiscountsForCurrency(articleId: number, accountId: number, currencyId: number): Array<ProductDiscount>;
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Liefert alle Einkaufspreisregeln zu einem Account
|
|
1938
|
+
*
|
|
1939
|
+
* @param {number} accountId - ID des Accounts
|
|
1940
|
+
* @return {Array<ProductDiscount>} Liste der Einkaufspreisregeln
|
|
1941
|
+
*/
|
|
1942
|
+
getPurchaseDiscountsToAccount(accountId: number): Array<ProductDiscount>;
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* Liefert alle Einkaufspreisregeln zu einem Artikel
|
|
1946
|
+
*
|
|
1947
|
+
* @param {number} articleId - ID des Artikels
|
|
1948
|
+
* @return {Array<ProductDiscount>} Liste der Einkaufspreisregeln
|
|
1949
|
+
*/
|
|
1950
|
+
getPurchaseDiscountsToArticle(articleId: number): Array<ProductDiscount>;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Liefert alle Einkaufspreise zu einem Artikel und Account
|
|
1954
|
+
*
|
|
1955
|
+
* @param {number} articleId - ID des Artikels
|
|
1956
|
+
* @param {number} accountId - ID des Accounts
|
|
1957
|
+
* @return {Array<ProductPrice>} Liste der Einkaufspreise
|
|
1958
|
+
*/
|
|
1959
|
+
getPurchasePrices(articleId: number, accountId: number): Array<ProductPrice>;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Liefert alle Einkaufspreise zu einem Artikel und Account und Währung
|
|
1963
|
+
*
|
|
1964
|
+
* @param {number} articleId - ID des Artikels
|
|
1965
|
+
* @param {number} accountId - ID des Accounts
|
|
1966
|
+
* @param {number} currencyId - ID der Währung
|
|
1967
|
+
* @return {Array<ProductPrice>} Liste der Einkaufspreise
|
|
1968
|
+
*/
|
|
1969
|
+
getPurchasePricesForCurrency(articleId: number, accountId: number, currencyId: number): Array<ProductPrice>;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Liefert alle Einkaufspreise zu einem Account
|
|
1973
|
+
*
|
|
1974
|
+
* @param {number} accountId - ID des Accounts
|
|
1975
|
+
* @return {Array<ProductPrice>} Liste der Einkaufspreise
|
|
1976
|
+
*/
|
|
1977
|
+
getPurchasePricesToAccount(accountId: number): Array<ProductPrice>;
|
|
1978
|
+
|
|
1979
|
+
/**
|
|
1980
|
+
* Liefert alle Einkaufspreise zu einem Artikel
|
|
1981
|
+
*
|
|
1982
|
+
* @param {number} articleId - ID des Artikels
|
|
1983
|
+
* @return {Array<ProductPrice>} Liste der Einkaufspreise
|
|
1984
|
+
*/
|
|
1985
|
+
getPurchasePricesToArticle(articleId: number): Array<ProductPrice>;
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* Liefert alle Verkaufspreisregeln zu einem Artikel und Account
|
|
1989
|
+
*
|
|
1990
|
+
* @param {number} articleId - ID des Artikels
|
|
1991
|
+
* @param {number} accountId - ID des Accounts
|
|
1992
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
1993
|
+
*/
|
|
1994
|
+
getSalesDiscounts(articleId: number, accountId: number): Array<ProductDiscount>;
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Liefert alle Verkaufspreisregeln zu einem Artikel und Account und Währung
|
|
1998
|
+
*
|
|
1999
|
+
* @param {number} articleId - ID des Artikels
|
|
2000
|
+
* @param {number} accountId - ID des Accounts
|
|
2001
|
+
* @param {number} currencyId - ID der Währung
|
|
2002
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
2003
|
+
*/
|
|
2004
|
+
getSalesDiscountsForCurrency(articleId: number, accountId: number, currencyId: number): Array<ProductDiscount>;
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Liefert alle Verkaufspreisregeln zu einem Account
|
|
2008
|
+
*
|
|
2009
|
+
* @param {number} accountId - ID des Accounts
|
|
2010
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
2011
|
+
*/
|
|
2012
|
+
getSalesDiscountsToAccount(accountId: number): Array<ProductDiscount>;
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Liefert alle Verkaufspreisregeln zu einem Account und Währung
|
|
2016
|
+
*
|
|
2017
|
+
* @param {number} accountId - ID des Accounts
|
|
2018
|
+
* @param {number} currencyId - ID der Währung
|
|
2019
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
2020
|
+
*/
|
|
2021
|
+
getSalesDiscountsToAccountForCurrency(accountId: number, currencyId: number): Array<ProductDiscount>;
|
|
2022
|
+
|
|
2023
|
+
/**
|
|
2024
|
+
* Liefert alle Account-unabhängigen Verkaufspreisregeln zu einem Artikel
|
|
2025
|
+
*
|
|
2026
|
+
* @param {number} articleId - ID des Artikels
|
|
2027
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
2028
|
+
*/
|
|
2029
|
+
getSalesDiscountsToArticle(articleId: number): Array<ProductDiscount>;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Liefert alle Account-unabhängigen Verkaufspreisregeln zu einem Artikel und Währung
|
|
2033
|
+
*
|
|
2034
|
+
* @param {number} articleId - ID des Artikels
|
|
2035
|
+
* @param {number} currencyId - ID der Währung
|
|
2036
|
+
* @return {Array<ProductDiscount>} Liste der Verkaufspreisregeln
|
|
2037
|
+
*/
|
|
2038
|
+
getSalesDiscountsToArticleForCurrency(articleId: number, currencyId: number): Array<ProductDiscount>;
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* Liefert alle Verkaufspreise zu einem Artikel und Account
|
|
2042
|
+
*
|
|
2043
|
+
* @param {number} articleId - ID des Artikels
|
|
2044
|
+
* @param {number} accountId - ID des Accounts
|
|
2045
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2046
|
+
*/
|
|
2047
|
+
getSalesPrices(articleId: number, accountId: number): Array<ProductPrice>;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Liefert alle Verkaufspreise zu einem Artikel und Account und Währung
|
|
2051
|
+
*
|
|
2052
|
+
* @param {number} articleId - ID des Artikels
|
|
2053
|
+
* @param {number} accountId - ID des Accounts
|
|
2054
|
+
* @param {number} currencyId - ID der Währung
|
|
2055
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2056
|
+
*/
|
|
2057
|
+
getSalesPricesForCurrency(articleId: number, accountId: number, currencyId: number): Array<ProductPrice>;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* Liefert alle Verkaufspreise zu einem Account
|
|
2061
|
+
*
|
|
2062
|
+
* @param {number} accountId - ID des Accounts
|
|
2063
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2064
|
+
*/
|
|
2065
|
+
getSalesPricesToAccount(accountId: number): Array<ProductPrice>;
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* Liefert alle Verkaufspreise zu einem Account und Währung
|
|
2069
|
+
*
|
|
2070
|
+
* @param {number} accountId - ID des Accounts
|
|
2071
|
+
* @param {number} currencyId - ID der Währung
|
|
2072
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2073
|
+
*/
|
|
2074
|
+
getSalesPricesToAccountForCurrency(accountId: number, currencyId: number): Array<ProductPrice>;
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* Liefert alle Account-unabhängigen Verkaufspreise zu einem Artikel
|
|
2078
|
+
*
|
|
2079
|
+
* @param {number} articleId - ID des Artikels
|
|
2080
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2081
|
+
*/
|
|
2082
|
+
getSalesPricesToArticle(articleId: number): Array<ProductPrice>;
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* Liefert alle Account-unabhängigen Verkaufspreise zu einem Artikel und Währung
|
|
2086
|
+
*
|
|
2087
|
+
* @param {number} articleId - ID des Artikels
|
|
2088
|
+
* @param {number} currencyId - ID der Währung
|
|
2089
|
+
* @return {Array<ProductPrice>} Liste der Verkaufspreise
|
|
2090
|
+
*/
|
|
2091
|
+
getSalesPricesToArticleForCurrency(articleId: number, currencyId: number): Array<ProductPrice>;
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* Liest eine Liste von DTOs
|
|
2095
|
+
*
|
|
2096
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
2097
|
+
* @return {Array<ProductPrice>} Die Liste der gelesenen DTOs
|
|
2098
|
+
*/
|
|
2099
|
+
readAllById(ids: Array<number>): Array<ProductPrice>;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Liest ein DTO
|
|
2103
|
+
*
|
|
2104
|
+
* @param {number} id - ID vom zu lesenden Preis
|
|
2105
|
+
* @return {ProductPrice} Das gelesene DTO
|
|
2106
|
+
*/
|
|
2107
|
+
readById(id: number): ProductPrice;
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* Liest eine Preisregel
|
|
2111
|
+
*
|
|
2112
|
+
* @param {number} priceId - ID einer Preisregel
|
|
2113
|
+
* @return {ProductDiscount} Die gelesene Preisregel
|
|
2114
|
+
*/
|
|
2115
|
+
readDiscountById(priceId: number): ProductDiscount;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Liest einen Preis
|
|
2119
|
+
*
|
|
2120
|
+
* @param {number} priceId - ID eines Preises
|
|
2121
|
+
* @return {ProductPrice} Der gelesene Preis
|
|
2122
|
+
*/
|
|
2123
|
+
readPriceById(priceId: number): ProductPrice;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* Aktualisiert ein persistiertes DTO
|
|
2127
|
+
*
|
|
2128
|
+
* @param {ProductPrice} toUpdate - Die zu aktualisierende Entity
|
|
2129
|
+
* @return {ProductPrice} Das aktualisierte DTO
|
|
2130
|
+
*/
|
|
2131
|
+
update(toUpdate: ProductPrice): ProductPrice;
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* Aktualisiert eine Einkaufspreisregel
|
|
2135
|
+
*
|
|
2136
|
+
* @param {ProductDiscount} productDiscount - Die zu aktualisierende Einkaufspreisregel
|
|
2137
|
+
* @return {ProductDiscount} Die aktualisierte Einkaufspreisregel
|
|
2138
|
+
*/
|
|
2139
|
+
updatePurchaseDiscount(productDiscount: ProductDiscount): ProductDiscount;
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Aktualisiert einen Einkaufspreis
|
|
2143
|
+
*
|
|
2144
|
+
* @param {ProductPrice} productPrice - Der zu aktualisierende Einkaufspreis
|
|
2145
|
+
* @return {ProductPrice} Der aktualisierte Einkaufspreis
|
|
2146
|
+
*/
|
|
2147
|
+
updatePurchasePrice(productPrice: ProductPrice): ProductPrice;
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* Aktualisiert eine Verkaufspreisregel
|
|
2151
|
+
*
|
|
2152
|
+
* @param {ProductDiscount} productDiscount - Die zu aktualisierende Verkaufspreisregel
|
|
2153
|
+
* @return {ProductDiscount} Die aktualisierte Verkaufspreisregel
|
|
2154
|
+
*/
|
|
2155
|
+
updateSalesDiscount(productDiscount: ProductDiscount): ProductDiscount;
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* Aktualisiert einen Verkaufspreis
|
|
2159
|
+
*
|
|
2160
|
+
* @param {ProductPrice} productPrice - Der zu aktualisierende Verkaufspreis
|
|
2161
|
+
* @return {ProductPrice} Der aktualisierte Verkaufspreis
|
|
2162
|
+
*/
|
|
2163
|
+
updateSalesPrice(productPrice: ProductPrice): ProductPrice;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* Service zur Verarbeitung von ScenarioActualValue
|
|
2168
|
+
*/
|
|
2169
|
+
export interface ScenarioScriptingService {
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* Erstellt ein ScenarioActualValue
|
|
2173
|
+
*
|
|
2174
|
+
* @param {ScenarioActualValue} toCreate - Das zu erstellende Actual-Value
|
|
2175
|
+
* @return {ScenarioActualValue} Das erstellte Actual-Value
|
|
2176
|
+
*/
|
|
2177
|
+
createScenarioActualValue(toCreate: ScenarioActualValue): ScenarioActualValue;
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* Findet ein ScenarioActualValue über die ID
|
|
2181
|
+
*
|
|
2182
|
+
* @param {number} actualValueId - ID von einem Actual-Value
|
|
2183
|
+
* @return {ScenarioActualValue} Das gefundene ScenarioActualValue oder null
|
|
2184
|
+
*/
|
|
2185
|
+
findScenarioActualValueById(actualValueId: number): ScenarioActualValue;
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Liest eine Liste von ScenarioActualValue gemäß der Selektion
|
|
2189
|
+
*
|
|
2190
|
+
* @param {number} referenceId - Eine Referenz-ID
|
|
2191
|
+
* @param {string} scenarioDimKey - Optional: Schlüssel einer Scenario-Dimension
|
|
2192
|
+
* @param {string} scenarioIdentifier - Optional: Identifier eines Scenarios
|
|
2193
|
+
* @return {Array<ScenarioActualValue>} Die gelesenen ScenarioActualValue
|
|
2194
|
+
*/
|
|
2195
|
+
findScenarioActualValuesBySelection(referenceId: number, scenarioDimKey: string, scenarioIdentifier: string): Array<ScenarioActualValue>;
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Findet ein Scenario über die ID
|
|
2199
|
+
*
|
|
2200
|
+
* @param {number} scenarioId - ID eines Scenarios
|
|
2201
|
+
* @return {Scenario} Das gefundene Scenario oder null
|
|
2202
|
+
*/
|
|
2203
|
+
findScenarioById(scenarioId: number): Scenario;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Findet ein Scenario über den Identifier
|
|
2207
|
+
*
|
|
2208
|
+
* @param {string} scenarioIdentifier - Identifier eines Scenarios
|
|
2209
|
+
* @return {Scenario} Das gefundene Scenario oder null
|
|
2210
|
+
*/
|
|
2211
|
+
findScenarioByIdentifer(scenarioIdentifier: string): Scenario;
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* Findet ein Scenario über das Label
|
|
2215
|
+
*
|
|
2216
|
+
* @param {string} scenarioLabel - Label eines Scenarios
|
|
2217
|
+
* @return {Scenario} Das gefundene Scenario oder null
|
|
2218
|
+
*/
|
|
2219
|
+
findScenarioByLabel(scenarioLabel: string): Scenario;
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* Findet eine Scenario-Dimension über die ID
|
|
2223
|
+
*
|
|
2224
|
+
* @param {Scenario} scenario - Ein Scenario, in dem gesucht werden soll
|
|
2225
|
+
* @param {number} scenarioDimensionId - ID einer Scenario-Dimension
|
|
2226
|
+
* @return {ScenarioDimension} Die gefundene Scenario-Dimension oder null
|
|
2227
|
+
*/
|
|
2228
|
+
findScenarioDimensionById(scenario: Scenario, scenarioDimensionId: number): ScenarioDimension;
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Findet eine Scenario-Dimension über den Key
|
|
2232
|
+
*
|
|
2233
|
+
* @param {Scenario} scenario - Ein Scenario, in dem gesucht werden soll
|
|
2234
|
+
* @param {string} scenarioDimensionKey - Key einer Scenario-Dimension
|
|
2235
|
+
* @return {ScenarioDimension} Die gefundene Scenario-Dimension oder null
|
|
2236
|
+
*/
|
|
2237
|
+
findScenarioDimensionByKey(scenario: Scenario, scenarioDimensionKey: string): ScenarioDimension;
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* Findet einen Scenario-Dimension-Wert über die ID
|
|
2241
|
+
*
|
|
2242
|
+
* @param {ScenarioDimension} scenarioDimension - Eine Scenario-Dimension, in der gesucht werden soll
|
|
2243
|
+
* @param {number} scenarioDimensionValueId - ID eines Scenario-Dimension-Werts
|
|
2244
|
+
* @return {ScenarioDimensionValue} Der gefundene Scenario-Dimension-Wert oder null
|
|
2245
|
+
*/
|
|
2246
|
+
findScenarioDimensionValueById(scenarioDimension: ScenarioDimension, scenarioDimensionValueId: number): ScenarioDimensionValue;
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* Findet einen Scenario-Dimension-Wert über das Label
|
|
2250
|
+
*
|
|
2251
|
+
* @param {ScenarioDimension} scenarioDimension - Eine Scenario-Dimension, in der gesucht werden soll
|
|
2252
|
+
* @param {string} scenarioDimensionValueLabel - Label eines Scenario-Dimension-Werts
|
|
2253
|
+
* @return {ScenarioDimensionValue} Der gefundene Scenario-Dimension-Wert oder null
|
|
2254
|
+
*/
|
|
2255
|
+
findScenarioDimensionValueByLabel(scenarioDimension: ScenarioDimension, scenarioDimensionValueLabel: string): ScenarioDimensionValue;
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Erstellt ein neues ScenarioActualValue-DTO
|
|
2259
|
+
*
|
|
2260
|
+
* @return {ScenarioActualValue} Ein ScenarioActualValue-DTO
|
|
2261
|
+
*/
|
|
2262
|
+
getNewActualValueDTO(): ScenarioActualValue;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* Aktualisiert ein ScenarioActualValue
|
|
2266
|
+
*
|
|
2267
|
+
* @param {ScenarioActualValue} toUpdate - Das zu aktualisierende Actual-Value
|
|
2268
|
+
* @return {ScenarioActualValue} Das aktualisierte Actual-Value
|
|
2269
|
+
*/
|
|
2270
|
+
updateScenarioActualValue(toUpdate: ScenarioActualValue): ScenarioActualValue;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Ausgabe-Support Methoden
|
|
2275
|
+
*/
|
|
2276
|
+
export interface ScriptOutputHelperService {
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* Erzeugt einen neuen Output-Request
|
|
2280
|
+
*
|
|
2281
|
+
* @return {ScriptOutputRequest} den Request
|
|
2282
|
+
*/
|
|
2283
|
+
createOutputRequest(): ScriptOutputRequest;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Services
|
|
2288
|
+
*/
|
|
2289
|
+
export interface ScriptingServiceList {
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* Service zur Verarbeitung von Text-Enumerationen
|
|
2293
|
+
*/
|
|
2294
|
+
textEnumerationService: TextEnumerationScriptingService;
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* Service zur Verarbeitung von CRM-Aufgaben
|
|
2298
|
+
*/
|
|
2299
|
+
crmTaskService: CrmTaskScriptingService;
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* Service zur Verarbeitung von Accounts
|
|
2303
|
+
*/
|
|
2304
|
+
accountService: AccountScriptingService;
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2308
|
+
*/
|
|
2309
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* Verwaltung von Versandarten
|
|
2313
|
+
*/
|
|
2314
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Logging im Scripting
|
|
2318
|
+
*/
|
|
2319
|
+
logger: LoggingScriptingService;
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* Service zur Verarbeitung von Deals
|
|
2323
|
+
*/
|
|
2324
|
+
crmDealService: CrmDealScriptingService;
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Service zur Verarbeitung von Warengruppen im Skripten
|
|
2328
|
+
*/
|
|
2329
|
+
productGroupService: ProductGroupScriptingService;
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2333
|
+
*/
|
|
2334
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* Ausgabe-Support Methoden
|
|
2338
|
+
*/
|
|
2339
|
+
outputHelper: ScriptOutputHelperService;
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* Erstellt DTOs zur Verwendung im Skript
|
|
2343
|
+
*/
|
|
2344
|
+
dtoFactory: dtoFactory;
|
|
2345
|
+
|
|
2346
|
+
/**
|
|
2347
|
+
* Service zur Verarbeitung von Produktpreisen in Skripten
|
|
2348
|
+
*/
|
|
2349
|
+
priceService: ProductPriceScriptingService;
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Hilfsmethoden zur Verwendung im Scripting
|
|
2353
|
+
*/
|
|
2354
|
+
utils: ScriptingUtilities;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Service zur Verarbeitung von Artikeln im Skripten
|
|
2358
|
+
*/
|
|
2359
|
+
articleService: ArticleScriptingService;
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* Service zur Verarbeitung von Belegen
|
|
2363
|
+
*/
|
|
2364
|
+
documentService: DocumentScriptingService;
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
2368
|
+
*/
|
|
2369
|
+
articleListingService: ArticleListingScriptingService;
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* Verwaltung von Zahlungsarten
|
|
2373
|
+
*/
|
|
2374
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2378
|
+
*/
|
|
2379
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Service zur Verarbeitung von ScenarioActualValue
|
|
2383
|
+
*/
|
|
2384
|
+
scenarioService: ScenarioScriptingService;
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* Service zur Verarbeitung von Accounts
|
|
2388
|
+
*/
|
|
2389
|
+
vqlService: VqlScriptingService;
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Lesen von Benutzern und Benutzergruppen
|
|
2393
|
+
*/
|
|
2394
|
+
userAndGroupService: UserAndGroupScriptingService;
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* Service zur Verarbeitung von CRM-Aktivitäten
|
|
2398
|
+
*/
|
|
2399
|
+
crmActivityService: CrmActivityScriptingService;
|
|
2400
|
+
|
|
2401
|
+
/**
|
|
2402
|
+
* Service zur Verwendung von Tags
|
|
2403
|
+
*/
|
|
2404
|
+
tagService: TagScriptingService;
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Verwaltung von Lieferbedingungen
|
|
2408
|
+
*/
|
|
2409
|
+
deliveryTermService: DeliveryTermScriptingService;
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* Verwaltung von CRM-Belegreferenzen
|
|
2413
|
+
*/
|
|
2414
|
+
crmDocumentRefService: CrmDocumentRefScriptingService;
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* Verwaltung von Zahlungsbedingungen
|
|
2418
|
+
*/
|
|
2419
|
+
paymentTermService: PaymentTermScriptingService;
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Service zur Verarbeitung von Artikel-Lieferantenbeziehungen im Skripten
|
|
2423
|
+
*/
|
|
2424
|
+
articleSupplierService: ArticleSupplierScriptingService;
|
|
2425
|
+
|
|
2426
|
+
/**
|
|
2427
|
+
* HTTP-Client im Scripting
|
|
2428
|
+
*/
|
|
2429
|
+
httpClientService: HttpClientScriptingService;
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* Service zur Verarbeitung von Projekten
|
|
2433
|
+
*/
|
|
2434
|
+
crmProjectService: CrmProjectScriptingService;
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* Service zur Verarbeitung von Mahnungen
|
|
2438
|
+
*/
|
|
2439
|
+
dunningService: DunningScriptingService;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Hilfsmethoden zur Verwendung im Scripting
|
|
2444
|
+
*/
|
|
2445
|
+
export interface ScriptingUtilities {
|
|
2446
|
+
|
|
2447
|
+
/**
|
|
2448
|
+
* Verkettet zwei Listen
|
|
2449
|
+
*
|
|
2450
|
+
* @param {Array<object>} firstList - Erste Liste
|
|
2451
|
+
* @param {Array<object>} secondList - Zweite Liste
|
|
2452
|
+
* @return {Array<object>} Die verketteten Listen als eine neue Liste
|
|
2453
|
+
*/
|
|
2454
|
+
concatLists(firstList: Array<object>, secondList: Array<object>): Array<object>;
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* Aktuelles Datum
|
|
2458
|
+
*
|
|
2459
|
+
* @return {ScriptingDate}
|
|
2460
|
+
*/
|
|
2461
|
+
dateNow(): ScriptingDate;
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* Aktueller Datum-Zeit-Wert
|
|
2465
|
+
*
|
|
2466
|
+
* @return {ScriptingDateTime}
|
|
2467
|
+
*/
|
|
2468
|
+
dateTimeNow(): ScriptingDateTime;
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Erstellt eine neue BigDecimal-Instanz
|
|
2472
|
+
*
|
|
2473
|
+
* @param {object} value - Der Quell-Wert
|
|
2474
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2475
|
+
* @return {number} Ein BigDecimal-Wert
|
|
2476
|
+
*/
|
|
2477
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* Erstellt eine neue BigDecimal-Instanz
|
|
2481
|
+
*
|
|
2482
|
+
* @param {object} value - Der Quell-Wert
|
|
2483
|
+
* @return {number} Ein BigDecimal-Wert
|
|
2484
|
+
*/
|
|
2485
|
+
newBigDecimal(value: object): number;
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Erstellt eine API-Referenz
|
|
2489
|
+
*
|
|
2490
|
+
* @param {object} source - Das Quell-Objekt
|
|
2491
|
+
* @return {ApiObjectReference} Die erstellte API-Referenz
|
|
2492
|
+
*/
|
|
2493
|
+
toApiReference(source: object): ApiObjectReference;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2498
|
+
*/
|
|
2499
|
+
export interface ShelfDocumentScriptingService {
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Erstellt eine neue Verknüpfung zwischen einem DMS-Dokument und einem Geschäftsobjekt
|
|
2503
|
+
*
|
|
2504
|
+
* @param {ShelfDocumentAttribution} attribution - Die zu erstellende Verknüpfung
|
|
2505
|
+
* @return {ShelfDocumentAttribution} Die erstellte Verknüpfung
|
|
2506
|
+
*/
|
|
2507
|
+
createAttribution(attribution: ShelfDocumentAttribution): ShelfDocumentAttribution;
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* Löscht eine DMS-Verknüpfung
|
|
2511
|
+
*
|
|
2512
|
+
* @param {number} attributionId - ID der Verknüpfung
|
|
2513
|
+
*/
|
|
2514
|
+
deleteAttribution(attributionId: number): void;
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* Findet ein Dokumentenart über ihren Schlüssel
|
|
2518
|
+
*
|
|
2519
|
+
* @param {string} key - Der Schlüssel einer Dokumentenart
|
|
2520
|
+
* @return {ShelfDocumentType} Die gefundene Dokumentenart
|
|
2521
|
+
*/
|
|
2522
|
+
findShelfDocumentTypeByKey(key: string): ShelfDocumentType;
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Liest eine Liste von DTOs
|
|
2526
|
+
*
|
|
2527
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
2528
|
+
* @return {Array<ShelfDocument>} Die Liste der gelesenen DTOs
|
|
2529
|
+
*/
|
|
2530
|
+
readAllById(ids: Array<number>): Array<ShelfDocument>;
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Liest ein DTO
|
|
2534
|
+
*
|
|
2535
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
2536
|
+
* @return {ShelfDocument} Das gelesene DTO
|
|
2537
|
+
*/
|
|
2538
|
+
readById(id: number): ShelfDocument;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Aktualisiert ein persistiertes DTO
|
|
2542
|
+
*
|
|
2543
|
+
* @param {ShelfDocument} toUpdate - Die zu aktualisierende Entity
|
|
2544
|
+
* @return {ShelfDocument} Das aktualisierte DTO
|
|
2545
|
+
*/
|
|
2546
|
+
update(toUpdate: ShelfDocument): ShelfDocument;
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Aktualisiert eine bestehende DMS-Verknüpfung
|
|
2550
|
+
*
|
|
2551
|
+
* @param {ShelfDocumentAttribution} attribution - Die zu aktualisierende Verknüpfung
|
|
2552
|
+
* @return {ShelfDocumentAttribution} Die aktualisierte Verknüpfung
|
|
2553
|
+
*/
|
|
2554
|
+
updateAttribution(attribution: ShelfDocumentAttribution): ShelfDocumentAttribution;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* Service zur Verwendung von Tags
|
|
2559
|
+
*/
|
|
2560
|
+
export interface TagScriptingService {
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Liest eine Liste von DTOs
|
|
2564
|
+
*
|
|
2565
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
2566
|
+
* @return {Array<TagDto>} Die Liste der gelesenen DTOs
|
|
2567
|
+
*/
|
|
2568
|
+
readAllById(ids: Array<number>): Array<TagDto>;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Liest ein DTO
|
|
2572
|
+
*
|
|
2573
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
2574
|
+
* @return {TagDto} Das gelesene DTO
|
|
2575
|
+
*/
|
|
2576
|
+
readById(id: number): TagDto;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* Service zur Verarbeitung von Text-Enumerationen
|
|
2581
|
+
*/
|
|
2582
|
+
export interface TextEnumerationScriptingService {
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Aktiviert eine Text-Enumeration
|
|
2586
|
+
*
|
|
2587
|
+
* @param {number} id - ID der zu aktivierenden Text-Enumeration
|
|
2588
|
+
* @return {TextEnumGet} Die aktivierte Text-Enumeration
|
|
2589
|
+
*/
|
|
2590
|
+
activate(id: number): TextEnumGet;
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* Erstellt eine Text-Enumeration
|
|
2594
|
+
*
|
|
2595
|
+
* @param {TextEnumCreate} toCreate - Die zu erstellende Text-Enumeration
|
|
2596
|
+
* @return {TextEnumGet} Die erstellte Text-Enumeration
|
|
2597
|
+
*/
|
|
2598
|
+
create(toCreate: TextEnumCreate): TextEnumGet;
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* Deaktiviert eine Text-Enumeration
|
|
2602
|
+
*
|
|
2603
|
+
* @param {number} id - ID der zu deaktivierenden Text-Enumeration
|
|
2604
|
+
* @return {TextEnumGet} Die deaktivierte Text-Enumeration
|
|
2605
|
+
*/
|
|
2606
|
+
deactivate(id: number): TextEnumGet;
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* Löscht eine Text-Enumeration
|
|
2610
|
+
*
|
|
2611
|
+
* @param {number} id - ID der zu löschenden Text-Enumeration
|
|
2612
|
+
*/
|
|
2613
|
+
deleteById(id: number): void;
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Erstellt eine neue DTO-Instanz zum Anlegen einer Text-Enumeration
|
|
2617
|
+
*
|
|
2618
|
+
* @return {TextEnumCreate} Die neue DTO-Instanz
|
|
2619
|
+
*/
|
|
2620
|
+
getNewCreateDto(): TextEnumCreate;
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Liest eine Liste von Text-Enumerationen über ihre IDs
|
|
2624
|
+
*
|
|
2625
|
+
* @param {Array<number>} ids - IDs der Text-Enumerationen
|
|
2626
|
+
* @return {Array<TextEnumGet>} Die Liste der gelesenen Text-Enumerationen
|
|
2627
|
+
*/
|
|
2628
|
+
readAllById(ids: Array<number>): Array<TextEnumGet>;
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Liest eine Text-Enumeration über ihre ID
|
|
2632
|
+
*
|
|
2633
|
+
* @param {number} id - ID der Text-Enumeration
|
|
2634
|
+
* @return {TextEnumGet} Die gelesene Text-Enumeration
|
|
2635
|
+
*/
|
|
2636
|
+
readById(id: number): TextEnumGet;
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Aktualisiert eine Text-Enumeration
|
|
2640
|
+
*
|
|
2641
|
+
* @param {TextEnumGet} toUpdate - Die zu aktualisierende Text-Enumeration
|
|
2642
|
+
* @return {TextEnumGet} Die aktualisierte Text-Enumeration
|
|
2643
|
+
*/
|
|
2644
|
+
update(toUpdate: TextEnumGet): TextEnumGet;
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Lesen von Benutzern und Benutzergruppen
|
|
2649
|
+
*/
|
|
2650
|
+
export interface UserAndGroupScriptingService {
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* Findet eine Benutzergruppe über ihre ID
|
|
2654
|
+
*
|
|
2655
|
+
* @param {number} groupId - ID einer Benutzergruppe
|
|
2656
|
+
* @return {Group} Die gefundene Benutzergruppe
|
|
2657
|
+
*/
|
|
2658
|
+
findGroupById(groupId: number): Group;
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* Findet eine Benutzergruppe über ihr Label
|
|
2662
|
+
*
|
|
2663
|
+
* @param {string} groupLabel - Label einer Benutzergruppe
|
|
2664
|
+
* @return {Group} Die gefundene Benutzergruppe
|
|
2665
|
+
*/
|
|
2666
|
+
findGroupByLabel(groupLabel: string): Group;
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Findet einen Benutzer über seine ID
|
|
2670
|
+
*
|
|
2671
|
+
* @param {number} userId - ID eines Benutzers
|
|
2672
|
+
* @return {User} Der gefundene Benutzer
|
|
2673
|
+
*/
|
|
2674
|
+
findUserById(userId: number): User;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Findet einen Benutzer über seinen Benutzernamen
|
|
2678
|
+
*
|
|
2679
|
+
* @param {string} userName - Benutzername
|
|
2680
|
+
* @return {User} Der gefundene Benutzer
|
|
2681
|
+
*/
|
|
2682
|
+
findUserByName(userName: string): User;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* Liefert den aktuellen Benutzer
|
|
2686
|
+
*
|
|
2687
|
+
* @return {User} Der aktuelle Benutzer
|
|
2688
|
+
*/
|
|
2689
|
+
getCurrentUser(): User;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* Service zur Verarbeitung von Accounts
|
|
2694
|
+
*/
|
|
2695
|
+
export interface VqlScriptingService {
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Führt eine VQL mit Parametern aus
|
|
2699
|
+
*
|
|
2700
|
+
* @param {string} vql - Die auszuführende VQL
|
|
2701
|
+
* @param {number} limit - Maximale Anzahl der Ergebnisdatensätze
|
|
2702
|
+
* @param {Map<string,Array<object>>} variablesWithValues - Variablen mit Werten für die Ausführung der VQL
|
|
2703
|
+
* @return {Array<Map<string,object>>} Das Ergebnis der VQL
|
|
2704
|
+
*/
|
|
2705
|
+
query(vql: string, limit: number, variablesWithValues: Map<string,Array<object>>): Array<Map<string,object>>;
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Führt eine VQL mit Parametern aus
|
|
2709
|
+
*
|
|
2710
|
+
* @param {string} vql - Die auszuführende VQL
|
|
2711
|
+
* @param {number} limit - Maximale Anzahl der Ergebnisdatensätze
|
|
2712
|
+
* @return {Array<Map<string,object>>} Das Ergebnis der VQL
|
|
2713
|
+
*/
|
|
2714
|
+
query(vql: string, limit: number): Array<Map<string,object>>;
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* Führt eine VQL mit Parametern aus
|
|
2718
|
+
*
|
|
2719
|
+
* @param {string} vql - Die auszuführende VQL
|
|
2720
|
+
* @return {Array<Map<string,object>>} Das Ergebnis der VQL
|
|
2721
|
+
*/
|
|
2722
|
+
queryAll(vql: string): Array<Map<string,object>>;
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* Führt eine VQL mit Parametern aus
|
|
2726
|
+
*
|
|
2727
|
+
* @param {string} vql - Die auszuführende VQL
|
|
2728
|
+
* @param {Map<string,Array<object>>} variablesWithValues - Variablen mit Werten für die Ausführung der VQL
|
|
2729
|
+
* @return {Array<Map<string,object>>} Das Ergebnis der VQL
|
|
2730
|
+
*/
|
|
2731
|
+
queryAll(vql: string, variablesWithValues: Map<string,Array<object>>): Array<Map<string,object>>;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Erstellt DTOs zur Verwendung im Skript
|
|
2736
|
+
*/
|
|
2737
|
+
export interface dtoFactory {
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* Erstellt einen neue Instanz von Account
|
|
2741
|
+
*
|
|
2742
|
+
* @return {Account} Neue Instanz von Account
|
|
2743
|
+
*/
|
|
2744
|
+
createAccount(): Account;
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Erstellt einen neue Instanz von AccountAddress
|
|
2748
|
+
*
|
|
2749
|
+
* @return {AccountAddress} Neue Instanz von AccountAddress
|
|
2750
|
+
*/
|
|
2751
|
+
createAccountAddress(): AccountAddress;
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Erstellt einen neue Instanz von AccountLoanValue
|
|
2755
|
+
*
|
|
2756
|
+
* @return {AccountLoanValue} Neue Instanz von AccountLoanValue
|
|
2757
|
+
*/
|
|
2758
|
+
createAccountLoanValue(): AccountLoanValue;
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* Erstellt einen neue Instanz von AccountPerson
|
|
2762
|
+
*
|
|
2763
|
+
* @return {AccountPerson} Neue Instanz von AccountPerson
|
|
2764
|
+
*/
|
|
2765
|
+
createAccountPerson(): AccountPerson;
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* Erstellt einen neue Instanz von AccountRelation
|
|
2769
|
+
*
|
|
2770
|
+
* @return {AccountRelation} Neue Instanz von AccountRelation
|
|
2771
|
+
*/
|
|
2772
|
+
createAccountRelation(): AccountRelation;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Erstellt einen neue Instanz von AdditionalParameter
|
|
2776
|
+
*
|
|
2777
|
+
* @return {AdditionalParameter} Neue Instanz von AdditionalParameter
|
|
2778
|
+
*/
|
|
2779
|
+
createAdditionalParameter(): AdditionalParameter;
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* Erstellt einen neue Instanz von ApiCreatableReference
|
|
2783
|
+
*
|
|
2784
|
+
* @return {ApiCreatableReference} Neue Instanz von ApiCreatableReference
|
|
2785
|
+
*/
|
|
2786
|
+
createApiCreatableReference(): ApiCreatableReference;
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Erstellt einen neue Instanz von ApiObjectReference
|
|
2790
|
+
*
|
|
2791
|
+
* @return {ApiObjectReference} Neue Instanz von ApiObjectReference
|
|
2792
|
+
*/
|
|
2793
|
+
createApiObjectReference(): ApiObjectReference;
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* Erstellt einen neue Instanz von Article
|
|
2797
|
+
*
|
|
2798
|
+
* @return {Article} Neue Instanz von Article
|
|
2799
|
+
*/
|
|
2800
|
+
createArticle(): Article;
|
|
2801
|
+
|
|
2802
|
+
/**
|
|
2803
|
+
* Erstellt einen neue Instanz von ArticleAvailabilityDetermination
|
|
2804
|
+
*
|
|
2805
|
+
* @return {ArticleAvailabilityDetermination} Neue Instanz von ArticleAvailabilityDetermination
|
|
2806
|
+
*/
|
|
2807
|
+
createArticleAvailabilityDetermination(): ArticleAvailabilityDetermination;
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* Erstellt einen neue Instanz von ArticleIdentifier
|
|
2811
|
+
*
|
|
2812
|
+
* @return {ArticleIdentifier} Neue Instanz von ArticleIdentifier
|
|
2813
|
+
*/
|
|
2814
|
+
createArticleIdentifier(): ArticleIdentifier;
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* Erstellt einen neue Instanz von ArticlePrintLabelSettings
|
|
2818
|
+
*
|
|
2819
|
+
* @return {ArticlePrintLabelSettings} Neue Instanz von ArticlePrintLabelSettings
|
|
2820
|
+
*/
|
|
2821
|
+
createArticlePrintLabelSettings(): ArticlePrintLabelSettings;
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* Erstellt einen neue Instanz von ArticleSerialNumber
|
|
2825
|
+
*
|
|
2826
|
+
* @return {ArticleSerialNumber} Neue Instanz von ArticleSerialNumber
|
|
2827
|
+
*/
|
|
2828
|
+
createArticleSerialNumber(): ArticleSerialNumber;
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* Erstellt einen neue Instanz von Contact
|
|
2832
|
+
*
|
|
2833
|
+
* @return {Contact} Neue Instanz von Contact
|
|
2834
|
+
*/
|
|
2835
|
+
createContact(): Contact;
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* Erstellt einen neue Instanz von CountryReference
|
|
2839
|
+
*
|
|
2840
|
+
* @return {CountryReference} Neue Instanz von CountryReference
|
|
2841
|
+
*/
|
|
2842
|
+
createCountryReference(): CountryReference;
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* Erstellt einen neue Instanz von CreateNewDocumentRequest
|
|
2846
|
+
*
|
|
2847
|
+
* @return {CreateNewDocumentRequest} Neue Instanz von CreateNewDocumentRequest
|
|
2848
|
+
*/
|
|
2849
|
+
createCreateNewDocumentRequest(): CreateNewDocumentRequest;
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Erstellt einen neue Instanz von CrmActivity
|
|
2853
|
+
*
|
|
2854
|
+
* @return {CrmActivity} Neue Instanz von CrmActivity
|
|
2855
|
+
*/
|
|
2856
|
+
createCrmActivity(): CrmActivity;
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Erstellt einen neue Instanz von CrmActivityType
|
|
2860
|
+
*
|
|
2861
|
+
* @return {CrmActivityType} Neue Instanz von CrmActivityType
|
|
2862
|
+
*/
|
|
2863
|
+
createCrmActivityType(): CrmActivityType;
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* Erstellt einen neue Instanz von CrmChecklistItem
|
|
2867
|
+
*
|
|
2868
|
+
* @return {CrmChecklistItem} Neue Instanz von CrmChecklistItem
|
|
2869
|
+
*/
|
|
2870
|
+
createCrmChecklistItem(): CrmChecklistItem;
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* Erstellt einen neue Instanz von CrmDeal
|
|
2874
|
+
*
|
|
2875
|
+
* @return {CrmDeal} Neue Instanz von CrmDeal
|
|
2876
|
+
*/
|
|
2877
|
+
createCrmDeal(): CrmDeal;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Erstellt einen neue Instanz von CrmObjectRef
|
|
2881
|
+
*
|
|
2882
|
+
* @return {CrmObjectRef} Neue Instanz von CrmObjectRef
|
|
2883
|
+
*/
|
|
2884
|
+
createCrmObjectRef(): CrmObjectRef;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* Erstellt einen neue Instanz von CrmParticipant
|
|
2888
|
+
*
|
|
2889
|
+
* @return {CrmParticipant} Neue Instanz von CrmParticipant
|
|
2890
|
+
*/
|
|
2891
|
+
createCrmParticipant(): CrmParticipant;
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* Erstellt einen neue Instanz von CrmProject
|
|
2895
|
+
*
|
|
2896
|
+
* @return {CrmProject} Neue Instanz von CrmProject
|
|
2897
|
+
*/
|
|
2898
|
+
createCrmProject(): CrmProject;
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* Erstellt einen neue Instanz von CrmReference
|
|
2902
|
+
*
|
|
2903
|
+
* @return {CrmReference} Neue Instanz von CrmReference
|
|
2904
|
+
*/
|
|
2905
|
+
createCrmReference(): CrmReference;
|
|
2906
|
+
|
|
2907
|
+
/**
|
|
2908
|
+
* Erstellt einen neue Instanz von CrmReminder
|
|
2909
|
+
*
|
|
2910
|
+
* @return {CrmReminder} Neue Instanz von CrmReminder
|
|
2911
|
+
*/
|
|
2912
|
+
createCrmReminder(): CrmReminder;
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* Erstellt einen neue Instanz von CrmState
|
|
2916
|
+
*
|
|
2917
|
+
* @return {CrmState} Neue Instanz von CrmState
|
|
2918
|
+
*/
|
|
2919
|
+
createCrmState(): CrmState;
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Erstellt einen neue Instanz von CrmSubType
|
|
2923
|
+
*
|
|
2924
|
+
* @return {CrmSubType} Neue Instanz von CrmSubType
|
|
2925
|
+
*/
|
|
2926
|
+
createCrmSubType(): CrmSubType;
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* Erstellt einen neue Instanz von CrmTask
|
|
2930
|
+
*
|
|
2931
|
+
* @return {CrmTask} Neue Instanz von CrmTask
|
|
2932
|
+
*/
|
|
2933
|
+
createCrmTask(): CrmTask;
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Erstellt einen neue Instanz von Customer
|
|
2937
|
+
*
|
|
2938
|
+
* @return {Customer} Neue Instanz von Customer
|
|
2939
|
+
*/
|
|
2940
|
+
createCustomer(): Customer;
|
|
2941
|
+
|
|
2942
|
+
/**
|
|
2943
|
+
* Erstellt einen neue Instanz von PicklistTemplate$DateRange
|
|
2944
|
+
*
|
|
2945
|
+
* @return {PicklistTemplate$DateRange} Neue Instanz von PicklistTemplate$DateRange
|
|
2946
|
+
*/
|
|
2947
|
+
createDateRange(): PicklistTemplate$DateRange;
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* Erstellt einen neue Instanz von Document
|
|
2951
|
+
*
|
|
2952
|
+
* @return {Document} Neue Instanz von Document
|
|
2953
|
+
*/
|
|
2954
|
+
createDocument(): Document;
|
|
2955
|
+
|
|
2956
|
+
/**
|
|
2957
|
+
* Erstellt einen neue Instanz von DocumentAdditionalInfo
|
|
2958
|
+
*
|
|
2959
|
+
* @return {DocumentAdditionalInfo} Neue Instanz von DocumentAdditionalInfo
|
|
2960
|
+
*/
|
|
2961
|
+
createDocumentAdditionalInfo(): DocumentAdditionalInfo;
|
|
2962
|
+
|
|
2963
|
+
/**
|
|
2964
|
+
* Erstellt einen neue Instanz von DocumentAddress
|
|
2965
|
+
*
|
|
2966
|
+
* @return {DocumentAddress} Neue Instanz von DocumentAddress
|
|
2967
|
+
*/
|
|
2968
|
+
createDocumentAddress(): DocumentAddress;
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* Erstellt einen neue Instanz von DocumentContractDetail
|
|
2972
|
+
*
|
|
2973
|
+
* @return {DocumentContractDetail} Neue Instanz von DocumentContractDetail
|
|
2974
|
+
*/
|
|
2975
|
+
createDocumentContractDetail(): DocumentContractDetail;
|
|
2976
|
+
|
|
2977
|
+
/**
|
|
2978
|
+
* Erstellt einen neue Instanz von DocumentFabricationDetail
|
|
2979
|
+
*
|
|
2980
|
+
* @return {DocumentFabricationDetail} Neue Instanz von DocumentFabricationDetail
|
|
2981
|
+
*/
|
|
2982
|
+
createDocumentFabricationDetail(): DocumentFabricationDetail;
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* Erstellt einen neue Instanz von DocumentFinanceBooking
|
|
2986
|
+
*
|
|
2987
|
+
* @return {DocumentFinanceBooking} Neue Instanz von DocumentFinanceBooking
|
|
2988
|
+
*/
|
|
2989
|
+
createDocumentFinanceBooking(): DocumentFinanceBooking;
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Erstellt einen neue Instanz von DocumentLine
|
|
2993
|
+
*
|
|
2994
|
+
* @return {DocumentLine} Neue Instanz von DocumentLine
|
|
2995
|
+
*/
|
|
2996
|
+
createDocumentLine(): DocumentLine;
|
|
2997
|
+
|
|
2998
|
+
/**
|
|
2999
|
+
* Erstellt einen neue Instanz von DocumentLineBooking
|
|
3000
|
+
*
|
|
3001
|
+
* @return {DocumentLineBooking} Neue Instanz von DocumentLineBooking
|
|
3002
|
+
*/
|
|
3003
|
+
createDocumentLineBooking(): DocumentLineBooking;
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* Erstellt einen neue Instanz von DocumentLineCommission
|
|
3007
|
+
*
|
|
3008
|
+
* @return {DocumentLineCommission} Neue Instanz von DocumentLineCommission
|
|
3009
|
+
*/
|
|
3010
|
+
createDocumentLineCommission(): DocumentLineCommission;
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Erstellt einen neue Instanz von DocumentLineComponent
|
|
3014
|
+
*
|
|
3015
|
+
* @return {DocumentLineComponent} Neue Instanz von DocumentLineComponent
|
|
3016
|
+
*/
|
|
3017
|
+
createDocumentLineComponent(): DocumentLineComponent;
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* Erstellt einen neue Instanz von DocumentLineComponentFabricationDetail
|
|
3021
|
+
*
|
|
3022
|
+
* @return {DocumentLineComponentFabricationDetail} Neue Instanz von DocumentLineComponentFabricationDetail
|
|
3023
|
+
*/
|
|
3024
|
+
createDocumentLineComponentFabricationDetail(): DocumentLineComponentFabricationDetail;
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* Erstellt einen neue Instanz von DocumentLineFabricationDetail
|
|
3028
|
+
*
|
|
3029
|
+
* @return {DocumentLineFabricationDetail} Neue Instanz von DocumentLineFabricationDetail
|
|
3030
|
+
*/
|
|
3031
|
+
createDocumentLineFabricationDetail(): DocumentLineFabricationDetail;
|
|
3032
|
+
|
|
3033
|
+
/**
|
|
3034
|
+
* Erstellt einen neue Instanz von DocumentLinePosDetail
|
|
3035
|
+
*
|
|
3036
|
+
* @return {DocumentLinePosDetail} Neue Instanz von DocumentLinePosDetail
|
|
3037
|
+
*/
|
|
3038
|
+
createDocumentLinePosDetail(): DocumentLinePosDetail;
|
|
3039
|
+
|
|
3040
|
+
/**
|
|
3041
|
+
* Erstellt einen neue Instanz von DocumentLineRef
|
|
3042
|
+
*
|
|
3043
|
+
* @return {DocumentLineRef} Neue Instanz von DocumentLineRef
|
|
3044
|
+
*/
|
|
3045
|
+
createDocumentLineRef(): DocumentLineRef;
|
|
3046
|
+
|
|
3047
|
+
/**
|
|
3048
|
+
* Erstellt einen neue Instanz von DocumentPosDetail
|
|
3049
|
+
*
|
|
3050
|
+
* @return {DocumentPosDetail} Neue Instanz von DocumentPosDetail
|
|
3051
|
+
*/
|
|
3052
|
+
createDocumentPosDetail(): DocumentPosDetail;
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* Erstellt einen neue Instanz von DocumentPosPayment
|
|
3056
|
+
*
|
|
3057
|
+
* @return {DocumentPosPayment} Neue Instanz von DocumentPosPayment
|
|
3058
|
+
*/
|
|
3059
|
+
createDocumentPosPayment(): DocumentPosPayment;
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* Erstellt einen neue Instanz von DocumentPriceModifier
|
|
3063
|
+
*
|
|
3064
|
+
* @return {DocumentPriceModifier} Neue Instanz von DocumentPriceModifier
|
|
3065
|
+
*/
|
|
3066
|
+
createDocumentPriceModifier(): DocumentPriceModifier;
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* Erstellt einen neue Instanz von DocumentRef
|
|
3070
|
+
*
|
|
3071
|
+
* @return {DocumentRef} Neue Instanz von DocumentRef
|
|
3072
|
+
*/
|
|
3073
|
+
createDocumentRef(): DocumentRef;
|
|
3074
|
+
|
|
3075
|
+
/**
|
|
3076
|
+
* Erstellt einen neue Instanz von DocumentShippingCost
|
|
3077
|
+
*
|
|
3078
|
+
* @return {DocumentShippingCost} Neue Instanz von DocumentShippingCost
|
|
3079
|
+
*/
|
|
3080
|
+
createDocumentShippingCost(): DocumentShippingCost;
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* Erstellt einen neue Instanz von DocumentTax
|
|
3084
|
+
*
|
|
3085
|
+
* @return {DocumentTax} Neue Instanz von DocumentTax
|
|
3086
|
+
*/
|
|
3087
|
+
createDocumentTax(): DocumentTax;
|
|
3088
|
+
|
|
3089
|
+
/**
|
|
3090
|
+
* Erstellt einen neue Instanz von DocumentText
|
|
3091
|
+
*
|
|
3092
|
+
* @return {DocumentText} Neue Instanz von DocumentText
|
|
3093
|
+
*/
|
|
3094
|
+
createDocumentText(): DocumentText;
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* Erstellt einen neue Instanz von DocumentTransferToStateRequest
|
|
3098
|
+
*
|
|
3099
|
+
* @return {DocumentTransferToStateRequest} Neue Instanz von DocumentTransferToStateRequest
|
|
3100
|
+
*/
|
|
3101
|
+
createDocumentTransferToStateRequest(): DocumentTransferToStateRequest;
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* Erstellt einen neue Instanz von DocumentTransferToTypeRequest
|
|
3105
|
+
*
|
|
3106
|
+
* @return {DocumentTransferToTypeRequest} Neue Instanz von DocumentTransferToTypeRequest
|
|
3107
|
+
*/
|
|
3108
|
+
createDocumentTransferToTypeRequest(): DocumentTransferToTypeRequest;
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* Erstellt einen neue Instanz von DocumentType
|
|
3112
|
+
*
|
|
3113
|
+
* @return {DocumentType} Neue Instanz von DocumentType
|
|
3114
|
+
*/
|
|
3115
|
+
createDocumentType(): DocumentType;
|
|
3116
|
+
|
|
3117
|
+
/**
|
|
3118
|
+
* Erstellt einen neue Instanz von DocumentTypeFollowUp
|
|
3119
|
+
*
|
|
3120
|
+
* @return {DocumentTypeFollowUp} Neue Instanz von DocumentTypeFollowUp
|
|
3121
|
+
*/
|
|
3122
|
+
createDocumentTypeFollowUp(): DocumentTypeFollowUp;
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* Erstellt einen neue Instanz von DocumentTypeLabel
|
|
3126
|
+
*
|
|
3127
|
+
* @return {DocumentTypeLabel} Neue Instanz von DocumentTypeLabel
|
|
3128
|
+
*/
|
|
3129
|
+
createDocumentTypeLabel(): DocumentTypeLabel;
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* Erstellt einen neue Instanz von DocumentTypeState
|
|
3133
|
+
*
|
|
3134
|
+
* @return {DocumentTypeState} Neue Instanz von DocumentTypeState
|
|
3135
|
+
*/
|
|
3136
|
+
createDocumentTypeState(): DocumentTypeState;
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* Erstellt einen neue Instanz von Group
|
|
3140
|
+
*
|
|
3141
|
+
* @return {Group} Neue Instanz von Group
|
|
3142
|
+
*/
|
|
3143
|
+
createGroup(): Group;
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* Erstellt einen neue Instanz von DocumentAdditionalInfo$IncomingGoodsTarget
|
|
3147
|
+
*
|
|
3148
|
+
* @return {DocumentAdditionalInfo$IncomingGoodsTarget} Neue Instanz von DocumentAdditionalInfo$IncomingGoodsTarget
|
|
3149
|
+
*/
|
|
3150
|
+
createIncomingGoodsTarget(): DocumentAdditionalInfo$IncomingGoodsTarget;
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* Erstellt einen neue Instanz von DocumentAdditionalInfo$IncomingGoodsTargetOfLine
|
|
3154
|
+
*
|
|
3155
|
+
* @return {DocumentAdditionalInfo$IncomingGoodsTargetOfLine} Neue Instanz von DocumentAdditionalInfo$IncomingGoodsTargetOfLine
|
|
3156
|
+
*/
|
|
3157
|
+
createIncomingGoodsTargetOfLine(): DocumentAdditionalInfo$IncomingGoodsTargetOfLine;
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* Erstellt einen neue Instanz von Article$Metric
|
|
3161
|
+
*
|
|
3162
|
+
* @return {Article$Metric} Neue Instanz von Article$Metric
|
|
3163
|
+
*/
|
|
3164
|
+
createMetric(): Article$Metric;
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* Erstellt einen neue Instanz von DocumentAdditionalInfo$OrderIntoPickingConvertResult
|
|
3168
|
+
*
|
|
3169
|
+
* @return {DocumentAdditionalInfo$OrderIntoPickingConvertResult} Neue Instanz von DocumentAdditionalInfo$OrderIntoPickingConvertResult
|
|
3170
|
+
*/
|
|
3171
|
+
createOrderIntoPickingConvertResult(): DocumentAdditionalInfo$OrderIntoPickingConvertResult;
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* Erstellt einen neue Instanz von PicklistTemplate$OrderSelectionOptions
|
|
3175
|
+
*
|
|
3176
|
+
* @return {PicklistTemplate$OrderSelectionOptions} Neue Instanz von PicklistTemplate$OrderSelectionOptions
|
|
3177
|
+
*/
|
|
3178
|
+
createOrderSelectionOptions(): PicklistTemplate$OrderSelectionOptions;
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* Erstellt einen neue Instanz von PaymentTermRef
|
|
3182
|
+
*
|
|
3183
|
+
* @return {PaymentTermRef} Neue Instanz von PaymentTermRef
|
|
3184
|
+
*/
|
|
3185
|
+
createPaymentTermRef(): PaymentTermRef;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Erstellt einen neue Instanz von PickTrolley
|
|
3189
|
+
*
|
|
3190
|
+
* @return {PickTrolley} Neue Instanz von PickTrolley
|
|
3191
|
+
*/
|
|
3192
|
+
createPickTrolley(): PickTrolley;
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Erstellt einen neue Instanz von PickTrolleyBox
|
|
3196
|
+
*
|
|
3197
|
+
* @return {PickTrolleyBox} Neue Instanz von PickTrolleyBox
|
|
3198
|
+
*/
|
|
3199
|
+
createPickTrolleyBox(): PickTrolleyBox;
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Erstellt einen neue Instanz von Picklist
|
|
3203
|
+
*
|
|
3204
|
+
* @return {Picklist} Neue Instanz von Picklist
|
|
3205
|
+
*/
|
|
3206
|
+
createPicklist(): Picklist;
|
|
3207
|
+
|
|
3208
|
+
/**
|
|
3209
|
+
* Erstellt einen neue Instanz von PicklistTemplate$PicklistCreationOptions
|
|
3210
|
+
*
|
|
3211
|
+
* @return {PicklistTemplate$PicklistCreationOptions} Neue Instanz von PicklistTemplate$PicklistCreationOptions
|
|
3212
|
+
*/
|
|
3213
|
+
createPicklistCreationOptions(): PicklistTemplate$PicklistCreationOptions;
|
|
3214
|
+
|
|
3215
|
+
/**
|
|
3216
|
+
* Erstellt einen neue Instanz von PicklistLine
|
|
3217
|
+
*
|
|
3218
|
+
* @return {PicklistLine} Neue Instanz von PicklistLine
|
|
3219
|
+
*/
|
|
3220
|
+
createPicklistLine(): PicklistLine;
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Erstellt einen neue Instanz von PicklistLineBooking
|
|
3224
|
+
*
|
|
3225
|
+
* @return {PicklistLineBooking} Neue Instanz von PicklistLineBooking
|
|
3226
|
+
*/
|
|
3227
|
+
createPicklistLineBooking(): PicklistLineBooking;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* Erstellt einen neue Instanz von PicklistLineComponent
|
|
3231
|
+
*
|
|
3232
|
+
* @return {PicklistLineComponent} Neue Instanz von PicklistLineComponent
|
|
3233
|
+
*/
|
|
3234
|
+
createPicklistLineComponent(): PicklistLineComponent;
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Erstellt einen neue Instanz von PicklistTemplate$PicklistProcessingOptions
|
|
3238
|
+
*
|
|
3239
|
+
* @return {PicklistTemplate$PicklistProcessingOptions} Neue Instanz von PicklistTemplate$PicklistProcessingOptions
|
|
3240
|
+
*/
|
|
3241
|
+
createPicklistProcessingOptions(): PicklistTemplate$PicklistProcessingOptions;
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* Erstellt einen neue Instanz von PicklistTemplate$PicklistScript
|
|
3245
|
+
*
|
|
3246
|
+
* @return {PicklistTemplate$PicklistScript} Neue Instanz von PicklistTemplate$PicklistScript
|
|
3247
|
+
*/
|
|
3248
|
+
createPicklistScript(): PicklistTemplate$PicklistScript;
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* Erstellt einen neue Instanz von PicklistTemplate
|
|
3252
|
+
*
|
|
3253
|
+
* @return {PicklistTemplate} Neue Instanz von PicklistTemplate
|
|
3254
|
+
*/
|
|
3255
|
+
createPicklistTemplate(): PicklistTemplate;
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Erstellt einen neue Instanz von PriceSelectionCriteria
|
|
3259
|
+
*
|
|
3260
|
+
* @return {PriceSelectionCriteria} Neue Instanz von PriceSelectionCriteria
|
|
3261
|
+
*/
|
|
3262
|
+
createPriceSelectionCriteria(): PriceSelectionCriteria;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Erstellt einen neue Instanz von DocumentAdditionalInfo$PrintedTranslatedField
|
|
3266
|
+
*
|
|
3267
|
+
* @return {DocumentAdditionalInfo$PrintedTranslatedField} Neue Instanz von DocumentAdditionalInfo$PrintedTranslatedField
|
|
3268
|
+
*/
|
|
3269
|
+
createPrintedTranslatedField(): DocumentAdditionalInfo$PrintedTranslatedField;
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* Erstellt einen neue Instanz von RequestDocument
|
|
3273
|
+
*
|
|
3274
|
+
* @return {RequestDocument} Neue Instanz von RequestDocument
|
|
3275
|
+
*/
|
|
3276
|
+
createRequestDocument(): RequestDocument;
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* Erstellt einen neue Instanz von RequestDocumentLine
|
|
3280
|
+
*
|
|
3281
|
+
* @return {RequestDocumentLine} Neue Instanz von RequestDocumentLine
|
|
3282
|
+
*/
|
|
3283
|
+
createRequestDocumentLine(): RequestDocumentLine;
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Erstellt einen neue Instanz von RequestDocumentLineBooking
|
|
3287
|
+
*
|
|
3288
|
+
* @return {RequestDocumentLineBooking} Neue Instanz von RequestDocumentLineBooking
|
|
3289
|
+
*/
|
|
3290
|
+
createRequestDocumentLineBooking(): RequestDocumentLineBooking;
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* Erstellt einen neue Instanz von RequestDocumentLineCommission
|
|
3294
|
+
*
|
|
3295
|
+
* @return {RequestDocumentLineCommission} Neue Instanz von RequestDocumentLineCommission
|
|
3296
|
+
*/
|
|
3297
|
+
createRequestDocumentLineCommission(): RequestDocumentLineCommission;
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* Erstellt einen neue Instanz von RequestDocumentPriceModifier
|
|
3301
|
+
*
|
|
3302
|
+
* @return {RequestDocumentPriceModifier} Neue Instanz von RequestDocumentPriceModifier
|
|
3303
|
+
*/
|
|
3304
|
+
createRequestDocumentPriceModifier(): RequestDocumentPriceModifier;
|
|
3305
|
+
|
|
3306
|
+
/**
|
|
3307
|
+
* Erstellt einen neue Instanz von RequestDocumentText
|
|
3308
|
+
*
|
|
3309
|
+
* @return {RequestDocumentText} Neue Instanz von RequestDocumentText
|
|
3310
|
+
*/
|
|
3311
|
+
createRequestDocumentText(): RequestDocumentText;
|
|
3312
|
+
|
|
3313
|
+
/**
|
|
3314
|
+
* Erstellt einen neue Instanz von RevenueCalculation
|
|
3315
|
+
*
|
|
3316
|
+
* @return {RevenueCalculation} Neue Instanz von RevenueCalculation
|
|
3317
|
+
*/
|
|
3318
|
+
createRevenueCalculation(): RevenueCalculation;
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* Erstellt einen neue Instanz von SalesAgent
|
|
3322
|
+
*
|
|
3323
|
+
* @return {SalesAgent} Neue Instanz von SalesAgent
|
|
3324
|
+
*/
|
|
3325
|
+
createSalesAgent(): SalesAgent;
|
|
3326
|
+
|
|
3327
|
+
/**
|
|
3328
|
+
* Erstellt einen neue Instanz von ScenarioActualValue
|
|
3329
|
+
*
|
|
3330
|
+
* @return {ScenarioActualValue} Neue Instanz von ScenarioActualValue
|
|
3331
|
+
*/
|
|
3332
|
+
createScenarioActualValue(): ScenarioActualValue;
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* Erstellt einen neue Instanz von ScenarioDimension
|
|
3336
|
+
*
|
|
3337
|
+
* @return {ScenarioDimension} Neue Instanz von ScenarioDimension
|
|
3338
|
+
*/
|
|
3339
|
+
createScenarioDimension(): ScenarioDimension;
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* Erstellt einen neue Instanz von ScenarioDimensionValue
|
|
3343
|
+
*
|
|
3344
|
+
* @return {ScenarioDimensionValue} Neue Instanz von ScenarioDimensionValue
|
|
3345
|
+
*/
|
|
3346
|
+
createScenarioDimensionValue(): ScenarioDimensionValue;
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* Erstellt einen neue Instanz von SequencerConfiguration
|
|
3350
|
+
*
|
|
3351
|
+
* @return {SequencerConfiguration} Neue Instanz von SequencerConfiguration
|
|
3352
|
+
*/
|
|
3353
|
+
createSequencerConfiguration(): SequencerConfiguration;
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* Erstellt einen neue Instanz von SequencerConfigurationDetail
|
|
3357
|
+
*
|
|
3358
|
+
* @return {SequencerConfigurationDetail} Neue Instanz von SequencerConfigurationDetail
|
|
3359
|
+
*/
|
|
3360
|
+
createSequencerConfigurationDetail(): SequencerConfigurationDetail;
|
|
3361
|
+
|
|
3362
|
+
/**
|
|
3363
|
+
* Erstellt einen neue Instanz von ShelfDocument
|
|
3364
|
+
*
|
|
3365
|
+
* @return {ShelfDocument} Neue Instanz von ShelfDocument
|
|
3366
|
+
*/
|
|
3367
|
+
createShelfDocument(): ShelfDocument;
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* Erstellt einen neue Instanz von ShelfDocumentAttribution
|
|
3371
|
+
*
|
|
3372
|
+
* @return {ShelfDocumentAttribution} Neue Instanz von ShelfDocumentAttribution
|
|
3373
|
+
*/
|
|
3374
|
+
createShelfDocumentAttribution(): ShelfDocumentAttribution;
|
|
3375
|
+
|
|
3376
|
+
/**
|
|
3377
|
+
* Erstellt einen neue Instanz von ShelfDocumentType
|
|
3378
|
+
*
|
|
3379
|
+
* @return {ShelfDocumentType} Neue Instanz von ShelfDocumentType
|
|
3380
|
+
*/
|
|
3381
|
+
createShelfDocumentType(): ShelfDocumentType;
|
|
3382
|
+
|
|
3383
|
+
/**
|
|
3384
|
+
* Erstellt einen neue Instanz von ShelfFile
|
|
3385
|
+
*
|
|
3386
|
+
* @return {ShelfFile} Neue Instanz von ShelfFile
|
|
3387
|
+
*/
|
|
3388
|
+
createShelfFile(): ShelfFile;
|
|
3389
|
+
|
|
3390
|
+
/**
|
|
3391
|
+
* Erstellt einen neue Instanz von ShelfFileMetaData
|
|
3392
|
+
*
|
|
3393
|
+
* @return {ShelfFileMetaData} Neue Instanz von ShelfFileMetaData
|
|
3394
|
+
*/
|
|
3395
|
+
createShelfFileMetaData(): ShelfFileMetaData;
|
|
3396
|
+
|
|
3397
|
+
/**
|
|
3398
|
+
* Erstellt einen neue Instanz von ShelfShare
|
|
3399
|
+
*
|
|
3400
|
+
* @return {ShelfShare} Neue Instanz von ShelfShare
|
|
3401
|
+
*/
|
|
3402
|
+
createShelfShare(): ShelfShare;
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* Erstellt einen neue Instanz von ShelfTranslatableText
|
|
3406
|
+
*
|
|
3407
|
+
* @return {ShelfTranslatableText} Neue Instanz von ShelfTranslatableText
|
|
3408
|
+
*/
|
|
3409
|
+
createShelfTranslatableText(): ShelfTranslatableText;
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Erstellt einen neue Instanz von StorageBinRef
|
|
3413
|
+
*
|
|
3414
|
+
* @return {StorageBinRef} Neue Instanz von StorageBinRef
|
|
3415
|
+
*/
|
|
3416
|
+
createStorageBinRef(): StorageBinRef;
|
|
3417
|
+
|
|
3418
|
+
/**
|
|
3419
|
+
* Erstellt einen neue Instanz von SubFileInfo
|
|
3420
|
+
*
|
|
3421
|
+
* @return {SubFileInfo} Neue Instanz von SubFileInfo
|
|
3422
|
+
*/
|
|
3423
|
+
createSubFileInfo(): SubFileInfo;
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* Erstellt einen neue Instanz von Supplier
|
|
3427
|
+
*
|
|
3428
|
+
* @return {Supplier} Neue Instanz von Supplier
|
|
3429
|
+
*/
|
|
3430
|
+
createSupplier(): Supplier;
|
|
3431
|
+
|
|
3432
|
+
/**
|
|
3433
|
+
* Erstellt einen neue Instanz von TagDto
|
|
3434
|
+
*
|
|
3435
|
+
* @return {TagDto} Neue Instanz von TagDto
|
|
3436
|
+
*/
|
|
3437
|
+
createTagDto(): TagDto;
|
|
3438
|
+
|
|
3439
|
+
/**
|
|
3440
|
+
* Erstellt einen neue Instanz von TaxIdForeignCountry
|
|
3441
|
+
*
|
|
3442
|
+
* @return {TaxIdForeignCountry} Neue Instanz von TaxIdForeignCountry
|
|
3443
|
+
*/
|
|
3444
|
+
createTaxIdForeignCountry(): TaxIdForeignCountry;
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* Erstellt einen neue Instanz von TssSignature
|
|
3448
|
+
*
|
|
3449
|
+
* @return {TssSignature} Neue Instanz von TssSignature
|
|
3450
|
+
*/
|
|
3451
|
+
createTssSignature(): TssSignature;
|
|
3452
|
+
|
|
3453
|
+
/**
|
|
3454
|
+
* Erstellt einen neue Instanz von UnitTypeReference
|
|
3455
|
+
*
|
|
3456
|
+
* @return {UnitTypeReference} Neue Instanz von UnitTypeReference
|
|
3457
|
+
*/
|
|
3458
|
+
createUnitTypeReference(): UnitTypeReference;
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* Erstellt einen neue Instanz von UpdateDocumentRequest
|
|
3462
|
+
*
|
|
3463
|
+
* @return {UpdateDocumentRequest} Neue Instanz von UpdateDocumentRequest
|
|
3464
|
+
*/
|
|
3465
|
+
createUpdateDocumentRequest(): UpdateDocumentRequest;
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* Erstellt einen neue Instanz von User
|
|
3469
|
+
*
|
|
3470
|
+
* @return {User} Neue Instanz von User
|
|
3471
|
+
*/
|
|
3472
|
+
createUser(): User;
|
|
3473
|
+
}
|
|
3474
|
+
|