@hitc/netsuite-types 2022.1.7 → 2022.1.8

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 +11 -0
  2. package/package.json +1 -1
package/N/record.d.ts CHANGED
@@ -167,6 +167,12 @@ interface InsertLineOptions {
167
167
  ignoreRecalc?: boolean;
168
168
  }
169
169
 
170
+ interface MoveLineOptions {
171
+ sublistId: string;
172
+ from: number;
173
+ to: number;
174
+ }
175
+
170
176
  interface SelectLineOptions {
171
177
  /** The internal ID of the sublist. */
172
178
  sublistId: string;
@@ -537,6 +543,11 @@ export interface ClientCurrentRecord {
537
543
  * This value is set when the record is created or accessed.
538
544
  */
539
545
  isDynamic: boolean;
546
+ /**
547
+ * Moves one line of the sublist to another location. The sublist machine must allow moving lines, for example: editmachine.setAllowMoveLines(true);.
548
+ * The sublist must contain the _sequence field. The sublist type must be edit machine. When using this method, the order of the other lines is preserved.
549
+ */
550
+ moveLine(options: MoveLineOptions): this;
540
551
  /**
541
552
  * Removes the subrecord for the associated sublist field on the current line.
542
553
  * @return {Record} same record, for chaining
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.7",
11
+ "version": "2022.1.8",
12
12
  "main": "index.d.ts",
13
13
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
14
14
  "license": "MIT",