The add_batch method is set using BatchHader but excludes the discretionary header parameter:
data_types.py line 299 (defined field lengths for BatchHeader declares cmpy_dis_data as 20 charachters):
data_types.py line 311 (init for BatchHeader has cmpy-dis-data):
def __init__(self, serv_cls_code='220', company_name='', cmpy_dis_data='',
company_id='', std_ent_cls_code='PPD', entry_desc='',
desc_date='', eff_ent_date='', orig_stat_code='',
orig_dfi_id='', batch_id=''):
builder.py line 63 then seems to ignore that field:
batch_header = BatchHeader(
serv_cls_code=serv_cls_code,
batch_id=batch_count,
company_id=company_id or self.settings['company_id'],
std_ent_cls_code=std_ent_cls_code,
entry_desc=entry_desc,
desc_date='',
eff_ent_date=eff_ent_date.strftime('%y%m%d'), # YYMMDD
orig_stat_code='1',
orig_dfi_id=self.settings['immediate_dest'][:8],
company_name=self.settings['immediate_org_name']
)
Is there another way to add that field?
Can you show it in the example if so?
The add_batch method is set using BatchHader but excludes the discretionary header parameter:
data_types.py line 299 (defined field lengths for BatchHeader declares cmpy_dis_data as 20 charachters):
data_types.py line 311 (init for BatchHeader has cmpy-dis-data):
builder.py line 63 then seems to ignore that field:
Is there another way to add that field?
Can you show it in the example if so?