</>CodeWithKarani
All of ERPNext & Frappe
ERPNext & Frappe

Custom App Development

DocTypes, hooks, scripts, permissions and the framework internals you build on.

8 articles

Upeosoft6 min read

Enterprise Integrations: Connecting M-Pesa and APIs to Your ERP

M-Pesa callbacks, payment matching, e-commerce sync and eTIMS. The patterns that survive production - idempotency, queues, raw payload logs and reconciliation - and the ones that create duplicate receipts.

Read
Frappe/ERPNext8 min read

Reverse-Engineering the Frappe REST API: the Reference Nobody Wrote

Frappe auto-generates a REST API from your DocTypes but ships no OpenAPI spec, so integrations are trial and error. Here is the working reference: filters, fields, auth, child tables and the gotchas.

Read
Frappe/ERPNext7 min read

cannot import name 'Table' from 'frappe.query_builder': Use DocType

The frappe.query_builder rewrite around pypika dropped Table with no shim. Here is the correct import, the root cause, and version-tolerant code that survives upgrades.

Read
Frappe/ERPNext1 min read

Custom Buttons - Client Scripts in Frappe Framework and ERPNext

Client scripts are powerful! They give you the flexibility to control how you want your application to behave. With these pieces of code we can even alter how our application works currently. In this…

Read
Frappe/ERPNext1 min read

Adding Custom Fields to Existing DocTypes in ERPNext

This tutorial demonstrated how we can add custom fields to existing DocTypes in ERPNext and/or the Frappe Framework. In this , we will cover the following: Add custom fields to existing ERPNext…

Read
Technology1 min read

DocType POS Offer Detail not found

When you get the an error message that DocType POS Offer Detail not found, you are most likely missing POS Awesome app in your instance. All you need to do is get it installed.…

Read
Featured1 min read

Creating A Custom App In Frappe/ERPNext And Installing It On Your Instance

This lesson is part of the complete Frappe Framework and ERPNext developer training series. In this one, we will explore how to create a custom app in Frappe Framework and install it on our running…

Read
Technology1 min read

How to Authenticate and Login to ERPNext With an API

The Login Service API provides endpoints to manage the User Session in Conversational Cloud, such as User Login, Application Login, Logout and Refresh. API authentication is the processes of…

Read