Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×
1
2
3
4
5
6
7
Database Error
 
Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`bp_edi`.`invoice_details`, CONSTRAINT `invoice_details_ibfk_1` FOREIGN KEY (`header_id`) REFERENCES `invoice_headers` (`header_id`) ON DELETE CASCADE ON UPDATE CASCADE)
 
SQL Query: INSERT INTO `bp_edi`.`invoice_details` (`SOPNUMBE`, `QUANTITY`, `UOFM`, `UNITPRCE`, `TAXAMNT`, `CONTSTARTDTE`, `CONTENDDTE`, `allowanceOrChargeIndicatorCode`, `serviceStartDate`, `serviceEndDate`) VALUES ('SVC0202088 ', 1.00000, 'EA ', .00000, .00000, '2012-04-17 00:00:00', '2012-04-30 00:00:00', 'CHARGE', '2012-04-17', '2012-04-30')
 
Notice: If you want to customize this error message, create app\View\Errors\pdo_error.ctp