'@case: INV
@description: Functions which runs specific workflows for Inventory tes
@TestDoc: https://docs.google.com/spreadsheet/ccc?key=0AmB3hMcgB-3idG1XNGhhRG9QWF81dUlKLXpJaFlCMFE
@Test Wiki: http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Testing'

def send(self, user, data):

    print '\n'
    '\n                                                Helper    method    to    add    a    inv_send    record    by    the    given    user\n                                '
    self.login(account=user, nexturl='inv/send/create')
    table = 'inv_send'
    result = self.create(table, data)
    s3_debug(('WB    reference:    %s' % self.send_get_ref(result)))
    return result
