SAP B1 Intercompany: A/R Invoice → B Purchase Invoice Draft
When an A/R invoice is added in company A for a business partner flagged as intercompany, mirror it into company B as a Purchase Invoice DRAFT for human review. Uses cross-company CoA mapping, stamps the source DocEntry into a UDF for idempotency, and appends the pair to a reconciliation report of unmatched intercompany documents.
Steps in this flow
- Company A: A/R Invoice Added
- Guard: Source DocEntry
- BP flagged intercompany?
- Map: CoA + CardCode/ItemCode (A→B)
- Halt if any line unmapped
- SL Login: Company B
- Company B: POST /Drafts (PurchaseInvoice)
- Append to IC Reconciliation Report
- Notify Finance: Draft Awaiting Review