Custom apps for cloud users [extend ERPNext with microservices]

check this code, It has 3 examples,

  1. All fields for ERPNext Connector doctypes have special query
  2. Specific Link field with query and filter
  3. Child table query example

Intended hook is for showing upstream searchfield for microservice app, because in the ERPNext Connector doctype there is only name field. Thus you cannot add search fields like normal doctype/customize form

"erpnext_connector_search_fields" = {
	"Contact": ["first_name", "last_name"],
	"DocType" ["field_1", "field_2"]
}

The connector is evolving, if I find a way to not use Conntector Doctypes at all then it will be ideal.

1 Like