A custom ERPNext module for managing and importing supplier feeds in XML, CSV, and JSON format.
- Feed Setup DocType: Configure supplier feed sources with URL, format, and schedule
- Supplier Feed Record DocType: Temporarily store parsed product data for validation
- Integration with Supplier DocType: Access feed configurations from Supplier form
- Scheduled Fetching: Automatically fetch feeds based on schedule
- Manual Trigger: Fetch feeds manually before enabling schedule
- Review and Sync: Review and approve data before syncing to ERPNext Items
- Multi-format Support: Handle XML, CSV, and JSON formats with flexible parsing
- ERPNext v15 or later
- Frappe Framework v15 or later
-
Change to your bench directory:
cd /path/to/your/bench -
Get the app from GitHub:
bench get-app https://github.com/ReginaldGouws/supplier_feed -
Install the app on your site:
bench --site your-site.local install-app supplier_feed -
Migrate your database:
bench --site your-site.local migrate
-
Go to Supplier Feed > Feed Setup and click "New"
-
Enter the feed details:
- Feed Name: A unique name for this feed
- Supplier: Select the supplier
- Feed URL: The URL where the feed can be accessed
- Feed Format: Select XML, CSV, or JSON
- Schedule: Configure when to fetch the feed (interval or cron expression)
- Field Mappings: Map supplier feed fields to internal fields
-
Save the feed setup
- Manual Fetch: Open the Feed Setup and click "Fetch Feed Now"
- Scheduled Fetch: Enable the feed and it will be fetched according to the schedule
- Go to Supplier Feed > Supplier Feed Record to see fetched records
- Review each record and click "Approve" or "Reject"
- For approved records, select a mapped item and click "Sync to Item"
- Open a Supplier record
- In the "Supplier Feed" section, you'll find links to:
- Create Feed Setup
- View Feed Setups
- View Feed Records
MIT