SELECT
  [ACTINDX] AS actindx,
  [YEAR1] AS year1,
  [PERIODID] AS periodid,
  [Ledger_ID] AS ledger_id,
  [PERDBLNC] AS perdblnc,
  RTRIM([ACTNUMBR_1]) AS actnumbr_1,
  RTRIM([ACTNUMBR_2]) AS actnumbr_2,
  RTRIM([ACTNUMBR_3]) AS actnumbr_3,
  RTRIM([ACTNUMBR_4]) AS actnumbr_4,
  RTRIM([ACTNUMBR_5]) AS actnumbr_5,
  RTRIM([ACTNUMBR_6]) AS actnumbr_6,
  RTRIM([ACTNUMBR_7]) AS actnumbr_7,
  RTRIM([ACTNUMBR_8]) AS actnumbr_8,
  [ACCATNUM] AS accatnum,
  [DEBITAMT] AS debitamt,
  [CRDTAMNT] AS crdtamnt,
  [DEX_ROW_ID] AS dex_row_id
FROM [GPSERVER].[CHG].[dbo].[GL10110]
