Skip to main content

ERPNext - Connector settings

ERPNext - Connector Settings These settings control the behavior of the ERPNext connector, including authentication, data filtering, and o...

Updated over a week ago

ERPNext - Connector Settings

These settings control the behavior of the ERPNext connector, including authentication, data filtering, and order processing. Proper configuration is essential for seamless data synchronization between ERPNext and the App4Sales platform.

Settings are configured within the App4Sales portal and are applied at runtime when the connector performs tasks such as item updates, customer synchronization, and order submissions. These settings are stored in the App4Sales database.

Setting

Description

Values / Defaults

Dependencies / Effects

Address

The base URL of the ERPNext API endpoint.

A valid URL (e.g., "https://example.erpnext.com").

This is a mandatory field for connecting to the ERPNext instance. An incorrect URL will cause all API calls to fail.

Username

The API username for authenticating with the ERPNext API.

A valid API username.

Required for authentication. Invalid credentials will result in failed API requests.

Password

The API password for authenticating with the ERPNext API.

A valid API password.

Required for authentication. Invalid credentials will result in failed API requests.

WarehouseForStock

Specifies the warehouse code to use when retrieving stock information for an item.

A valid warehouse code from ERPNext.

If a warehouse code is provided, stock information will be filtered for that specific warehouse. If left empty, the connector may use a default warehouse or aggregate stock from all warehouses, depending on the implementation. This setting is used in the `OptA4SGetStockForItem` method.

ShowOnlyBackOrderLines

Controls the level of detail displayed for backorders.

Boolean (true/false).

When set to `true`, the backorder view will only show the individual backorder lines. When `false`, it will display the full order details for each backorder. This setting is used in the `OptA4SGetBackOrders` method.

Known Limitations

The specific settings file for the ERPNext connector (`ERPNext.cs`) was not found in the provided source code. The settings documented above have been inferred from their usage within the `ERPNextConnector.cs` file. There may be other settings available for this connector that are not documented here.

Did this answer your question?