@yousolution/node-red-contrib-you-sap-service-layer 0.2.11 → 0.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [0.2.12] - 2025-08-05
6
+
7
+ - Bug Fix on DeleteSAP node for manage Drafts cancelation
8
+
5
9
  # [0.2.11] - 2025-07-28
6
10
 
7
11
  - Add Manage NextLink on ServiceNode
@@ -90,6 +90,11 @@
90
90
  ) {
91
91
  jQuery('#container-entityId').hide();
92
92
  }
93
+
94
+ if(jQuery(this).val() === 'Drafts'){
95
+ jQuery('#container-entityId').show();
96
+ }
97
+
93
98
  });
94
99
  },
95
100
  });
package/nodes/support.js CHANGED
@@ -251,7 +251,9 @@ function generateRequest(node, msg, config, options) {
251
251
  if (!entityId && config.entity != 'UDO' && config.entity != 'UDT') {
252
252
  throw new Error('Missing entityId');
253
253
  }
254
+
254
255
  const docEntry = msg[config.docEntry];
256
+
255
257
  if (config.entity == 'UDO') {
256
258
  if (!docEntry) {
257
259
  throw new Error('Missing docEntry');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yousolution/node-red-contrib-you-sap-service-layer",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Unofficial module SAP Service Layer for NODE-RED",
5
5
  "license": "MIT",
6
6
  "scripts": {