
# Objects and Fields

MDM doesn't come with a fixed vendor table. Each organization defines its own **objects** (kinds of records) and the **fields** each one has.

## Why there's no universal vendor

A vendor means different things in different companies. One needs GSTIN, PAN, IFSC and a TDS section. Another needs a W-9 and an ACH routing number. A fixed set of columns would be half empty for everyone and still miss fields. So you decide what a vendor is, and you can change it later without anyone running a database migration.

## Objects

An object is a kind of record: Vendor, Customer, Cost Centre, GL Account.

| Property | Meaning |
|---|---|
| Label | The display name, such as `Vendor`. You can rename it |
| Slug | The machine name, such as `vendor`: lowercase letters, numbers and underscores. **It can't be changed** once the object exists, because everything else refers to it |

## Fields

A field is one attribute of an object, such as Name, GSTIN or Bank IFSC.

| Property | Meaning |
|---|---|
| Label | The display name, such as `Bank IFSC`. You can rename it |
| Key | The machine name, such as `bank_ifsc`. **It can't be changed** once the field exists |
| Type | `text`, `number`, `date` or `boolean`. It's used for sorting today; values aren't checked against it yet |
| Required | Marks the field as one every record should have |
| Identity | Marks the field that identifies the same real-world entity across apps, such as GSTIN for a vendor |

## Identity fields

To tell that a vendor in your ERP and a vendor in your payments platform are the same vendor, MDM needs a value both systems hold and that never differs for the same vendor. A tax or registration id such as GSTIN or PAN is ideal. Mark that field as **Identity**. Records from connected apps are matched on it.

## Fields are retired, not deleted

You can't delete a field. You **retire** it instead: it stops showing on records, but its past values and history stay intact. Deleting it would leave holes in the history of every record that ever had it.

## Related

- [Define Objects and Fields](/docs/guide/objects-and-fields): doing it in the app
- [Golden Records](/docs/concepts/golden-record)
