sample code to create a business note