Admin Dashboard
×

Result for: Pritam Shamrao Gangurde


Exam Name: ERP NEXT Developer

Download Result (PDF)

Total Marks: 45.0

Score: 37.0

Percentage: 82.22%


Question Answers

Sr. No. Question Selected Answer Correct Answer
1 What is the underlying web framework used by ERPNext? Frappe Frappe
2 Which DocType property defines if a document is a single instance (like Settings) or a list of records? Is Single Is Single
3 In Frappe, what is a "DocType"? A database table definition A database table definition
4 Which field type is used to link two DocTypes together? Link Link
5 What is the file extension for the meta-data of a DocType? .json .json
6 Which command is used to start the development server? bench start bench start
7 Which command creates a new Frappe app? bench new-app [name] bench new-app [name]
8 Where are the site configurations (like database credentials) stored? sites/[site_name]/site_config.json sites/[site_name]/site_config.json
9 To apply changes made in DocType JSON files to the database, which command is used? bench migrate bench migrate
10 How do you enable "Developer Mode" for a site? set "developer_mode": 1 in site_config.json set "developer_mode": 1 in site_config.json
11 Which event is triggered when a form is loaded and ready? onload refresh
12 How do you set a value in a field using Client Script? frm.set_value('field', value) frm.set_value('field', value)
13 How do you make a field read-only dynamically via script? frm.set_df_property('field', 'read_only', 1) frm.set_df_property('field', 'read_only', 1)
14 Which method is used to fetch a value from the database asynchronously in JS? frappe.db.get_value frappe.call
15 What is the correct syntax to trigger a function when a specific field 'age' changes? on_change_age: function(frm) { } age: function(frm) { }
16 Which controller method is called before saving a document to validate data? validate validate
17 How do you fetch a specific document in Python? frappe.get_doc(doctype, name) frappe.get_doc(doctype, name)
18 How do you show a popup message to the user from Python code? frappe.msgprint("Message") frappe.msgprint("Message")
19 Which decorator is required to make a Python function accessible via AJAX/API? @frappe.whitelist() @frappe.whitelist()
20 In a controller class, how do you access the value of the 'status' field? self.status self.status
21 What is the prefix of database tables created by Frappe? tab tab
22 Which method is best for fetching a single value from the DB for performance? frappe.db.get_value frappe.db.get_value
23 How do you run a raw SQL query in Frappe? frappe.db.sql("query") frappe.db.sql("query")
24 Which parameter in frappe.get_list is used to filter results? filters filters
25 By default, frappe.db.sql returns data as: List of Tuples List of Tuples
26 What is the file hooks.py used for? Connecting events and scheduling tasks Connecting events and scheduling tasks
27 How do you restrict a document so it can only be submitted, not cancelled? Override on_cancel and throw exception Override on_cancel and throw exception
28 To export custom fields created in a live site to your app, you use: Fixtures Fixtures
29 Which hook is used to run a task every day at midnight? daily scheduler_events
30 If you want to change the standard logic of the 'Item' DocType validation without touching core files, you should use: doc_events in hooks.py doc_events in hooks.py
31 What is the standard REST API endpoint format for a specific document? /api/resource/DocType/Name /api/resource/DocType/Name
32 Which header is required for token-based authentication in API calls? Authorization Authorization
33 To allow Guest (not logged in) users to access a whitelisted function, you must: Set allow_guest=True in decorator Set allow_guest=True in decorator
34 What method is used to call a Python function from another app? frappe.call frappe.call
35 If frappe.db.commit() is not called after a DB write in a custom script... The transaction is rolled back The transaction is rolled back
36 How do you run a long-running Python function in the background? frappe.enqueue() frappe.enqueue()
37 Which Redis queue is used for long jobs by default? long default
38 How do you log a complex error trace to the 'Error Log' DocType? frappe.log_error(message, title) frappe.log_error(message, title)
39 What command allows you to open a Python shell within the context of your site? bench python bench console
40 If you need to store temporary data that expires, which mechanism should you use? frappe.cache() frappe.cache()
41 Which templating engine is used for Print Formats in ERPNext? Jinja2 Jinja2
42 In a Query Report, how do you pass filters from JS to the SQL query? Using %(filter_name)s syntax Using %(filter_name)s syntax
43 Which file is required to define the columns of a Script Report? .js file .py file
44 How do you add a custom button to the Form Menu in JS? frm.page.add_button frm.add_custom_button
45 To render a custom HTML template inside a workspace or page, you use: frappe.render_template frappe.render_template
  Page 1  
Admin Dashboard