[{"data":1,"prerenderedAt":339},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fcompliance\u002Faudit-trail":159,"\u002Fdocs\u002Fcompliance\u002Faudit-trail-surround":334},[4,28,54,85,115,145],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting started","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,12,17,22],{"title":10,"path":6,"stem":7,"icon":11},"What SecureOps is","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"Signing in","\u002Fdocs\u002Fgetting-started\u002Fsigning-in","1.docs\u002F1.getting-started\u002F2.signing-in","i-lucide-log-in",{"title":18,"path":19,"stem":20,"icon":21},"Finding your way","\u002Fdocs\u002Fgetting-started\u002Ffinding-your-way","1.docs\u002F1.getting-started\u002F3.finding-your-way","i-lucide-compass",{"title":23,"path":24,"stem":25,"icon":26},"Roles and what each sees","\u002Fdocs\u002Fgetting-started\u002Froles","1.docs\u002F1.getting-started\u002F4.roles","i-lucide-users","i-lucide-rocket",{"title":29,"icon":30,"path":31,"stem":32,"children":33,"page":53},"Selling","i-lucide-scan-barcode","\u002Fdocs\u002Fselling","1.docs\u002F2.selling",[34,38,43,48],{"title":35,"path":36,"stem":37,"icon":30},"The till","\u002Fdocs\u002Fselling\u002Fthe-till","1.docs\u002F2.selling\u002F1.the-till",{"title":39,"path":40,"stem":41,"icon":42},"Receipts","\u002Fdocs\u002Fselling\u002Freceipts","1.docs\u002F2.selling\u002F2.receipts","i-lucide-receipt",{"title":44,"path":45,"stem":46,"icon":47},"Sales by day","\u002Fdocs\u002Fselling\u002Fsales-by-day","1.docs\u002F2.selling\u002F3.sales-by-day","i-lucide-calendar-days",{"title":49,"path":50,"stem":51,"icon":52},"Closing the day","\u002Fdocs\u002Fselling\u002Fclosing-the-day","1.docs\u002F2.selling\u002F4.closing-the-day","i-lucide-send",false,{"title":55,"icon":56,"path":57,"stem":58,"children":59,"page":53},"Stock","i-lucide-boxes","\u002Fdocs\u002Fstock","1.docs\u002F3.stock",[60,65,70,75,80],{"title":61,"path":62,"stem":63,"icon":64},"Products","\u002Fdocs\u002Fstock\u002Fproducts","1.docs\u002F3.stock\u002F1.products","i-lucide-pill",{"title":66,"path":67,"stem":68,"icon":69},"The FDA register","\u002Fdocs\u002Fstock\u002Fthe-fda-register","1.docs\u002F3.stock\u002F2.the-fda-register","i-lucide-badge-check",{"title":71,"path":72,"stem":73,"icon":74},"Purchases and deliveries","\u002Fdocs\u002Fstock\u002Fpurchases-and-deliveries","1.docs\u002F3.stock\u002F3.purchases-and-deliveries","i-lucide-truck",{"title":76,"path":77,"stem":78,"icon":79},"Expiry and quarantine","\u002Fdocs\u002Fstock\u002Fexpiry-and-quarantine","1.docs\u002F3.stock\u002F4.expiry-and-quarantine","i-lucide-calendar-clock",{"title":81,"path":82,"stem":83,"icon":84},"Disposals","\u002Fdocs\u002Fstock\u002Fdisposals","1.docs\u002F3.stock\u002F5.disposals","i-lucide-flame",{"title":86,"icon":87,"path":88,"stem":89,"children":90,"page":53},"Compliance","i-lucide-shield-check","\u002Fdocs\u002Fcompliance","1.docs\u002F4.compliance",[91,95,100,105,110],{"title":92,"path":93,"stem":94,"icon":69},"The licence and the shop","\u002Fdocs\u002Fcompliance\u002Flicence-and-shop","1.docs\u002F4.compliance\u002F1.licence-and-shop",{"title":96,"path":97,"stem":98,"icon":99},"Reminders","\u002Fdocs\u002Fcompliance\u002Freminders","1.docs\u002F4.compliance\u002F2.reminders","i-lucide-bell",{"title":101,"path":102,"stem":103,"icon":104},"Reports and exports","\u002Fdocs\u002Fcompliance\u002Freports-and-exports","1.docs\u002F4.compliance\u002F3.reports-and-exports","i-lucide-file-spreadsheet",{"title":106,"path":107,"stem":108,"icon":109},"Sales summaries","\u002Fdocs\u002Fcompliance\u002Fsales-summaries","1.docs\u002F4.compliance\u002F4.sales-summaries","i-lucide-chart-column",{"title":111,"path":112,"stem":113,"icon":114},"The audit trail","\u002Fdocs\u002Fcompliance\u002Faudit-trail","1.docs\u002F4.compliance\u002F5.audit-trail","i-lucide-scroll-text",{"title":116,"icon":117,"path":118,"stem":119,"children":120,"page":53},"Administration","i-lucide-settings-2","\u002Fdocs\u002Fadministration","1.docs\u002F5.administration",[121,125,130,135,140],{"title":122,"path":123,"stem":124,"icon":26},"Users and roles","\u002Fdocs\u002Fadministration\u002Fusers-and-roles","1.docs\u002F5.administration\u002F1.users-and-roles",{"title":126,"path":127,"stem":128,"icon":129},"The shop PC","\u002Fdocs\u002Fadministration\u002Fthe-shop-pc","1.docs\u002F5.administration\u002F2.the-shop-pc","i-lucide-monitor",{"title":131,"path":132,"stem":133,"icon":134},"Install as an app","\u002Fdocs\u002Fadministration\u002Finstall-as-an-app","1.docs\u002F5.administration\u002F3.install-as-an-app","i-lucide-smartphone",{"title":136,"path":137,"stem":138,"icon":139},"Mail and text messages","\u002Fdocs\u002Fadministration\u002Fmail-and-sms","1.docs\u002F5.administration\u002F4.mail-and-sms","i-lucide-mail",{"title":141,"path":142,"stem":143,"icon":144},"Backups and updates","\u002Fdocs\u002Fadministration\u002Fbackups-and-updates","1.docs\u002F5.administration\u002F5.backups-and-updates","i-lucide-database-backup",{"title":146,"icon":147,"path":148,"stem":149,"children":150,"page":53},"Regulation","i-lucide-scale","\u002Fdocs\u002Fregulation","1.docs\u002F6.regulation",[151,155],{"title":152,"path":153,"stem":154,"icon":87},"What an OTCMS may sell","\u002Fdocs\u002Fregulation\u002Fwhat-the-shop-may-sell","1.docs\u002F6.regulation\u002F1.what-the-shop-may-sell",{"title":156,"path":157,"stem":158,"icon":114},"The records the law wants","\u002Fdocs\u002Fregulation\u002Fthe-records-the-law-wants","1.docs\u002F6.regulation\u002F2.the-records-the-law-wants",{"id":160,"title":111,"body":161,"description":327,"extension":328,"links":329,"meta":330,"navigation":331,"path":112,"seo":332,"stem":113,"__hash__":333},"docs\u002F1.docs\u002F4.compliance\u002F5.audit-trail.md",{"type":162,"value":163,"toc":319},"minimark",[164,182,187,190,263,266,270,285,288,307,311],[165,166,167,168,172,173,177,178,181],"p",{},"Open ",[169,170,171],"strong",{},"Comply → Audit trail",", or ",[174,175],"kbd",{"value":176},"g"," then ",[174,179],{"value":180},"a",". Every action that changes anything writes an event here, and events are never changed or removed. The database itself refuses updates and deletes on the table, so not even the owner, nor the people who built the system, can tidy the past.",[183,184,186],"h2",{"id":185},"what-is-recorded","What is recorded",[165,188,189],{},"Thirty-one kinds of event, among them:",[191,192,193,200,210,219,225,230,236,242,248,253],"ul",{},[194,195,196,199],"li",{},[169,197,198],{},"Signing in and out",", failed sign-ins, passwords set.",[194,201,202,205,206,209],{},[169,203,204],{},"Users"," created, edited, enabled and disabled; ",[169,207,208],{},"roles"," created, changed and assigned.",[194,211,212,214,215,218],{},[169,213,61],{}," created and edited, and a product's ",[169,216,217],{},"class changed"," as an event of its own.",[194,220,221,224],{},[169,222,223],{},"Purchases"," created, edited, received and cancelled.",[194,226,227,229],{},[169,228,55],{}," received, adjusted, quarantined, released and disposed of; a certificate of destruction recorded.",[194,231,232,235],{},[169,233,234],{},"Sales"," completed and voided, with the licence state at the time.",[194,237,238,241],{},[169,239,240],{},"Regulatory blocks",": every refusal to create, order, receive or sell a Class A or B product.",[194,243,244,247],{},[169,245,246],{},"The licence and the shop's details"," recorded and changed; a licence expired by the sweep.",[194,249,250,252],{},[169,251,96],{}," raised, acknowledged and closed.",[194,254,255,258,259,262],{},[169,256,257],{},"Reports exported"," and ",[169,260,261],{},"sales summaries"," generated and sent.",[165,264,265],{},"Each event carries who did it, when, what it was done to, and the details that matter for that kind: the reason for a void, the quantity of an adjustment, the reference on a disposal.",[183,267,269],{"id":268},"reading-it","Reading it",[165,271,272,273,276,277,280,281,284],{},"Filter by ",[169,274,275],{},"event",", by the ",[169,278,279],{},"type of thing"," it was done to (a sale, a batch, a user) and by ",[169,282,283],{},"date",". Click a row for the full detail.",[165,286,287],{},"Three reads worth making a habit:",[191,289,290,296,302],{},[194,291,292,295],{},[169,293,294],{},"Voids",", monthly. Every void has a reason; read them.",[194,297,298,301],{},[169,299,300],{},"Adjustments",", monthly. Stock that goes down without a sale has a reason too.",[194,303,304,306],{},[169,305,240],{},", whenever one appears. A block means someone tried to order, receive or sell something the shop may not; find out why.",[183,308,310],{"id":309},"who-may-read-it","Who may read it",[165,312,313,314,318],{},"Those with the ",[315,316,317],"em",{},"view the audit trail"," permission: by default the owner, the practitioner and the auditor. A sales clerk cannot see it, and an auditor cannot change anything they read.",{"title":320,"searchDepth":321,"depth":322,"links":323},"",1,2,[324,325,326],{"id":185,"depth":322,"text":186},{"id":268,"depth":322,"text":269},{"id":309,"depth":322,"text":310},"Who did what, to what, and why, from the first sign-in. Append-only, readable by those who may, editable by nobody.","md",null,{},{"icon":114},{"title":111,"description":327},"dIVKg8k70n0JbD-KKwDcIAKhtlZB1cC1LY_KSGAJ7AU",[335,337],{"title":106,"path":107,"stem":108,"description":336,"icon":109,"children":-1},"The daily, weekly and monthly figures the owner receives, kept on the record with how each was delivered.",{"title":122,"path":123,"stem":124,"description":338,"icon":26,"children":-1},"An account for every person, a role for every account. Creating people, setting passwords, disabling a leaver, and shaping roles.",1789486451718]