erpnext-syntax-clientscripts

Standardize ERPNext and Frappe Client Script syntax for form events and server calls.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-syntax-clientscripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erpnext-syntax-clientscripts
Source: https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package/tree/main/skills/source/syntax/erpnext-syntax-clientscripts
Command: npx skills add https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package --skill erpnext-syntax-clientscripts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

ERPNext and Frappe client-script authors often write incorrect, brittle code; this guide standardizes syntax and patterns to reduce production issues and debugging time.

Core Features & Use Cases

  • Syntax reference for client events, form events, and child table handling in ERPNext v14/v15/v16.
  • Practical patterns for common tasks: form events, field manipulation, server calls, and cross-module integrations.
  • Real-world usage example: structure a reliable client script to update fields on form events and call server methods.

Quick Start

Load this skill into your Claude workspace and start coding ERPNext client scripts using the patterns demonstrated.

Frequently Asked Questions about erpnext-syntax-clientscripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write ERPNext client scripts for form events without causing production bugs?

You write ERPNext client scripts by following standardized syntax patterns for form events, field manipulation, and server calls. This skill enforces correct event lifecycles and API usage across ERPNext v14–v16 to prevent brittle code and reduce production bugs.

What is the correct syntax for handling child tables in Frappe client scripts?

Handling child tables in Frappe client scripts involves specific event lifecycles and API usage patterns. This guide standardizes child table manipulation syntax, ensuring you apply the correct form events and field updates across ERPNext v14 through v16.

How do I call server methods from an ERPNext client script?

Calling server methods from ERPNext client scripts requires specific API usage patterns to ensure reliability. This skill provides practical examples of structuring client scripts to securely execute server calls and update form fields upon event triggers.

Does this Frappe client script syntax guide apply to ERPNext version 14?

Yes, this Frappe client script syntax guide explicitly supports ERPNext v14, v15, and v16. It provides version-appropriate patterns for form events, field manipulation, and child table handling to ensure compatibility across these platform versions.

Why does my ERPNext client script break when updating fields on form events?

ERPNext client scripts break when using incorrect event lifecycles or non-standard API usage. This skill clarifies the proper syntax for field manipulation and form events, enforcing best practices to eliminate common UI scripting errors.