Pos3/5/FNB: Sync Error POS Session

Revision as of 03:22, 5 May 2022 by PeterT (talk | contribs) (Created page with "<u><b>Question :</b></u> I have some sync error and when I check I get this error. <span style='color:blue'>Error Message: Foreign Key Error (Constraint Name=FK_Pos_Session).</span> File:000319-a.png <u><b>Possible Reason :</b></u> POS Session record is synced to older server database. <u><b>Solution :</b></u> 1a. Login <span style='color:red'>POS</span> > <span style='color:red'>More Function</span> > <span style='color:red'>Configuration Setting</span> > <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Question :

I have some sync error and when I check I get this error.

Error Message: Foreign Key Error (Constraint Name=FK_Pos_Session).


Possible Reason :

POS Session record is synced to older server database.


Solution :

1a. Login POS > More Function > Configuration Setting > Miscellaneous > SQL Query > Enter Password > OK > Copy the query below and paste onto SQL query windows > Execute.

1b. Login FnB > More Function > Setting > Configuration Setting > Miscellaneous > SQL Query > Enter Password > OK > Copy the query below and paste onto SQL query windows > Execute.

UPDATE PosSession SET Sync = 'F' WHERE SessionKey IN (SELECT Session FROM POS WHERE Sync = 'F')


2.Erase previous query, copy the query below and paste onto SQL query windows then click on Execute.

UPDATE PosSubSession SET Sync = 'F' WHERE SubSessionKey IN (SELECT SubSession FROM POS WHERE Sync = 'F')


3.Perfom speed sync on outlet system.

PS: If you are not confident in doing so, you may call our support or your dealer to help you with it.


By: CK 20220404, Jacky 220422, P220425 [000319]


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