@hitc/netsuite-types 2025.1.11 → 2025.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/N/record.d.ts +1 -1
- package/N/runtime.d.ts +300 -1
- package/N/transaction.d.ts +59 -57
- package/N/types.d.ts +3 -3
- package/N/ui/serverWidget.d.ts +15 -4
- package/package.json +1 -1
package/N/record.d.ts
CHANGED
|
@@ -669,7 +669,7 @@ export type RecordToJSONReturnValue = {
|
|
|
669
669
|
type: string,
|
|
670
670
|
isDynamic: boolean,
|
|
671
671
|
fields: {[fieldId: string]: string}
|
|
672
|
-
sublists: {[sublistId: string]: {[lineDescription: string]: string}}
|
|
672
|
+
sublists: {[sublistId: string]: {[lineDescription: string]: {[fieldId: string]: string}}}
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
interface ExecuteMacroFunction {
|
package/N/runtime.d.ts
CHANGED
|
@@ -70,9 +70,308 @@ interface User {
|
|
|
70
70
|
|
|
71
71
|
interface FeatureOptions {
|
|
72
72
|
/** The internal ID of the feature to check. */
|
|
73
|
-
feature:
|
|
73
|
+
feature: NetSuiteFeature;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
export type NetSuiteFeature =
|
|
77
|
+
| "ACCOUNTING"
|
|
78
|
+
| "ACCOUNTINGPERIODS"
|
|
79
|
+
| "ACTIVITYCODES"
|
|
80
|
+
| "ADDONS"
|
|
81
|
+
| "ADVANCEDBILLOFMATERIALS"
|
|
82
|
+
| "ADVANCEDEMPLOYEEPERMISSIONS"
|
|
83
|
+
| "ADVANCEDJOBS"
|
|
84
|
+
| "ADVANCEDNUMBERINGSEQUENCES"
|
|
85
|
+
| "ADVANCEDPRINTING"
|
|
86
|
+
| "ADVANCEDPROCUREMENTAPPROVALS"
|
|
87
|
+
| "ADVANCEDPROJECTACCOUNTING"
|
|
88
|
+
| "ADVANCEDPROMOTIONS"
|
|
89
|
+
| "ADVANCEDREVENUERECOGNITION"
|
|
90
|
+
| "ADVANCEDREVENUERECOGNITIONAPP"
|
|
91
|
+
| "ADVANCEDSITECUST"
|
|
92
|
+
| "ADVANCEDSITEMANAGEMENT"
|
|
93
|
+
| "ADVBILLING"
|
|
94
|
+
| "ADVBINSERIALLOTMGMT"
|
|
95
|
+
| "ADVFORECASTING"
|
|
96
|
+
| "ADVINVENTORYMGMT"
|
|
97
|
+
| "ADVPARTNERACCESS"
|
|
98
|
+
| "ADVRECEIVING"
|
|
99
|
+
| "ADVSHIPPING"
|
|
100
|
+
| "ADVSUBSCRIPTIONBILLING"
|
|
101
|
+
| "ADVTAXENGINE"
|
|
102
|
+
| "ADVWEBREPORTS"
|
|
103
|
+
| "ADVWEBSEARCH"
|
|
104
|
+
| "ALTSALESADVFORECAST"
|
|
105
|
+
| "ALTSALESAMOUNT"
|
|
106
|
+
| "AMORTIZATION"
|
|
107
|
+
| "APPROVALROUTING"
|
|
108
|
+
| "ARMINCONFIGMODE"
|
|
109
|
+
| "ARMREVENUEALLOCATION"
|
|
110
|
+
| "ASSEMBLIES"
|
|
111
|
+
| "ASYNCCUSTOMER"
|
|
112
|
+
| "ASYNCSALESORDER"
|
|
113
|
+
| "AUTOAPPLYPROMOTIONS"
|
|
114
|
+
| "AUTOLOCATIONASSIGNMENT"
|
|
115
|
+
| "AVAILABLETOPROMISE"
|
|
116
|
+
| "BALANCING_SEGMENTS"
|
|
117
|
+
| "BARCODES"
|
|
118
|
+
| "BILLCAPTURE"
|
|
119
|
+
| "BILLINGACCOUNTS"
|
|
120
|
+
| "BILLINGCLASSES"
|
|
121
|
+
| "BILLINGRATECARDS"
|
|
122
|
+
| "BILLINGWORKCENTER"
|
|
123
|
+
| "BILLSCOSTS"
|
|
124
|
+
| "BINMANAGEMENT"
|
|
125
|
+
| "BLANKETPURCHASEORDERS"
|
|
126
|
+
| "BOXNET"
|
|
127
|
+
| "CAMPAIGNASSISTANT"
|
|
128
|
+
| "CAMPAIGNSUBSCRIPTIONS"
|
|
129
|
+
| "CCTRACKING"
|
|
130
|
+
| "CENTRALIZEDPURCHASINGBILLING"
|
|
131
|
+
| "CHARGEBASEDBILLING"
|
|
132
|
+
| "CHECKOUTSUBDOMAIN"
|
|
133
|
+
| "CLASSES"
|
|
134
|
+
| "COMMERCECATEGORIES"
|
|
135
|
+
| "COMMERCESEARCHANALYTICS"
|
|
136
|
+
| "COMMISSIONONCUSTOMFIELDS"
|
|
137
|
+
| "COMMISSIONS"
|
|
138
|
+
| "COMMITPLUSOVERAGE"
|
|
139
|
+
| "COMPENSATIONTRACKING"
|
|
140
|
+
| "CONSOLPAYMENTS"
|
|
141
|
+
| "CREATESUITEBUNDLES"
|
|
142
|
+
| "CRM"
|
|
143
|
+
| "CRMTIME"
|
|
144
|
+
| "CRM_TEMPLATE_CATEGORIES"
|
|
145
|
+
| "CROSSSUBSIDIARYFULFILLMENT"
|
|
146
|
+
| "CUSTOMCODE"
|
|
147
|
+
| "CUSTOMERACCESS"
|
|
148
|
+
| "CUSTOMGLLINES"
|
|
149
|
+
| "CUSTOMRECORDS"
|
|
150
|
+
| "CUSTOMSEGMENTS"
|
|
151
|
+
| "CUSTOMTRANSACTIONS"
|
|
152
|
+
| "DEPARTMENTS"
|
|
153
|
+
| "DISTRIBUTIONRESOURCEPLANNING"
|
|
154
|
+
| "DOCUMENTPUBLISHING"
|
|
155
|
+
| "DOCUMENTS"
|
|
156
|
+
| "DOWNLOADITEMS"
|
|
157
|
+
| "DROPSHIPMENTS"
|
|
158
|
+
| "DUPLICATES"
|
|
159
|
+
| "DYNALLOCATION"
|
|
160
|
+
| "EFFECTIVEDATING"
|
|
161
|
+
| "EMAILINTEGRATION"
|
|
162
|
+
| "EMPLOYEECENTERPUBLISHING"
|
|
163
|
+
| "EMPLOYEECHANGEREQUESTS"
|
|
164
|
+
| "EMPPERMS"
|
|
165
|
+
| "ENHANCEDINVENTORYLOCATION"
|
|
166
|
+
| "ENHANCEDPREMIERPAYROLL"
|
|
167
|
+
| "ESCALATIONRULES"
|
|
168
|
+
| "ESTIMATES"
|
|
169
|
+
| "EXPENSEALLOCATION"
|
|
170
|
+
| "EXPREPORTS"
|
|
171
|
+
| "EXTCRM"
|
|
172
|
+
| "EXTREMELIST"
|
|
173
|
+
| "EXTSTORE"
|
|
174
|
+
| "FCADVANCEDSECURITY"
|
|
175
|
+
| "FCEXPENSE"
|
|
176
|
+
| "FCEXPENSEMIGRATECONTROLLER"
|
|
177
|
+
| "FULFILLMENTREQUEST"
|
|
178
|
+
| "FXRATETYPE"
|
|
179
|
+
| "FXRATEUPDATES"
|
|
180
|
+
| "GAINLOSSACCTMAPPING"
|
|
181
|
+
| "GIFTCERTIFICATES"
|
|
182
|
+
| "GLAUDITNUMBERING"
|
|
183
|
+
| "GRIDORDERMANAGEMENT"
|
|
184
|
+
| "GROSSPROFIT"
|
|
185
|
+
| "GROUPAVERAGECOSTING"
|
|
186
|
+
| "HELPDESK"
|
|
187
|
+
| "HISTORICALMETRICS"
|
|
188
|
+
| "HRANALYSIS"
|
|
189
|
+
| "HTML_FORMULAS_IN_SEARCH"
|
|
190
|
+
| "I18NTAXREPORTS"
|
|
191
|
+
| "IC_FRAMEWORK_OR_AIM"
|
|
192
|
+
| "INBOUNDCASEEMAIL"
|
|
193
|
+
| "INBOUNDSHIPMENT"
|
|
194
|
+
| "INSTALLMENTS"
|
|
195
|
+
| "INTELLIGENTRECOMMENDATIONS"
|
|
196
|
+
| "INTERCOMPANYAUTODROPSHIP"
|
|
197
|
+
| "INTERCOMPANYAUTOELIMINATION"
|
|
198
|
+
| "INTERCOMPANYELIMINATIONENGINE"
|
|
199
|
+
| "INTERCOMPANYFRAMEWORK"
|
|
200
|
+
| "INTERCOMPANYTIMEEXPENSE"
|
|
201
|
+
| "INTERNATIONALPHONENUMBERS"
|
|
202
|
+
| "INTRANET"
|
|
203
|
+
| "INTRANSITPAYMENTS"
|
|
204
|
+
| "INVENTORY"
|
|
205
|
+
| "INVENTORYCOUNT"
|
|
206
|
+
| "INVENTORYSTATUS"
|
|
207
|
+
| "INVOICEGROUP"
|
|
208
|
+
| "IPADDRESSRULES"
|
|
209
|
+
| "ISSUEDB"
|
|
210
|
+
| "ITEMDEMANDPLANNING"
|
|
211
|
+
| "ITEMOPTIONS"
|
|
212
|
+
| "JOBCOSTING"
|
|
213
|
+
| "JOBMANAGEMENT"
|
|
214
|
+
| "JOBREQUISITION"
|
|
215
|
+
| "JOBS"
|
|
216
|
+
| "KILLINBOUNDSSO"
|
|
217
|
+
| "KILLSHA1FORTBA"
|
|
218
|
+
| "KNOWLEDGEBASE"
|
|
219
|
+
| "KPIREPORTS"
|
|
220
|
+
| "KUDOS"
|
|
221
|
+
| "LANDEDCOST"
|
|
222
|
+
| "LEADMANAGEMENT"
|
|
223
|
+
| "LOCATIONS"
|
|
224
|
+
| "LOTNUMBEREDINVENTORY"
|
|
225
|
+
| "MAILMERGE"
|
|
226
|
+
| "MARKETING"
|
|
227
|
+
| "MATERIALREQUIREMENTSPLANNING"
|
|
228
|
+
| "MATRIXITEMS"
|
|
229
|
+
| "MERCHANDISEHIERARCHY"
|
|
230
|
+
| "MFGROUTING"
|
|
231
|
+
| "MFGWORKINPROCESS"
|
|
232
|
+
| "MOBILEPUSHNTF"
|
|
233
|
+
| "MOSS"
|
|
234
|
+
| "MULTIBOOKMULTICURR"
|
|
235
|
+
| "MULTICURRENCY"
|
|
236
|
+
| "MULTICURRENCYCUSTOMER"
|
|
237
|
+
| "MULTICURRENCYMERGE"
|
|
238
|
+
| "MULTICURRENCYVENDOR"
|
|
239
|
+
| "MULTILANGUAGE"
|
|
240
|
+
| "MULTILOCINVT"
|
|
241
|
+
| "MULTIPARTNER"
|
|
242
|
+
| "MULTIPLEBUDGETS"
|
|
243
|
+
| "MULTIPLECALENDARS"
|
|
244
|
+
| "MULTISHIPTO"
|
|
245
|
+
| "MULTISUBSIDIARYCUSTOMER"
|
|
246
|
+
| "MULTIVENDOR"
|
|
247
|
+
| "MULTPRICE"
|
|
248
|
+
| "NETSUITEAPPROVALSWORKFLOW"
|
|
249
|
+
| "NOTALTSALESAMOUNT"
|
|
250
|
+
| "NOTMULTIPARTNER"
|
|
251
|
+
| "NOTTEAMSELLING"
|
|
252
|
+
| "NSASOIDCPROVIDER"
|
|
253
|
+
| "NSAW_MULTI_INSTANCE_CONNECTOR"
|
|
254
|
+
| "OAUTH2"
|
|
255
|
+
| "OIDC"
|
|
256
|
+
| "ONLINEORDERING"
|
|
257
|
+
| "OPENIDSSO"
|
|
258
|
+
| "OPPORTUNITIES"
|
|
259
|
+
| "OTHERSUBLISTFIELDS"
|
|
260
|
+
| "OUTSOURCEDMFG"
|
|
261
|
+
| "PARTNERACCESS"
|
|
262
|
+
| "PARTNERCOMMISSIONS"
|
|
263
|
+
| "PAYABLES"
|
|
264
|
+
| "PAYCHECKJOURNAL"
|
|
265
|
+
| "PAYMENTINSTRUMENTS"
|
|
266
|
+
| "PAYMENTLINK"
|
|
267
|
+
| "PAYPALINTEGRATION"
|
|
268
|
+
| "PAYROLL"
|
|
269
|
+
| "PAYROLLSERVICE"
|
|
270
|
+
| "PERFORMANCEMANAGEMENT"
|
|
271
|
+
| "PERIODENDJOURNALENTRIES"
|
|
272
|
+
| "PERSONALIZED_CATALOG_VIEWS"
|
|
273
|
+
| "PICKPACKSHIP"
|
|
274
|
+
| "PI_REMOVAL"
|
|
275
|
+
| "PLANNEDWORK"
|
|
276
|
+
| "PREPAYWITHDRAWDOWN"
|
|
277
|
+
| "PRM"
|
|
278
|
+
| "PROJECTTASKMANAGER"
|
|
279
|
+
| "PROMOCODES"
|
|
280
|
+
| "PURCHASECARDDATA"
|
|
281
|
+
| "PURCHASECONTRACTS"
|
|
282
|
+
| "PURCHASEORDERS"
|
|
283
|
+
| "PURCHASEREQS"
|
|
284
|
+
| "QUANTITYPRICING"
|
|
285
|
+
| "RECEIVABLES"
|
|
286
|
+
| "REQUIREDDEPOSITWORKFLOW"
|
|
287
|
+
| "REQUISITIONS"
|
|
288
|
+
| "RESOURCEALLOCATIONAPPROVAL"
|
|
289
|
+
| "RESOURCEALLOCATIONCHART"
|
|
290
|
+
| "RESOURCEALLOCATIONS"
|
|
291
|
+
| "RESOURCESKILLSETS"
|
|
292
|
+
| "RESTWEBSERVICES"
|
|
293
|
+
| "RETURNAUTHS"
|
|
294
|
+
| "REVENUECOMMITMENTS"
|
|
295
|
+
| "REVENUERECOGNITION"
|
|
296
|
+
| "REVRECSALESORDERFORECASTING"
|
|
297
|
+
| "REVRECVSOE"
|
|
298
|
+
| "RFQ"
|
|
299
|
+
| "RULEBASEDRECOGNITIONTREATMENT"
|
|
300
|
+
| "SALESCAMPAIGNS"
|
|
301
|
+
| "SALESCHANNELALLOCATION"
|
|
302
|
+
| "SALESORDERS"
|
|
303
|
+
| "SAMLSSO"
|
|
304
|
+
| "SDFCOPYTOACCOUNT"
|
|
305
|
+
| "SERIALIZEDINVENTORY"
|
|
306
|
+
| "SERVERSIDESCRIPTING"
|
|
307
|
+
| "SERVICEPRINTEDCHECKS"
|
|
308
|
+
| "SERVICEPRINTEDW2S"
|
|
309
|
+
| "SFA"
|
|
310
|
+
| "SFA_AND_NOTASA"
|
|
311
|
+
| "SHIPPINGLABELS"
|
|
312
|
+
| "SHIPPINGPARTNERS"
|
|
313
|
+
| "SITEBUILDER"
|
|
314
|
+
| "SITEBUILDER_STORE"
|
|
315
|
+
| "SITELOCATIONALIASES"
|
|
316
|
+
| "SOFTDESCRIPTORS"
|
|
317
|
+
| "STACKABLEPROMOTIONS"
|
|
318
|
+
| "STANDARDCOSTING"
|
|
319
|
+
| "STATACCOUNTING"
|
|
320
|
+
| "STOREPICKUP"
|
|
321
|
+
| "SUBSCRIPTIONBILLING"
|
|
322
|
+
| "SUITE_OAX_CONNECTOR"
|
|
323
|
+
| "SUITEANALYTICSCONNECT"
|
|
324
|
+
| "SUITEAPPCONTROLCENTER"
|
|
325
|
+
| "SUITEAPPDEVELOPMENTFRAMEWORK"
|
|
326
|
+
| "SUITECOMMERCE"
|
|
327
|
+
| "SUITECOMMERCE_ADVANCED"
|
|
328
|
+
| "SUITECOMMERCE_IN_STORE"
|
|
329
|
+
| "SUITECOMMERCE_MY_ACCOUNT"
|
|
330
|
+
| "SUITECUBE_ENTERPRISE"
|
|
331
|
+
| "SUITESIGNON"
|
|
332
|
+
| "SUITETAXDATARECORDS"
|
|
333
|
+
| "SUITETAXENGINE"
|
|
334
|
+
| "SUITETAXENGINEINDIA"
|
|
335
|
+
| "SUITETAXREPORTS"
|
|
336
|
+
| "SUITETAXREPORTSINDIA"
|
|
337
|
+
| "SUPPLTAXCALC"
|
|
338
|
+
| "SUPPLYALLOCATION"
|
|
339
|
+
| "SUPPLYCHAINCONTROLTOWER"
|
|
340
|
+
| "SUPPLYCHAINMANAGEMENT"
|
|
341
|
+
| "SUPPLYCHAINPREDICTEDRISKS"
|
|
342
|
+
| "SUPPORT"
|
|
343
|
+
| "TABLEAU"
|
|
344
|
+
| "TAXAUDITFILES"
|
|
345
|
+
| "TAX_OVERHAULING"
|
|
346
|
+
| "TBA"
|
|
347
|
+
| "TEAMSELLING"
|
|
348
|
+
| "TELEPHONY"
|
|
349
|
+
| "TIMEBASEDPRICING"
|
|
350
|
+
| "TIMEBASEDPRICINGSUITEAPP"
|
|
351
|
+
| "TIMETRACKING"
|
|
352
|
+
| "TRANDELETIONREASONCODE"
|
|
353
|
+
| "UNITSOFMEASURE"
|
|
354
|
+
| "UPLIFTPRICING"
|
|
355
|
+
| "UPSELL"
|
|
356
|
+
| "URLCOMPONENTALIASES"
|
|
357
|
+
| "USR"
|
|
358
|
+
| "VENDORACCESS"
|
|
359
|
+
| "VENDORPREPAYMENTS"
|
|
360
|
+
| "VENDORRETURNAUTHS"
|
|
361
|
+
| "WARRANTYANDREPAIRSMANAGEMENT"
|
|
362
|
+
| "WBS"
|
|
363
|
+
| "WEBAPPLICATIONS"
|
|
364
|
+
| "WEBDUPLICATEEMAILMANAGEMENT"
|
|
365
|
+
| "WEBHOSTING"
|
|
366
|
+
| "WEBSERVICESEXTERNAL"
|
|
367
|
+
| "WEBSITE"
|
|
368
|
+
| "WEEKLYTIMESHEETS"
|
|
369
|
+
| "WEEKLYTIMESHEETSNEWUI"
|
|
370
|
+
| "WITHHOLDINGTAX"
|
|
371
|
+
| "WMSSYSTEM"
|
|
372
|
+
| "WORKFLOW"
|
|
373
|
+
| "WORKORDERS";
|
|
374
|
+
|
|
76
375
|
/** The NetSuite account ID for the currently logged-in user. */
|
|
77
376
|
export const accountId: string;
|
|
78
377
|
/** The country for the current company. Returns the two-letter abbreviation. For example, US */
|
package/N/transaction.d.ts
CHANGED
|
@@ -12,61 +12,63 @@ interface TransactionVoidFunction {
|
|
|
12
12
|
declare const voidFunc: TransactionVoidFunction;
|
|
13
13
|
export {voidFunc as void};
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
15
|
+
/** N/transaction.Type enum */
|
|
16
|
+
export enum Type { // As of 6 June 2025
|
|
17
|
+
ASSEMBLY_BUILD = 'assemblybuild',
|
|
18
|
+
ASSEMBLY_UNBUILD = 'assemblyunbuild',
|
|
19
|
+
BIN_TRANSFER = 'bintransfer',
|
|
20
|
+
BIN_WORKSHEET = 'binworksheet',
|
|
21
|
+
BLANKET_PURCHASE_ORDER = 'blanketpurchaseorder',
|
|
22
|
+
CASH_REFUND = 'cashrefund',
|
|
23
|
+
CASH_SALE = 'cashsale',
|
|
24
|
+
CHECK = 'check',
|
|
25
|
+
CREDIT_CARD_CHARGE = 'creditcardcharge',
|
|
26
|
+
CREDIT_CARD_REFUND = 'creditcardrefund',
|
|
27
|
+
CREDIT_MEMO = 'creditmemo',
|
|
28
|
+
CUSTOMER_DEPOSIT = 'customerdeposit',
|
|
29
|
+
CUSTOMER_PAYMENT = 'customerpayment',
|
|
30
|
+
CUSTOMER_PAYMENT_AUTHORIZATION = 'customerpaymentauthorization',
|
|
31
|
+
CUSTOMER_REFUND = 'customerrefund',
|
|
32
|
+
CUSTOM_TRANSACTION = 'customtransaction',
|
|
33
|
+
DEPOSIT = 'deposit',
|
|
34
|
+
DEPOSIT_APPLICATION = 'depositapplication',
|
|
35
|
+
ESTIMATE = 'estimate',
|
|
36
|
+
EXPENSE_REPORT = 'expensereport',
|
|
37
|
+
FULFILLMENT_REQUEST = 'fulfillmentrequest',
|
|
38
|
+
INBOUND_SHIPMENT = 'inboundshipment',
|
|
39
|
+
INVENTORY_ADJUSTMENT = 'inventoryadjustment',
|
|
40
|
+
INVENTORY_COST_REVALUATION = 'inventorycostrevaluation',
|
|
41
|
+
INVENTORY_COUNT = 'inventorycount',
|
|
42
|
+
INVENTORY_STATUS_CHANGE = 'inventorystatuschange',
|
|
43
|
+
INVENTORY_TRANSFER = 'inventorytransfer',
|
|
44
|
+
INVOICE = 'invoice',
|
|
45
|
+
ITEM_FULFILLMENT = 'itemfulfillment',
|
|
46
|
+
ITEM_RECEIPT = 'itemreceipt',
|
|
47
|
+
JOURNAL_ENTRY = 'journalentry',
|
|
48
|
+
OPPORTUNITY = 'opportunity',
|
|
49
|
+
ORDER_RESERVATION = 'orderreservation',
|
|
50
|
+
PAYCHECK = 'paycheck',
|
|
51
|
+
PAYCHECK_JOURNAL = 'paycheckjournal',
|
|
52
|
+
PERIOD_END_JOURNAL = 'periodendjournal',
|
|
53
|
+
PURCHASE_CONTRACT = 'purchasecontract',
|
|
54
|
+
PURCHASE_ORDER = 'purchaseorder',
|
|
55
|
+
PURCHASE_REQUISITION = 'purchaserequisition',
|
|
56
|
+
RETURN_AUTHORIZATION = 'returnauthorization',
|
|
57
|
+
REVENUE_ARRANGEMENT = 'revenuearrangement',
|
|
58
|
+
REVENUE_COMMITMENT = 'revenuecommitment',
|
|
59
|
+
REVENUE_COMMITMENT_REVERSAL = 'revenuecommitmentreversal',
|
|
60
|
+
SALES_ORDER = 'salesorder',
|
|
61
|
+
STORE_PICKUP_FULFILLMENT = 'storepickupfulfillment',
|
|
62
|
+
TRANSFER_ORDER = 'transferorder',
|
|
63
|
+
VENDOR_BILL = 'vendorbill',
|
|
64
|
+
VENDOR_CREDIT = 'vendorcredit',
|
|
65
|
+
VENDOR_PAYMENT = 'vendorpayment',
|
|
66
|
+
VENDOR_PREPAYMENT = 'vendorprepayment',
|
|
67
|
+
VENDOR_PREPAYMENT_APPLICATION = 'vendorprepaymentapplication',
|
|
68
|
+
VENDOR_RETURN_AUTHORIZATION = 'vendorreturnauthorization',
|
|
69
|
+
WAVE = 'wave',
|
|
70
|
+
WORK_ORDER = 'workorder',
|
|
71
|
+
WORK_ORDER_CLOSE = 'workorderclose',
|
|
72
|
+
WORK_ORDER_COMPLETION = 'workordercompletion',
|
|
73
|
+
WORK_ORDER_ISSUE = 'workorderissue',
|
|
72
74
|
}
|
package/N/types.d.ts
CHANGED
|
@@ -194,7 +194,7 @@ export namespace EntryPoints {
|
|
|
194
194
|
|
|
195
195
|
interface beforeSubmitContext {
|
|
196
196
|
newRecord: N_record.Record;
|
|
197
|
-
oldRecord
|
|
197
|
+
oldRecord?: N_record.Record;
|
|
198
198
|
type: UserEventType;
|
|
199
199
|
UserEventType: UserEventTypes;
|
|
200
200
|
}
|
|
@@ -203,7 +203,7 @@ export namespace EntryPoints {
|
|
|
203
203
|
|
|
204
204
|
interface afterSubmitContext {
|
|
205
205
|
newRecord: N_record.Record & { id: number };
|
|
206
|
-
oldRecord
|
|
206
|
+
oldRecord?: N_record.Record;
|
|
207
207
|
type: UserEventType;
|
|
208
208
|
UserEventType: UserEventTypes;
|
|
209
209
|
}
|
|
@@ -364,7 +364,7 @@ export namespace EntryPoints {
|
|
|
364
364
|
namespace WorkflowAction {
|
|
365
365
|
interface onActionContext {
|
|
366
366
|
newRecord: N_record.Record;
|
|
367
|
-
oldRecord
|
|
367
|
+
oldRecord?: N_record.Record;
|
|
368
368
|
form?: N_ui_serverWidget.Form;
|
|
369
369
|
type?: string;
|
|
370
370
|
workflowId?: number;
|
package/N/ui/serverWidget.d.ts
CHANGED
|
@@ -220,6 +220,15 @@ interface SublistGetSublistValueOptions {
|
|
|
220
220
|
line: number;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
interface SublistInsertFieldOptions {
|
|
224
|
+
/** The Field object to insert. */
|
|
225
|
+
field: Field;
|
|
226
|
+
/** Used to specify whether the field is inserted before or after the next field (options.nextfield).*/
|
|
227
|
+
isBefore: boolean;
|
|
228
|
+
/** The internal ID name of the field you are inserting a field in front of. */
|
|
229
|
+
nextfield: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
223
232
|
interface SublistSetSublistValueOptions {
|
|
224
233
|
/** The internal ID name of the line item field being set. */
|
|
225
234
|
id: string;
|
|
@@ -313,10 +322,10 @@ export interface Assistant {
|
|
|
313
322
|
/** Indicates whether all steps in an assistant are completed. */
|
|
314
323
|
isFinished(): boolean;
|
|
315
324
|
/**
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
325
|
+
* Manages redirects in an assistant.
|
|
326
|
+
* This method also addresses the case in which one assistant redirects to another assistant.
|
|
327
|
+
* In this scenario, the second assistant must return to the first assistant if the user Cancels or Finishes. This method, when used in the second assistant, ensures that users are redirected back to the first assistant.
|
|
328
|
+
*/
|
|
320
329
|
sendRedirect(options: SendRedirectOptions): void;
|
|
321
330
|
/** Defines a splash message. */
|
|
322
331
|
setSplash(options: SetSplashOptions): void;
|
|
@@ -517,6 +526,8 @@ export interface Sublist {
|
|
|
517
526
|
getField(options: IDOptions): Field;
|
|
518
527
|
/** Gets a field value on a sublist. */
|
|
519
528
|
getSublistValue(options: SublistGetSublistValueOptions): string;
|
|
529
|
+
/** Insert a field in a sublist before or after another field. */
|
|
530
|
+
insertField(options: SublistInsertFieldOptions): void;
|
|
520
531
|
/** Sets the value of a sublist field. */
|
|
521
532
|
setSublistValue(options: SublistSetSublistValueOptions): string;
|
|
522
533
|
/** Updates the ID of a field designated as a totalling column, which is used to calculate and display a running total for the sublist. */
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"posttest": "npm run cleanup"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://github.com/headintheclouddev/typings-suitescript-2.0",
|
|
11
|
-
"version": "2025.1.
|
|
11
|
+
"version": "2025.1.12",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|