Esempio n. 1
0
def create_accounting(approps, af):
    result = ussgl.accountingEntries()
    result.fiscalYear = write_string('2014')
    result.period = write_string('FY')
    indexed_af = index_by_tas(af)
    for approp in approps:
        result.USSGLentryHeader.append(create_USSGL_header(indexed_af, approp))
    return result
Esempio n. 2
0
def create_accounting(approps, af):
    '''Creates the accountingEntries element which will contain all
    financial level data'''
    result = ussgl.accountingEntries()
    result.fiscalYear = write_string('2014')
    result.period = write_string('FY')
    indexed_af = index_by_tas(af)
    for approp in approps:
        result.USSGLentryHeader.append(create_USSGL_header(indexed_af, approp))
    return result
Esempio n. 3
0
def create_accounting(approps, af):
    '''Creates the accountingEntries element which will contain all
    financial level data'''
    result = ussgl.accountingEntries()
    result.fiscalYear = write_string('2014')
    result.period = write_string('FY')
    indexed_af = index_by_tas(af)
    for approp in approps:
        result.USSGLentryHeader.append(create_USSGL_header(indexed_af, approp))
    return result