@hitc/netsuite-types 2022.2.11 → 2022.2.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.
Files changed (2) hide show
  1. package/SuiteGL.d.ts +14 -1
  2. package/package.json +1 -1
package/SuiteGL.d.ts CHANGED
@@ -43,7 +43,6 @@ interface GLLine {
43
43
  * object contains a reference to each custom GL impact line.
44
44
  */
45
45
  interface CustomLine extends GLLine {
46
- // TODO: Add the rest of the methods here. There are a few more that may be used in special situations.
47
46
  /**
48
47
  * Sets the account ID property for a CustomLine object in a primary or secondary book.
49
48
  * @param {number} accountId Internal NetSuite ID for an account.
@@ -90,6 +89,20 @@ interface CustomLine extends GLLine {
90
89
  * @param {string} segmentValueId
91
90
  */
92
91
  setSegmentValueId (segmentId: string, segmentValueId: number): void;
92
+ /**
93
+ * Sets a custom GL impact line to affect only the primary book in a Custom GL plug-in implementation.
94
+ * If you use this method and set the value to false,
95
+ * the plug-in implementation copies the custom line to secondary books and the custom line is also subject to the any mapping set up for the Multi-Book Accounting feature.
96
+ *
97
+ * If you do not use this method or set the value to true, the custom GL impact line only applies to the primary accounting book and is not copied to secondary accounting books.
98
+ * @param {boolean} bookSpecific
99
+ */
100
+ setBookSpecific(bookSpecific: boolean): void;
101
+ /**
102
+ * Returns true if the custom line is specific to the primary book and should not be copied to the secondary accounting books.
103
+ * Returns false if the custom line is not specific to the primary accounting book.
104
+ */
105
+ isBookSpecific(): boolean;
93
106
  }
94
107
 
95
108
  /**
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.2.11",
11
+ "version": "2022.2.12",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {