- المخزون يجب أن يكون مصدرًا واحدًا للحقيقة — غالبًا ERP هو المصدر.Stock must have one source of truth — usually the ERP.
- الطلبات يجب أن تُنشئ في ERP تلقائيًا لا أن تُدخل يدويًا.Orders must be created in the ERP automatically, never keyed in by hand.
- تحديث حالة الشحن يجب أن يعود من النظام إلى المتجر، وإلا بقي الطلب «قيد التجهيز».Shipment status must flow back from the system to the store, or the order stays stuck in 'processing'.
- كل طلب إلكتروني يجب أن يصدر له فاتورة ضريبية متوافقة.Every online order must get a compliant tax invoice.
ماذا يتزامن فعلًاWhat Actually Synchronises
| الاتجاهDirection | البياناتData | التكرارFrequency |
|---|---|---|
| ERP ← المتجرStore to ERP | الطلبات، العملاء، حالة الدفعOrders, customers, payment status | كل 5 – 15 دقيقةالمتجر ← ERP |
ماذا يحدث للطلب عند وصولهWhat Happens When an Order Arrives
إنشاء أمر بيعCreate the sales order
النظام يتحقق من توفر الكمية في الفرع المسؤول.The system checks availability at the responsible branch.
حجز المخزونReserve the stock
الكمية تُحجز فورًا لمنع البيع المزدوج.Quantity is reserved immediately to prevent double selling.
حجز الشحنReserve fulfilment
إنشاء شحنة وربطها بأمر البيع.A shipment is created and linked to the sales order.
إصدار الفاتورة الضريبيةIssue the tax invoice
فاتورة ضريبية متوافقة تلقائيًا عند تأكيد الدفع.A compliant tax invoice is issued automatically on payment confirmation.
خصم المخزون عند الشحنDeduct stock on dispatch
عند خروج البضاعة فعليًا من المستودع.When the goods physically leave the warehouse.
تحديث حالة الطلب في المتجرUpdate the store
حالة الشحن ورقم التتبع يصلان لعميلك.The shipping status and tracking number reach your customer.
المنصات الشائعة في السعوديةCommon Platforms in Saudi Arabia
- سلة: واجهة برمجية رسمية تدعم الطلبات والـ Webhooks.Salla: an official API supporting orders and webhooks.
- زد: واجهة برمجية للكتالوج والطلبات والمخزون.Zid: an API for catalogue, orders and inventory.
- شوبيفاي: واجهة عالمية مع تطبيقات وسيطة للسوق السعودي.Shopify: a global API with middleware apps for the Saudi market.
- متجر خاص: يتكامل مباشرة عبر واجهة خلفية.Custom storefront: integrates directly through a backend.
في YASCO ERP طلب المتجر الإلكتروني يصبح أمر بيع عادي: يحجز المخزون، يصدر فاتورة ضريبية، يخصم عند الشحن، ويُحوّل الإيراد إلى قيد محاسبي دون إدخال مزدوج.In YASCO ERP an online order becomes an ordinary sales order: it reserves stock, issues a tax invoice, deducts on dispatch and converts revenue into a journal entry with no double entry.