Skip to main content

Production Order Customer

Overview

The ProductionOrderCustomer entity stores information about customers associated with production orders, including contact information, address, and other relevant details. This table facilitates customer management and communication within the production order workflow.

Table Structure

The following table outlines the SQL columns for the production_order_customers table, providing a brief description of each, along with sample data where applicable.

ColumnTypeDescriptionExample
idString (ULID)Unique identifier for the entity.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
enabledBooleanIf the entity is enabled or not.true
created_dateDateTimeDate the entity was created.2024-12-31T19:48:44Z
created_byStringPerson who created the entity.TamakiMES
modified_dateDateTimeDate the entity was modified. Value is null upon creation, and gets initially populated upon the first edit.2024-12-31T19:48:44Z
modified_byStringLast person to modify the entity. Value is null upon creation, and gets initially populated upon the first edit.TamakiMES
notesStringNotes about the entity.This entity has these extra notes
spare1StringThe first spare column that can be used for additional context on the entity.some extra context 1
spare2StringThe second spare column that can be used for additional context on the entity.some extra context 2
spare3StringThe third spare column that can be used for additional context on the entity.some extra context 3
nameStringUnique name of the customer.Dairy Co.
descriptionStringOptional description of the customer.Major dairy supplier
addressString (max 200)Customer's physical address.123 Milk Rd.
cityString (max 100)City where the customer is located.Dairyville
stateString (max 100)State or region where the customer is located.ID
countryString (max 100)Country of the customer.USA
zipStringZip code of the customer's address.83701
primary_contactString (max 100)Name of the primary contact person.John Doe
primary_contact_emailStringEmail address of the primary contact.john.doe@dairyco.com
primary_contact_phoneStringPhone number of the primary contact.+1-800-555-1234
alt_contactString (max 100)Name of the alternate contact person.Jane Smith
alt_contact_emailStringEmail address of the alternate contact.jane.smith@dairyco.com
alt_contact_phoneStringPhone number of the alternate contact.+1-800-555-5678

Field Details

name

The name field is a descriptive identifier for the customer.

description

An optional field that provides a detailed description of the customer.

address, city, state, country, zip

These columns hold the physical location of the customer.

primary_contact, primary_contact_email, primary_contact_phone

These columns hold the information to reach the primary contact.

alt_contact, alt_contact_email, alt_contact_phone

These columns hold the information to reach the alternative contact.