You are here: File Descriptions > Purchase Order with Landed Cost > LCGIxxx - Goods/Invoices Link File

# LCGIxxx - Goods/Invoices Link File

The Landed Cost Goods/Invoices Link File stores information linking which receipt quantities were assigned to a particular invoice.

| Template: | DIM LCGI:"BATCH:C(6*), ORDER:C(8*), LINE:C(3*), ISEQ:C(3*), RSEQ:C(3*), QTY:N(14*), UCST:N(14*), ECST:N(14*), INHISQ:C(8*), ISVA:C(1*), ISVN[2]:N(1*)"

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:6] + | Batch ID +
|  | [2:1:8] + | Order Number +
|  | [3:1:3] + | Line Number +
|  | [4:1:3] + | Invoice Sequence Number +
|  | [5:1:3] | Receipt Sequence Number
| 1 | [1:1:6] + | Batch ID +
|  | [2:1:8] + | Order Number +
|  | [3:1:3] + | Line Number +
|  | [5:1:3] + | Receipt Sequence Number +
|  | [4:1:3] | Invoice Sequence Number
|  | __________ |
|  | 10 segments |

Goods/Invoices Link File

| File Name: | LCGIxxx | Record Size: | 88(128)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 2

| Field | Field Name | Description | A/N | Length | Note
| 1 | BATCH | Batch ID | A | 6 |
| 2 | ORDER | Order Number | A | 8 |
| 3 | LINE | Line Number | A | 3 |
| 4 | ISEQ | Invoice Sequence Number | A | 3 |
| 5 | RSEQ | Receipt Sequence Number | A | 3 |
| 6 | QTY | Quantity | N | 14 | IQTY
| 7 | UCST | Unit Cost | N | 14 | INUC
| 8 | ECST | Entended Cost | N | 14 | DOLL
| 9 | INHISQ | Inventory History Sequence Number | A | 8 |
| 10 | ISVA | Reserved for ISV | A | 1 |
| 11 | ISVN[1] | Reserved for ISV | N | 1 |
| 12 | ISVN[2] | Reserved for ISV | N | 1 |