Fixing error posting gl with subtotals and pgnumber.