---
title: "Discussion on \"A Service Layer batch is not one document. Check each source id before you retry the set\" | Hashnode"
description: "Discussion on \"A Service Layer batch is not one document. Check each source id before you retry the set\". If one sales order in a $batch fails, the others may already exist. A full retry will duplicate the ones that succeeded."
url: "https://hashnode.com/posts/a-service-layer-batch-is-not-one-document-check-each-source-id-before-you-retry-the-set/6af8813f3ed88d447a560f67"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Service Layer batch is not one document. Check each source id before you retry the set](https://kodenova.hashnode.dev/a-service-layer-batch-is-not-one-document-check-each-source-id-before-you-retry-the-set?utm_source=hashnode&utm_medium=feed)

If one sales order in a $batch fails, the others may already exist. A full retry will duplicate the ones that succeeded.

3d ago · 2 min read · kodenova.hashnode.dev  
Read the article

-   [#erp](https://hashnode.com/tag/erp)
-   [#integration](https://hashnode.com/tag/integration)
-   [#sap-business-one](https://hashnode.com/tag/sap-business-one)
-   [#service-layer](https://hashnode.com/tag/service-layer)

## Written by

[Zain Abbas](https://hashnode.com/@kodenova)

@kodenova · Lahore, Pakistan

  
[View profile](https://hashnode.com/@kodenova)

SAP Business One developer: add-ons, integrations, HANA and AI

Zain Abbas, founder of Kodenova (kodenova.com), an independent SAP Business One, ERP and AI engineering studio that works alongside your SAP partner. 7+ years, clients in 13 countries. I build SAP B1 add-ons, ERP integrations (Shopify, WooCommerce, WhatsApp, banks, portals), SQL Server to HANA migrations, and AI agents and MCP servers for ERP. Remote, worldwide.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
