def find_by_name(name)
      Twinfield::Finder.new(@session).
        search(Twinfield::FinderSearch.new('DIM', name, 0, 1, 0, { office: @company, dimtype: 'DEB'} )).
        body[:search_response][:data]
    end
def find_by_name(name)
      Twinfield::Finder.new(@session).
        search(Twinfield::FinderSearch.new('DIM', name, 0, 1, 0, { office: @company, dimtype: 'DEB'} )).
        body[:search_response][:data]
    end
Find customer by name