# Legacy G/L

The module lets you keep, in ledger entries, references coming from a previous (legacy) system. Two additional fields, **Legacy No.** and **Legacy Batch No.**, can be filled in on general journal lines and are automatically carried over to the entries created when posting. This is useful, for example, when migrating balances or history, to trace back the original document and import batch.


The fields are hidden by default: use **Personalize** or **Choose Columns** on the page to show them.

| Page | Editable |
|---|---|
| General Journal | Yes |
| General Ledger Entries | No |
| Customer Ledger Entries | No |
| Vendor Ledger Entries | No |


| Field | Description |
|---|---|
| Legacy No. | Reference number of the document or entry in the previous system. |
| Legacy Batch No. | Number of the batch (import or posting batch) in the previous system. |


1. Open the general journal and show the **Legacy No.** and **Legacy Batch No.** columns.
2. Fill in the two fields on the lines to post (manually or by import).
3. Post the journal.
4. Review the values in **General Ledger Entries** and, for lines with a customer or vendor, in the related ledger entries.


- When posting, the **Legacy No.** and **Legacy Batch No.** values are copied to the G/L entries created from the line.
- If the line concerns a customer or vendor, the values are also copied to the customer or vendor ledger entry.
- On posted entries the fields are read-only.