> ## Documentation Index
> Fetch the complete documentation index at: https://margnes22-inventario-render.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Supplier Management

> Maintain supplier information and track purchase relationships

## Overview

The Supplier Management feature helps you maintain a database of your suppliers and vendors. By linking purchases to suppliers, you can track spending, manage relationships, and make better purchasing decisions.

## Key Features

> **Supplier Database**
>
> Store complete supplier information and contact details

> **Purchase Tracking**
>
> Link purchases to suppliers for spending analysis

> **Contact Management**
>
> Keep supplier contact information organized and accessible

> **Purchase History**
>
> View all purchases made from each supplier

## Supplier Information

Each supplier record contains:

* **Contact Name**: Name of your primary contact person
* **Company Name**: Supplier's business name
* **Phone Number**: Contact phone number
* **Email Address**: Supplier email for communication
* **Address**: Physical location or shipping address
* **Registration Date**: When the supplier was added to your system

> [!NOTE]
>
> Suppliers are owned by the admin user. All sellers under an admin can view and select from the same supplier database.

## Adding Suppliers

**1. Navigate to Suppliers**

Click **Suppliers** in the main menu

**2. Click New Supplier**

Click the **Add Supplier** button

**3. Enter Supplier Information**

Fill in the supplier details:

* Contact person name (required)
* Company name (required)
* Phone number (required)
* Email address (required)
* Physical address (required)

**4. Save Supplier**

Click **Save** to add the supplier to your database

> [!TIP]
>
> Add suppliers before recording purchases to link spending to the correct vendor.

## Managing Suppliers

### Viewing Suppliers

The supplier list displays:

* Contact person name
* Company name
* Phone and email
* Address
* Registration date
* Quick action buttons

### Sorting Suppliers

Suppliers are sorted alphabetically by contact name by default, making it easy to find specific vendors quickly.

### Editing Supplier Information

**1. Find Supplier**

Locate the supplier in the list

**2. Click Edit**

Click the **Edit** button next to the supplier

**3. Update Details**

Modify any information:

* Contact name
* Company name
* Phone number
* Email address
* Physical address

**4. Save Changes**

Click **Save** to update the supplier record

### Deleting Suppliers

> [!WARNING]
>
> You cannot delete suppliers who have linked purchases. This preserves purchase history and maintains data integrity.

To delete a supplier with no purchase history:

1. Click **Delete** next to the supplier
2. Confirm the deletion
3. The supplier is removed from your database

If a supplier has purchases, consider:

* Keeping the record for historical purposes
* Updating contact information if it changes
* Adding notes about supplier status

## Using Suppliers in Purchases

### Linking Purchases to Suppliers

When recording a purchase:

1. Select the supplier from the dropdown menu
2. The purchase is linked to that supplier
3. This enables spending analysis and purchase history

### Purchase History by Supplier

View all purchases from a specific supplier:

1. Navigate to purchase reports
2. Filter by supplier
3. See:
   * Total amount spent
   * Number of purchases
   * Purchase dates
   * Products purchased

