Actions34
- Inventory Counting Actions
- Inventory Gen Entrie Actions
- Inventory Gen Exit Actions
- Inventory Posting Actions
- Item Actions
- Stock Transfer Actions
Overview
This node interacts with the SAP Business One Service Layer (version 7) specifically for inventory-related resources. The "Inventory Counting" resource's "Close" operation allows users to close an existing inventory counting document in SAP B1. Closing an inventory counting typically finalizes the counting process, preventing further modifications and updating stock levels accordingly.
Practical scenarios include:
- Finalizing physical inventory counts after verification.
- Automating inventory workflows by programmatically closing count documents once data entry is complete.
- Integrating SAP B1 inventory processes into broader automation pipelines.
Properties
Name | Meaning |
---|---|
DocEntry / Key | Primary key of the inventory counting document to be closed. This identifies the record. |
Output
The node outputs a JSON object representing the response from the SAP B1 Service Layer after attempting to close the specified inventory counting document. This typically includes confirmation details or error information related to the close operation.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"DocEntry": 123,
"Status": "Closed",
"Message": "Inventory counting closed successfully"
}
Or, in case of error:
{
"error": "Error message describing what went wrong"
}
Dependencies
- Requires connection to SAP Business One Service Layer API (version 7).
- Needs credentials including base URL, username, password, and company database name.
- The node authenticates via a login POST request to obtain session cookies used in subsequent requests.
- No additional external dependencies beyond the SAP B1 Service Layer API.
Troubleshooting
- Authentication errors: If login fails, verify that the SAP B1 credentials (username, password, company DB) are correct and that the Service Layer endpoint is reachable.
- Invalid DocEntry: Providing a non-existent or incorrect primary key will result in an error from SAP B1 indicating the document was not found.
- Permission issues: Ensure the user has sufficient rights in SAP B1 to perform the close operation on inventory counting documents.
- Network/SSL issues: The node disables SSL certificate verification (
rejectUnauthorized: false
), but network connectivity problems or firewall restrictions can still cause failures. - Error messages returned from SAP B1 are passed through in the
error
field of the output JSON; review these messages for specific causes.
Links and References
- SAP Business One Service Layer Documentation
- SAP B1 Inventory Counting Concepts (example link, adjust as needed)