@hitc/netsuite-types 2022.2.17 → 2023.1.2
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/portlet.d.ts +13 -0
- package/N/record.d.ts +5 -1
- package/package.json +1 -1
package/N/portlet.d.ts
CHANGED
|
@@ -18,6 +18,19 @@ interface AddEditColumnOptions {
|
|
|
18
18
|
column: string;
|
|
19
19
|
showHrefCol?: boolean;
|
|
20
20
|
showView?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The Edit/View base link. (For example: /app/common/entity/employee.nl)
|
|
23
|
+
* The complete link is formed like this: <link>?<linkParamName>=<row data from linkParam>. (For example: /app/common/entity/employee.nl?id=123)
|
|
24
|
+
*/
|
|
25
|
+
link?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The internal ID of the field in the row data where to take the parameter from.
|
|
28
|
+
* The default value is the value set in the options.column parameter.
|
|
29
|
+
* Tip: In most cases, the value to use here is internalid.
|
|
30
|
+
*/
|
|
31
|
+
linkParam?: string;
|
|
32
|
+
/** The name of the parameter. The default value is id. */
|
|
33
|
+
linkParamName?: string;
|
|
21
34
|
}
|
|
22
35
|
|
|
23
36
|
interface AddFieldOptions {
|
package/N/record.d.ts
CHANGED
|
@@ -574,6 +574,10 @@ export interface ClientCurrentRecord {
|
|
|
574
574
|
* This value is set when the record is created or accessed.
|
|
575
575
|
*/
|
|
576
576
|
isDynamic: boolean;
|
|
577
|
+
/** UNDOCUMENTED (as of 2023.1): This value is true when the record is being created. */
|
|
578
|
+
readonly isNew: boolean;
|
|
579
|
+
/** UNDOCUMENTED (as of 2023.1): Returns true if the record form cannot be edited, or false otherwise. */
|
|
580
|
+
readonly isReadOnly: boolean;
|
|
577
581
|
/**
|
|
578
582
|
* Moves one line of the sublist to another location. The sublist machine must allow moving lines, for example: editmachine.setAllowMoveLines(true);.
|
|
579
583
|
* 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.
|
|
@@ -616,7 +620,7 @@ export interface ClientCurrentRecord {
|
|
|
616
620
|
/** Sets the value of a field. */
|
|
617
621
|
setValue(options: SetValueOptions): this;
|
|
618
622
|
setValue(fieldId: string, value: FieldValue): this;
|
|
619
|
-
|
|
623
|
+
|
|
620
624
|
/** The record type. */
|
|
621
625
|
type: Type | string;
|
|
622
626
|
}
|
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": "
|
|
11
|
+
"version": "2023.1.2",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|