See [Purchases](https://margnes22-inventario-render.mintlify.site/features/purchases.md) for detailed purchase management and [Reports](https://margnes22-inventario-render.mintlify.site/features/reports.md) for supplier spending analysis.

## Supplier Communication

### Contact Information

Keep supplier contact details up-to-date for:

* Order placement
* Price negotiations
* Delivery coordination
* Issue resolution
* Payment processing

### Communication Best Practices

* **Regular Contact**: Maintain relationships with key suppliers
* **Clear Communication**: Be specific about orders and expectations
* **Document Everything**: Keep records of quotes and agreements
* **Timely Payments**: Pay according to agreed terms
* **Feedback**: Provide feedback on products and service

## Supplier Evaluation

### Key Metrics to Track

Use the system's reports to evaluate suppliers on:

**Cost**

* Total spending over time
* Price trends
* Discounts and terms

**Reliability**

* On-time delivery rate
* Product quality
* Order accuracy

**Relationship**

* Responsiveness
* Flexibility
* Payment terms

> [!NOTE]
>
> Regular supplier evaluation helps you identify your best partners and optimize your supply chain.

## Best Practices

> **Complete Supplier Records**
>
> Always fill in all supplier information:
>
> * Makes communication easier
> * Enables quick contact when needed
> * Provides backup contact methods
> * Supports business continuity

> **Link All Purchases**
>
> Always select a supplier when recording purchases:
>
> * Enables accurate spending reports
> * Tracks supplier reliability
> * Supports better negotiations
> * Provides purchase history

> **Keep Information Current**
>
> Update supplier records when:
>
> * Contact person changes
> * Phone numbers change
> * Email addresses change
> * Company moves or closes
> * Business names change

> **Document Key Suppliers**
>
> Identify and document:
>
> * Primary suppliers for each category
> * Backup suppliers for critical items
> * Minimum order quantities
> * Lead times
> * Payment terms
> * Special arrangements

> **Regular Review**
>
> Periodically review your supplier database:
>
> * Remove suppliers no longer used
> * Update contact information
> * Verify email addresses
> * Confirm physical addresses
> * Note any changes in business status

> **Build Relationships**
>
> Good supplier relationships lead to:
>
> * Better prices
> * Priority service
> * Flexible terms
> * Early access to new products
> * Help during shortages

## Supplier Analysis

### Spending Reports

Use the system's reporting features to analyze:

**Total Spending by Supplier**

* See which suppliers you spend most with
* Identify opportunities for volume discounts
* Consolidate spending when beneficial

**Purchase Frequency**

* How often you buy from each supplier
* Patterns in ordering
* Opportunities to optimize order timing

**Category Analysis**

* Which suppliers provide which product categories
* Product diversity from each supplier
* Opportunities for consolidation or diversification

See the [Reports](https://margnes22-inventario-render.mintlify.site/features/reports.md) section for detailed reporting capabilities.

## Supplier Diversity

### Benefits of Multiple Suppliers

* **Risk Mitigation**: Don't depend on single source
* **Price Competition**: Compare offers between suppliers
* **Product Availability**: Alternative sources during shortages
* **Negotiating Power**: Leverage multiple relationships

### Managing Multiple Suppliers

> [!TIP]
>
> Maintain 2-3 suppliers for critical product categories to ensure business continuity.

Best practices:

* Regular contact with all suppliers
* Compare prices periodically
* Distribute orders strategically
* Maintain minimum relationships
* Document differences in quality/service

## Troubleshooting

### Can't Delete Supplier

If you cannot delete a supplier:

* The supplier has linked purchases
* Keep the record for historical purposes
* Update the record if information changes
* Consider adding notes about supplier status

### Supplier Not Appearing in Purchase Form

If a supplier doesn't appear when recording purchases:

1. Verify the supplier is saved in the database
2. Check you're logged in as the correct admin
3. Refresh the purchase page
4. Try creating the supplier again

### Duplicate Suppliers

If you accidentally create duplicate supplier records:

1. Identify the duplicate
2. If it has no purchases, delete it
3. If it has purchases, keep both records
4. Update one record to indicate "duplicate" in notes
5. Use the primary record going forward

> [!NOTE]
>
> The system allows duplicate company names because you might have different contacts or locations for the same company.

### Missing Contact Information

If supplier contact information is incomplete:

1. Edit the supplier record
2. Add the missing information
3. Verify accuracy with recent communications
4. Update regularly to keep current

## Integration with Other Features

### Purchases

Suppliers are linked to purchases, enabling:

* Purchase history by supplier
* Spending analysis
* Reorder decisions

Learn more in [Purchases](https://margnes22-inventario-render.mintlify.site/features/purchases.md).

### Reports

Supplier data powers several reports:

* Total spending by supplier
* Purchase frequency
* Cost trends
* Supplier comparison

Learn more in [Reports](https://margnes22-inventario-render.mintlify.site/features/reports.md).

## Related Features

* [Purchases](https://margnes22-inventario-render.mintlify.site/features/purchases.md) - Record purchases and link to suppliers
* [Reports](https://margnes22-inventario-render.mintlify.site/features/reports.md) - Analyze supplier spending and performance


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.