Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Error 1452: unable to insert a new work order
05-28-2022, 07:34 AM,
#2
RE: Database Error 1452: unable to insert a new work order
(05-27-2022, 09:56 PM)wissedenis22 Wrote: I can't invoice for a particular product. I get an error, Cannot add or update a child row: a foreign key constraint fails

Database Error 1452 : Unable to insert a new work order for the sales order item
Cannot add or update a child row: a foreign key constraint fails (`DB`.`workorders`, CONSTRAINT `worksorders_ibfk_1` FOREIGN KEY (`loccode`) REFERENCES `locations` (`loccode`))

Database Rollback Due to Error Above : Rolling Back Transaction OK

/DeliveryDetails.php?identifier=1653646435
can anyone help to make things clear. I see this
PHP Code:
($ErrMsg _('Unable to insert a new work order for the sales order item')) 
was included inĀ  DeliveryDetails.php

what does this mean, did I miss something in a primary table. Kindly help, any suggestion
Reply


Messages In This Thread
RE: Database Error 1452: unable to insert a new work order - by wissedenis22 - 05-28-2022, 07:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)