OSS Distribution System

Data Update & Sync Center

පද්ධතියේ සියලුම Catalog, Stocks, Customers සහ Sales Reps දත්ත එකම තැනකින් Update කරගැනීමේ මධ්‍යස්ථානය.


Products
0
Customers
2,231
Sales Reps
0
Stock Qty
0
Invoices
0
System Status
Operational
Execution Log: CUSTOMERS
=======================================================================
>> STARTING: Customers & Sales Reps Sync (./rep) ...
=======================================================================
<!DOCTYPE html><html><head><title>Update Customers from ./rep</title><link rel='stylesheet' href='assets/css/bootstrap.min.css'><style>body{font-family:monospace;font-size:12px;background:#f8f9fa;padding:20px;} pre{background:#fff;padding:15px;border:1px solid #ddd;border-radius:4px;}</style></head><body><h3>Updating Customers & Sales Reps from ./rep Documents</h3><pre>=======================================================================
IMPORTING ALL CUSTOMERS &amp; SALES REPS FROM ./rep/ (12 PDF DOCUMENTS)
=======================================================================
Processing: BANUKA RATHNAPURA.pdf ...
  -&gt; Total: 402 | Inserted: 0 | Updated: 402 | Linked: 402
Processing: BUDDIKA kandy.pdf ...
  -&gt; Total: 303 | Inserted: 0 | Updated: 303 | Linked: 303
Processing: DILSHAN MOHOMAD.pdf ...
  -&gt; Total: 269 | Inserted: 269 | Updated: 0 | Linked: 269
Processing: KANDY NISANTHA KANDY NISHANTHA.pdf ...
  -&gt; Total: 303 | Inserted: 0 | Updated: 303 | Linked: 303
Processing: KANISHKA GALLE ROAD.pdf ...
  -&gt; Total: 547 | Inserted: 233 | Updated: 314 | Linked: 547
Processing: KUMARA KURUNEGALA.pdf ...
  -&gt; Total: 302 | Inserted: 0 | Updated: 302 | Linked: 302
Processing: LAHIRU NEGAMBO.pdf ...
  -&gt; Total: 491 | Inserted: 0 | Updated: 491 | Linked: 491
Processing: Lasindu sathsara.pdf ...
  -&gt; Total: 17 | Inserted: 0 | Updated: 17 | Linked: 17
Processing: MANJULA 001.pdf ...
  -&gt; Total: 547 | Inserted: 0 | Updated: 547 | Linked: 547
Processing: NISHANTHA AMPARA.pdf ...
  -&gt; Total: 269 | Inserted: 0 | Updated: 269 | Linked: 269
Processing: PRADEEP.pdf ...
  -&gt; Total: 402 | Inserted: 0 | Updated: 402 | Linked: 402
Processing: indrajith.pdf ...
  -&gt; Total: 491 | Inserted: 0 | Updated: 491 | Linked: 491

=======================================================================
IMPORT COMPLETED SUCCESSFULLY!
  Total Inserted (Brand New): 502
  Total Updated: 3841
  Total Rep Linkages Created: 4343
=======================================================================
Total Customers now in DB: 2734

Customer count per Sales Rep in System:
ID    | Code         | Rep Name                         | Location         | Customers
-------------------------------------------------------------------------------------
27    | MANJULA001   | MANJULA 001 MANJULA 001          | COLOMBO          | 547
21    | SS006        | KANISHKA GALLE ROAD              | COLOMBO          | 547
19    | 2020         | LAHIRU NEGAMBO                   | NEGAMBO          | 491
24    | 9393         | indrajith .                      | NEGAMBO          | 491
20    | 92706        | BANUKA RATHNAPURA                | RATHNAPURA       | 402
29    | SS004        | PRADEEP PRADEEP                  | RATHNAPURA       | 402
23    | 687          | BUDDIKA kandy                    | KANDY            | 303
25    | SS002        | KANDY NISANTHA KANDY NISHANTHA   | KANDY            | 303
22    | 65758        | KUMARA KURUNEGALA                | KURUNEGALA       | 302
18    | 56878        | DILSHAN MOHOMAD                  | AMPARA           | 269
28    | SS003        | NISHANTHA AMPARA                 | AMPARA           | 269
26    | 76           | Lasindu sathsara                 | COLOMBO 2        | 17
</pre><div class='mt-3'><a href='customer-list.php' class='btn btn-primary'>Go to Customer List</a> <a href='report.php' class='btn btn-secondary'>Go to Reports</a></div></body></html>
>> FINISHED: Customers & Sales Reps Sync (./rep)
Update Individual Modules (වෙන වෙනම යාවත්කාලීන කිරීමට):
1. Products & Catalog
Folder: ./new (3 files)

Japan Bearings (PDF), Ball Joints & Rack Ends (Excel), Shock Mounts (Excel) මඟින් catalog එක සහ භාණ්ඩ මිල ගණන් යාවත්කාලීන කරයි.

2. Stock Quantities
Folder: ./sto (3 files)

BOLL JOINT RACK END STOCK, GS 08.24, LIGHT SHOES ආදී Excel ගොනු වලින් ස්ටොක් ප්‍රමාණයන් සහ stock logs යාවත්කාලීන කරයි.

3. Customers & Reps
Folder: ./rep (12 PDFs)

Sales Rep PDF ගොනු 12 ම කියවා සියලුම Sales Reps ලා සහ Customers ලා 2,734 දෙනා Database එකට Sync කර Link කරයි.

4. Health Check
Automated: 45 Tests

Database integrity, queries, Customer list, Sales Rep filters, Invoices සහ Balances සියල්ලම 100% ක් නිවැරදිදැයි පරීක්ෂා කරයි.