Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/FCS-Consultores/hechizo-SAP-intercompany/llms.txt

Use this file to discover all available pages before exploring further.

Hechizo SAP Intercompany is a .NET Framework 4.8 console application that keeps nine SAP Business One company databases in sync. It replicates master data — items, business partners, manufacturers, payment terms, GL accounts, discount groups, salespeople, and employees — and mirrors the full intercompany commercial document flow: purchase requests, sales orders, purchase orders, AR/AP invoices, credit notes, and incoming payments.

Introduction

Understand what the application does and the problem it solves

Quickstart

Build, configure, and run your first sync in minutes

Architecture

Explore the hub-and-spoke sync model and component layout

Configuration

Set up config.ini with your HANA server and company credentials

What Gets Synchronized

Every execution cycle covers four categories of data, flowing from the Hechizo hub company out to — and between — all branch companies.

Master Data

Items, manufacturers, item groups, business partner groups, payment terms, discount groups, salespeople, and employees

Purchase & Sales Cycle

Purchase requests → Sales orders (Hechizo) → Purchase orders in each branch

Invoices & Payments

AR invoices and credit notes replicated as AP documents; incoming payments mirrored across all pairs

Chart of Accounts

GL account structure propagated from Hechizo to every branch company

Explore the Reference

Intercompany Methods

Full reference for every static method in the Intercompany class

Conexion Class

Token generation and HANA connection string helpers

Tools

Logging, INI file reader, memory management, and file utilities

Data Models

C# model classes used for document line serialization
1

Prerequisites

Install .NET Framework 4.8, configure the SAP HANA ODBC driver (HDBODBC), and ensure the SAP Business One Service Layer is reachable on port 50000.
2

Configure config.ini

Copy the sample config.ini to the executable directory and fill in your HANA server node, SYSTEM credentials, Service Layer user, and all ten company database names.
3

Build the solution

Open Inter_Hechiz.sln in Visual Studio 2019+ and build for the x64 | Debug or x64 | Release configuration.
4

Run the sync

Execute MCH_IC.exe. The console window hides automatically. Monitor progress in the Log/ folder next to the executable.

Build docs developers (and LLMs) love