跳至主要内容

Schema

This document outlines the full schema design of the TailorMed CRM Base, including tables, fields, data types, and relationship structure. All tables marked (Local Table) are created and maintained within this CRM base. This schema serves as the foundation for customer management, quotation management, and logistics planning workflows.

Base Information

  • Base Name: 【TailorMed】CRM
  • Base ID: appRjtQd5y7Q0hYUu
  • Total Tables: 10

1. Partners (Local Table)

Master table for all business partners, including clients, agents, shippers, and consignees.

Field NameTypeDescription
Partner NameSingle line text (Primary)Company or organization name
RoleMultiple selectBusiness relationship type (e.g. Client, Agent)
City/CountryLinked recordGeographic location (link to Locations)
AddressLong textComplete business address
Tax ID / VAT NumberSingle line textTax identification number
Main PhoneSingle line textPrimary contact telephone
Main EmailSingle line textPrimary contact email
Payment TermsSingle selectPayment schedule preferences (e.g. Net 30)
Closing DateSingle selectBilling cycle timing
ActiveSingle selectCurrent partnership status
NotesLong textAdditional partner information
Primary ContactLinked recordMain contact person (link to ATTNs)
Full NameSingle line textComplete company legal name
Prefered Shipp Dist.Long textPreferred shipping destination
QuotationsLinked recordAssociated ✏️ Quotations
#AutonumberSystem-generated sequence
IDSingle line textFormatted partner identifier
Full Name (中文)Long textChinese company name
Address (中文)Long textChinese business address
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification
Shipper/ConsigneeSingle line textShipping role designation
AgentsSingle line textAssociated agent information

2. Contacts (Local Table)

Stores shipment-related contact entities used as shipper or consignee details for quotations and logistics documents.

Field NameTypeDescription
Shipper/ConsigneeSingle line text (Primary)Contact identifier (often a formula output)
Contact personLinked recordLink to detailed contact (ATTNs)
MobileLong textMobile phone number
RoleSingle selectContact's shipping role (Shipper / Consignee)
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification
PhoneLong textBusiness phone number
EmailLong textEmail address
English AddressSingle line textAddress in English
Related PartnerSingle line textAssociated partner information (text only)
Related QuotationsLinked recordConnected ✏️ Quotations
NotesLong textAdditional contact notes
Related ATTNsLinked recordDetailed contact references (ATTNs)
Chinese AddressSingle line textAddress in Chinese
✏️ QuotationsLinked recordQuotation associations
Co. Name AbbreviationSingle line textCompany name abbreviation

3. ATTNs (Local Table)

Human-level contact directory representing individual contact persons associated with partners or shipment contacts.

Field NameTypeDescription
ATTN NameSingle line text (Primary)Contact name display
Title / PositionLong textProfessional title
EmailLong textPrimary email address
Phone (Direct)Long textDirect telephone line
MobileLong textMobile telephone number
NotesLong textContact-specific information
Created DateDateRecord creation timestamp
NameSingle line textFull contact name (raw input)
PartnerLinked recordAssociated business partner (Partners)
Related ContactsLinked recordContact relationship references (Contacts)
#AutonumberSystem-generated sequence
IDSingle line textFormatted contact identifier
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification
ContactsLinked recordContact record connections
Role (from Partner)Multiple selectPartner role lookup
Role(From Contacts)Multiple selectContact role lookup
Related ✏️ QuotationsLinked recordQuotation references
✏️ QuotationsLinked recordDirect quotation links
Related ✏️ Quotations copyLinked recordQuotation copy references
Related ✏️ Quotations copy 2Single line textAdditional quotation references

4. Locations (Local Table)

Standardized geographic locations used for partner addresses, routing information, and location-based filtering.

Field NameTypeDescription
Location NameSingle line text (Primary)Geographic location identifier
CountrySingle selectCountry designation
CitySingle line textCity name
ISO Country CodeSingle line textStandard country code
NoteLong textLocation-specific information
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification
Related PartnersLinked recordPartners in this location (Partners)

5. 🟨 Package Items (Local Table)

Contains detailed package-level item specifications used in quotations, including dimensions, weight, container type, and temperature requirements.

