# audit_logs

action_type: PRODUCT_CREATED
metadata:
  {"product_id":1,"barcode":"2005644441729","name":"Bag of rice","base_unit":"PIECE","base_volume_ml":0,"retail_price":300000,"cost_of_goods":200000,"category_id":1,"is_vat_exempt":0,"opening_quantity":20,"payment_method":"AP","variations":[]}


action_type: SUPPLIER_UPSERT
metadata:
  {"supplier_id":1,"name":"Mc Coy","contact":"wwujnuonwenweo jowoj","phone":"783793840280","email":"andrewcolson77@gmail.com"}


action_type: RECEIVE_STOCK
metadata:
  {"barcode":"2005644441729","base_quantity":100,"cost_of_goods":250000,"supplier_id":1,"invoice_number":"inv-90383"}


# permissions

code: INVENTORY_MANAGE
description:
  Manage products, stock, suppliers; edit picked/shipped quantities (source) and received quantities (destination) for transfer orders


