Skip to main content

Introduction

The Supply Management module provides a complete solution for managing the supply chain procurement process, from initial requisition to final delivery and distribution. This system handles SOLPED (Solicitud de Pedido - Purchase Requisition) workflows, purchase order creation, reception tracking, and supplier feedback.

Core Entities

The Supply Management system consists of several interconnected entities:

Solped (Purchase Requisition)

The main entity representing a purchase requisition (IndSupSolpedDTO):
  • id_solped: Unique identifier
  • id_usuario: Requesting user
  • id_categoria: Supply category
  • id_compania: Company code
  • Proveedor: Supplier/vendor code
  • CodigoSap: SAP system code
  • Estado: Current status
  • Oc: Purchase order number
  • CreatedAt/UpdatedAt: Timestamps

Requerimiento (Requirement)

Individual line items within a SOLPED (IndSupRequerimientoDTO):
  • Material and article specifications
  • Quantity and units of measure
  • Cost center distribution
  • Delivery dates
  • Asset information
  • Warehouse location

Recepcion (Reception)

Goods receipt registration (IndSupRecepcionDTO):
  • Reception header information
  • SAP reception code
  • Associated quantities

Distribucion (Distribution)

Cost center and account distribution (IndSupDistribucionDTO):
  • Cost center allocation
  • General ledger account (cuenta mayor)
  • Value distribution percentages

SOLPED Workflow

The complete supply management workflow follows these stages:

1. Requisition Creation

  1. Create SOLPED: Initialize a purchase requisition with category and supplier
  2. Add Requirements: Add line items with materials, quantities, and specifications
  3. Define Distribution: Set up cost center and account distributions for each requirement

2. Purchase Order Generation

Once approved, the SOLPED is converted to a purchase order in SAP:
  • Purchase order created via CreateOcProcurment mutation
  • Integration with SAP procurement system
  • Document class and organization assignment

3. Reception and Delivery

When goods are received:
  1. Register Reception: Create reception document with header information
  2. Record Quantities: Link received quantities to specific requirements
  3. SAP Integration: Synchronize with SAP Materials Management (MM) module

4. Tracking and Feedback

  • Tracking: Monitor status changes throughout the process
  • Feedback: Capture supplier performance and system feedback
  • PQR: Handle inquiries, complaints, and claims related to orders
  • Evaluation: Rate and evaluate supplier performance

Key Features

Multi-Company Support

Manage supply requisitions across multiple company codes with proper segregation and approval workflows.

Cost Center Distribution

Flexible cost allocation allowing distribution across multiple cost centers and general ledger accounts with percentage or fixed value splits.

SAP Integration

Seamless integration with SAP ERP:
  • Real-time purchase order creation
  • Goods receipt posting
  • Supplier master data synchronization
  • Document numbering from SAP

Approval Workflow

Configurable approval routing based on:
  • Request type and category
  • Amount thresholds
  • Organizational hierarchy
  • Cost center responsibility

Status Tracking

Comprehensive tracking system monitoring:
  • SOLPED creation and approval
  • Purchase order issuance
  • Delivery scheduling
  • Goods receipt
  • Invoice verification

Supplier Management

  • PQR (Peticiones, Quejas y Reclamos) - Inquiries, complaints, and claims
  • Feedback collection system
  • Supplier evaluation and rating
  • Performance metrics

Categories

Supply items are organized by categories (IndSupCategoriasDTO) which determine:
  • Approval workflows
  • Required documentation
  • Delivery timeframes
  • Responsible procurement teams

Data Model Relationships

IndSupSolpedDTO (SOLPED)
  ├── IndSupRequerimientoDTO[] (Requirements)
  │     ├── IndSupDistribucionDTO[] (Cost Distribution)
  │     └── IndSupCantidadDTO[] (Quantities)
  ├── IndSupTrackingDTO[] (Status History)
  ├── IndSupFeedbackDTO (Feedback)
  ├── IndSupPqrDTO (PQR)
  └── IndSupEvaluacionDTO[] (Evaluations)

Next Steps

Common Use Cases

Creating a Complete Purchase Requisition

  1. Create SOLPED with CreateSolpedSupply
  2. Add requirements with CreateRequerimientoSupply
  3. Set cost distribution with CreateDistribucionesSupply
  4. Submit for approval

Receiving Goods

  1. Create reception with CreateRecepcionSupply
  2. Record quantities with CreateCantidadesSupply
  3. Register in SAP with RegistroRecepcionSupply

Monitoring Orders

  1. Query SOLPED status with GetSolpedSupplyById
  2. Track changes with GetAllTrackingByRequerimientoSupply
  3. Review feedback with GetAllFeedbackSupply

Build docs developers (and LLMs) love