@hitc/netsuite-types 2022.1.8 → 2022.2.1

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.
Files changed (2) hide show
  1. package/N/record.d.ts +24 -1
  2. package/package.json +1 -1
package/N/record.d.ts CHANGED
@@ -203,6 +203,29 @@ interface SetCurrentMatrixSublistValueOptions {
203
203
  /** Use forceSyncSourcing instead of fireSlavingSync on currentRecord module. */
204
204
  forceSyncSourcing?: boolean
205
205
  }
206
+ interface SetMatrixSublistValueOptions {
207
+ /** The internal ID of the sublist. */
208
+ sublistId: string;
209
+ /** The internal ID of a standard or custom sublist field. */
210
+ fieldId: string;
211
+ /** The line number to set in the sublist. */
212
+ line: number;
213
+ /** The column number for the field. */
214
+ column: number
215
+ /**
216
+ * The value to set the field to.
217
+ * The value type must correspond to the field type being set. For example:
218
+ * - Text, Radio and Select fields accept string values.
219
+ * - Checkbox fields accept Boolean values.
220
+ * - Date and DateTime fields accept Date values.
221
+ * - Integer, Float, Currency and Percent fields accept number values.
222
+ */
223
+ value: FieldValue;
224
+ /** Indicates whether to perform slaving synchronously. */
225
+ fireSlavingSync?: boolean;
226
+ /** Use forceSyncSourcing instead of fireSlavingSync on currentRecord module. */
227
+ forceSyncSourcing?: boolean
228
+ }
206
229
 
207
230
  interface SetCurrentSublistValueOptions {
208
231
  /** The internal ID of the sublist. */
@@ -578,7 +601,7 @@ export interface ClientCurrentRecord {
578
601
  /** Sets the value for the associated header in the matrix. */
579
602
  setMatrixHeaderValue(options: SetCurrentMatrixSublistValueOptions): Record;
580
603
  /** Sets the value for the associated field in the matrix. */
581
- setMatrixSublistValue(options: SetSublistValueOptions): Record;
604
+ setMatrixSublistValue(options: SetMatrixSublistValueOptions): Record;
582
605
  /** Sets the value of the field by a text representation. */
583
606
  setText(options: SetFieldTextOptions): this;
584
607
  setText(fieldId: string, value: string): this;
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": "2022.1.8",
11
+ "version": "2022.2.1",
12
12
  "main": "index.d.ts",
13
13
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
14
14
  "license": "MIT",