Field NameTypeDescription
Box TypeSingle line text (Primary)Container type identifier
ContainerLinked recordContainer specification reference
Temp Req.Single selectTemperature requirement specification
Dim(CM)Single line textPackage dimensions in centimeters
Data Logger No.Single line textTemperature monitoring device identifier
Gross WeightNumberTotal package weight
Volume WeightNumberCalculated volumetric weight
Chargeable WeightNumberBilling weight calculation
Item DescriptionLong textDetailed contents description
Batch/Lot NumberSingle line textProduct batch identification
QuantityLong textItem quantity specification
UnitSingle selectMeasurement unit
QuotationsLinked recordAssociated ✏️ Quotations
Temp Req. TXTSingle line textTemperature requirement text display
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last ModifiedDateLast update timestamp
Last Modified ByFormulaLast modifier identification
NotesLong textPackage-specific notes
Quotations copySingle line textQuotation reference copy

6. ✏️ Quotations (Local Table)

Primary table for storing quotation records, covering requester information, routing, package details, cost breakdown, and tax calculations.

Field NameTypeDescription
Job No.Single line text (Primary)Unique quotation identifier
RequesterLinked recordRequesting company (Partners)
CurrencySingle selectQuotation currency
Net AmountNumberTotal quotation amount (net)
StatusSingle selectQuotation processing status
AttachmentAttachmentQuotation document files
NotesLong textQuotation-specific notes
Created DateDateRecord creation timestamp
Last Modified TimeDateLast update timestamp
#Single line textReference number
🔴 Charge ItemsLinked recordTaxable charge line items
Effective DateDateQuotation validity start date
Expiration DateSingle line textQuotation validity end date
Requester PositionLong textContact person's title
Requester AddLong textRequester's address
Requester PersonLinked recordPrimary contact for quotation (ATTNs)
Phone (Direct)Long textContact's direct phone
Payment TermsMultiple selectPayment condition requirements
POLSingle selectPort of loading designation
Origin/DestinationSingle line textShipping route summary
Package CountNumberTotal number of packages
Estimated Weight (KG)NumberTotal estimated weight
Collection Co.Linked recordPickup service provider (Partners)
Collection AddressSingle line textPickup location
Delivery Co.Linked recordDelivery service provider (Partners)
Delivery AddressSingle line textDelivery destination
No-Taxable Charge Net AmountNumberNon-taxable charges total
🔵 Non-Taxable ChargesLinked recordNon-taxable charge line items
Collection Co. ATTNLinked recordPickup contact person (ATTNs)
VATNumberTax rate percentage
Total AmountNumberFinal total amount (before tax)
Total Amount(VAT)NumberTax-inclusive total
Prepared byLinked recordQuotation preparer reference (Staffs)
Prep. Co. NameLong textPreparer's company name
Prep. Co. Add.Single line textPreparer's company address
Preparer's EmailSingle line textPreparer's contact email
VAT includedNumberTax amount calculation
Quotation DescriptionLong textDetailed service description

7. 🔴 Charge Items (Local Table)

Taxable charge-line table referencing catalog fee items applied to a quotation.

Field NameTypeDescription
ItemsSingle line text (Primary)Charge item identifier
Charge ItemsLinked recordCatalog item reference (Charge Catalog)
DescriptionLong textCharge item description
QuantityNumberItem quantity
Manual PriceNumberOverride unit price
SubtotalNumberLine item total calculation
NotesLong textItem-specific notes
Quotations No.Linked recordAssociated ✏️ Quotations
UnitMultiple selectUnit of measurement
Default PriceNumberStandard catalog price
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification
Unit Price TXTNumberUnit price display value

8. 🔵 Non-Taxable Charges (Local Table)

Non-taxable fee-line table referencing catalog fee items applied to a quotation.

Field NameTypeDescription
ItemsSingle line text (Primary)Non-taxable item identifier
Charge ItemsLinked recordCatalog item reference (Charge Catalog)
DescriptionLong textItem description
QuantityNumberItem quantity
Unit PriceNumberUnit price
SubtotalNumberLine total calculation
NotesLong textItem-specific notes
QuotationsLinked recordAssociated ✏️ Quotations
UnitMultiple selectUnit of measurement
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification

9. Staffs (Local Table)

Directory of TailorMed internal staff responsible for preparing quotations and handling CRM records.

