Pos3/5/FNB: Sync error PosDocNoFormat TerminalID

From AutoCount Resource Center

Question :

During sync, I get sync error as shown below, why ?


Synchronizer Error: {"Message":"Foreign Key Error (Constraint Name = FK_PosDocNoFormat_TerminalID)"}.


Possible Reason :

User had changed or deleted POS Terminal ID before sync transaction.


Solution :

1. Go to Windows Start Menu > AutoCount POS / FnB > AutoCount POS / FnB Database Configuration.


2.Go to Tools > SQL Query > enter Password (if you don’t know please contact your software provider) > OK


3. Enter the following query statement > click Execute

Select * from PosDocNoFormat


At filter, click on the filter icon as shown below. Double check all the Terminal ID and to compare with your server POS Terminal Maintenance.

If there is Pos TerminalID being shown here but does not exist in server, its mean you have deleted this Pos TerminalID. Please add back this Pos TerminalID.


if the TerminalID is don’t want to use, you will need to run this query to remove: Delete from PosDocNoFormat


4. Perform full sync again.


By: CK 20240228, Jacky 20240322 [000484]


Go to menu

AutoCount Accounting 2.0 & 2.1


AutoCount Accounting 1.8 / 1.9
AutoCount Payroll
AutoCount POS


AutoCount On The Go
AutoCount Accounting Plug-In Documentations