def METHOD_NAME(company):
	frappe.db.set_single_value("Stock Settings", "allow_negative_stock", 1)
	start_date = get_fiscal_year(date=getdate())[1]
	for doctype in frappe.get_hooks("demo_transaction_doctypes"):
		data = read_data_file_using_hooks(doctype)
		if data:
			for item in json.loads(data):
				create_transaction(item, company, start_date)
	convert_order_to_invoices()
	frappe.db.set_single_value("Stock Settings", "allow_negative_stock", 0)