Samba - Need Help In Porting and with Entity Screen

Hello @Gaurav_Saha,

All of your settings, Menus, Rules,Actions,Calculations, Buttons, etc are stored in the database not the software. Its literally as easy as backing up the database and moving it to a new PC. This is better than storing that information in the software locally it makes it much more flexible, portable, and easier to troubleshoot.

For your tables question you need to set your department back to Entity Selection. You changed it to Create Ticket which by default creates a ticket first. Entity Selection makes you select an entity, Table, first.


You should start using MS SQL Express 2014 if you have not yet. This will give you the flexibility and security you want. It is as simple as running a database backup using MSSMS and restoring it. SambaPOS uses a connection string to connect to the database and instance. I wrote a simple tutorial here:


You can do this with the optional module or you can do it yourself with MSSMS if your running SQL Express by using this script as a query on the database.

PS. v5 the database tools module and database backup modules are built in.

DELETE FROM [TicketEntities]
GO
DELETE FROM [Tickets]
GO
DELETE FROM [AccountTransactionDocuments]
GO
DELETE FROM [AccountTransactions]
GO
DELETE FROM [AccountTransactionValues]
GO
DELETE FROM [Calculations]
GO
DELETE FROM [CostItems]
GO
DELETE FROM [InventoryTransactionDocuments]
GO
DELETE FROM [InventoryTransactions]
GO
DELETE FROM [Orders]
GO
DELETE FROM [PaidItems]
GO
DELETE FROM [PeriodicConsumptionItems]
GO
DELETE FROM [PeriodicConsumptions]
GO
DELETE FROM [ProductTimerValues]
GO
DELETE FROM [Payments]
GO
DELETE FROM [WarehouseConsumptions]
GO
DELETE FROM [WorkPeriods]
GO
DELETE FROM [EntityStateLogs]
GO
UPDATE [Numerators] SET Number = 0
GO
UPDATE [EntityStateValues] SET EntityStates = '[{"S":"Available","SN":"Status"}]' Where EntityStates like '%Status%'
GO 

Yes there is it is the Send Email action you can find more information from this discussion here:


The final question about the stock level will be available when v5 releases which will be soon. With v5 you will be able to port all of your setup to it with little issue. There are a few things different so you may want/need to tweak it after porting.

2 Likes