Query: When clicking on Physical Stock Inventory tab getting an exception like below.


Error Description:


-1 : This constraint cannot be enabled as not all values have corresponding parent values.

[getPhysicalStockTakingData-clsPhysicalStockTaking]




Solution : 



Refer below steps to solve the Query.


1).Restore Database on NextGen.




2.) Download below tool on Server Machine >> Goto Path : "C:\Program Files (x86)\eZee\eZee FrontDesk NextGen"


Run below tool so you will get inactive Item list for a Particular store.


https://ezeenextgen.s3.amazonaws.com/download/eZeePOSTool/Datadoctor_Missing_Inventory_Item.exe



3.) Active all Item for the Particular store and resolved this case.









4.) Check store so it is working fine.