Field NameTypeDescription
NameSingle line text (Primary)Staff member name
Job TitleSingle line textPosition title
EmailSingle line textWork email address
MobileSingle line textMobile phone number
AddressSingle line textWork address
Company NameLong textEmployer organization
Related ✏️ QuotationsLinked recordQuotations prepared by staff
#AutonumberSystem-generated sequence
IDSingle line textFormatted staff identifier
Created DateDateRecord creation timestamp
Created ByFormulaRecord creator identification
Last Modified TimeDateLast update timestamp
Last Modified ByFormulaLast modifier identification

10. Charge Catalog(FIN) (External Table)

This table is a read-only external dataset synced from the FIN Base and does not belong to the local CRM structure.
It provides a centralized reference list of service items and pricing used across TailorMed’s financial and logistics workflows.

Within the CRM, this catalog is intended solely for price lookup and item selection when preparing quotations.
It ensures that users can reference:

  • Standardized service items
  • Container and packaging fees
  • Operational and handling charges
  • Additional surcharges

The table supports quotation creation by enabling consistent pricing, reducing manual entry errors, and maintaining a single source of truth shared between the CRM and FIN systems.

Because this dataset is externally maintained, no schema fields are listed here, and all updates must be performed in the FIN Base.


Relationship Diagram (Text Summary)

One-to-Many Relationships

  • Partners → ATTNs

    • Type: One-to-Many
    • Linking Fields: ATTNs.PartnerPartners
    • Description: Each partner can have multiple contact persons.
  • Partners → ✏️ Quotations

    • Type: One-to-Many
    • Linking Fields: ✏️ Quotations.RequesterPartners
    • Description: Each partner can request multiple quotations.
  • ✏️ Quotations → 🔴 Charge Items

    • Type: One-to-Many
    • Linking Fields: 🔴 Charge Items.Quotations No.✏️ Quotations
    • Description: Each quotation contains multiple taxable charge items.
  • ✏️ Quotations → 🔵 Non-Taxable Charges

    • Type: One-to-Many
    • Linking Fields: 🔵 Non-Taxable Charges.Quotations✏️ Quotations
    • Description: Each quotation contains multiple non-taxable charge items.
  • ✏️ Quotations → 🟨 Package Items

    • Type: One-to-Many
    • Linking Fields: 🟨 Package Items.Quotations✏️ Quotations
    • Description: Each quotation specifies multiple package items.
  • Locations → Partners

    • Type: One-to-Many
    • Linking Fields: Partners.City/CountryLocations
    • Description: Each location can have multiple partners.
  • Staffs → ✏️ Quotations

    • Type: One-to-Many
    • Linking Fields: ✏️ Quotations.Prepared byStaffs
    • Description: Each staff member can prepare multiple quotations.
  • Charge Catalog(FIN) → 🔴 Charge Items

    • Type: One-to-Many
    • Linking Fields: 🔴 Charge Items.Charge ItemsCharge Catalog(FIN)
    • Description: Each catalog item can be used in multiple charge line items.
  • Charge Catalog(FIN) → 🔵 Non-Taxable Charges

    • Type: One-to-Many
    • Linking Fields: 🔵 Non-Taxable Charges.Charge ItemsCharge Catalog(FIN)
    • Description: Each catalog item can be used in multiple non-taxable charges.
  • Charge Catalog(FIN) → 🟨 Package Items

    • Type: One-to-Many
    • Linking Fields: 🟨 Package Items.ContainerCharge Catalog(FIN)
    • Description: Each catalog container type can be used in multiple package items.

Many-to-Many Relationships

  • ATTNs ↔ Contacts

    • Type: Many-to-Many
    • Linking Fields: ATTNs.Related ContactsContacts.Related ATTNs
    • Description: Contact persons can link to multiple contact entities and vice versa.
  • ATTNs ↔ ✏️ Quotations

    • Type: Many-to-Many
    • Linking Fields: ATTNs.Related ✏️ Quotations✏️ Quotations.Requester Person
    • Description: Contact persons can be involved in multiple quotations.
  • Contacts ↔ ✏️ Quotations

    • Type: Many-to-Many
    • Linking Fields: Contacts.✏️ Quotations✏️ Quotations (contact-related link field)
    • Description: Contact entities can be associated with multiple quotations.