Database structure By admin / Nov 08, 2020 / Developers guide share Facebook Twitter Google + LinkedIn Pinterest Email Share... entities - here stored all customers, suppliers, users and manufactures. in short all active profiles.customfields - We create custom fields for custom used in entities table, the fields description are stored in “customfields” table.Linkage is made by entities.CustomField'X'. X = customfields.FieldID.The fields in entities table is created like that: CustomFIeld + customfields.FieldIDCustomfields table:FormID values are 0 = fields in entities table, 1 = fields in orders table, 2 = fields in Products & order_products table.Custom Fields Types:0 - text1 - numeric2 - Date3 - Time4 - DateTime5 - Memo6 - CheckBox7 - Picture8 - File9 - Combobox10 - ChecklistBox13 - Grid14 - Button15 - EntityGrid16 - WebPage Telemarketing_outgoing - here all records of calls users should dial. When users set cal as completed the record will be deleted from this table. Telemarketing_history - all calls history made by telemarketing are stored here. When flag isFinal=1 this is the last record. Sales Order Status:0 = In process.1 = Open.2 = Closed. Orders.Recurrence0 = regular order.1 = subscription.Orders.RecurringStatus0 = Active1 = Not Active2 = Suspended3 = Insufficient Funds4 = Can't Charge Payment5 = Payment was Declined Document TypesInvoice=2,Invoice_Receipt=3, Receipt=4, Price quote=5, Refund Invoice=6, Shipping Label=7, Return Label=8, Receipt Cancel=9,on_line_templates=10 Template names: (MessageName)entity_forgot_passwordentity_email_Verificationstock_level_low_notificationwelcome_new_customer.restaurant_temporary_billrestaurant_preparation_bon Purchase Order=11 Inventory logic:If orders_products.purchase_productID<>0 then Product came from purchased stock and linked to purchase_products.productID Payment typesCash - 0Credit Card - Phone - 1Cheque - 2Credit Card - 3Bank Clearing System - 4eWallet - 5Wire Transfer - 6 Products types0=Unknown,1=Physical,2=Consumable,3=Service,4=Membership Campaign types 0 : telemarketing1 : voice broadcasting 2 : Fax3 : Email 4 : SMS5 : Printing6 : WhatsApp (Via WhatsApp web)7: Telegram8: Profichat11: WhatsApp (Via Meta API)