Admin Dashboard
×

Result for: Khan Taiba Uruj Juned Ahmad Khan


Exam Name: ERP NEXT Developer

Download Result (PDF)

Total Marks: 45.0

Score: 5.0

Percentage: 11.11%


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