0, $ref, $am0 * -1);
add_gl_trans(ST_JOURNAL, $id, $date, get_post('res_act'), get_post('dimension_id'),
get_post('dimension2_id'), $ref, $am0);
0, $ref, $am0 * -1);
add_gl_trans(ST_JOURNAL, $id, $date, get_post('res_act'), get_post('dimension_id'),
get_post('dimension2_id'), $ref, $am0);