How Event Logging and MYOB Sync Counts Work
Source: event_logs_controller.rb
- Event log search uses ILIKE pattern matching on the object_name field, providing case-insensitive partial matching
- MYOB sync counts aggregate across multiple entity types: Customer, Vendor, Invoice, VendorInvoice, CreditApplicationItem, and others
- MYOB debug mode exposes extra fields per entity type, including invoice_type and voided status for invoice records
- These counts and logs help diagnose sync issues between Workshop Software and MYOB
Support scenarios
- "MYOB sync count seems wrong" → The count aggregates across all entity types (customers, vendors, invoices, vendor invoices, credit application items, etc.). Check each entity type individually to find where the discrepancy is.
- "I need to find a specific event in the logs" → Use the search field which matches on object_name using case-insensitive partial matching. You don't need to match the exact full name.
- "I need to debug a failed MYOB invoice sync" → Use MYOB debug mode which shows extra fields including invoice_type and voided status, helping identify whether the invoice was the wrong type or was voided.