2013-04-19 06:44:24,647 [ajp-8009-53] ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 0 insert into C_Order (AD_Client_ID, AD_Org_ID, IsActive, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, C_DocType_ID, C_DocTypeTarget_ID, Description, IsDelivered, IsInvoiced, IsPrinted, IsSelected, SalesRep_ID, DateOrdered, DatePromised, DateAcct, C_BPartner_ID, POReference, IsDiscountPrinted, C_Currency_ID, PaymentRule, C_PaymentTerm_ID, InvoiceRule, DeliveryRule, FreightCostRule, DeliveryViaRule, ChargeAmt, PriorityRule, TotalLines, GrandTotal, M_Warehouse_ID, M_PriceList_ID, IsTaxIncluded, Posted, CopyFrom, IsSelfService, Generatetemplate, CopyFromPO, FIN_Paymentmethod_ID, RM_PickFromShipment, RM_ReceiveMaterials, RM_CreateInvoice, EM_Obpos_Applications_ID, RM_AddOrphanLine, Convertquotation, EM_Obpos_Sendemail, Calculate_Promotions, EM_Cdintor_Help, EM_Cdintor_Help2, EM_Obdisc_Addpack, C_Order_ID) values ('D658309EF4E64A1389B5B22AF083F677', '85D06D58C35643FEA79558EAF4F29BFE', 'Y', '8A09556F72E34D3AA5AFA37F73A474A9', '2013-04-19 06:44:23.976000 +00:00:00', '8A09556F72E34D3AA5AFA37F73A474A9', 'Y', 'BR8005/0001785', 'CO', '--', 'N', 'Y', '6009608D997842FE8A69F26DAF732C6D', '6009608D997842FE8A69F26DAF732C6D', '', 'N', 'N', 'Y', 'N', '1C8047C701324F01B1340B9B8A3A0D35', '2013-04-19 00:00:00.000000 +00:00:00', '2013-04-19 00:00:00.000000 +00:00:00', '2013-04-19 00:00:00.000000 +00:00:00', 'D3B71026ADE6EB49B8A439EBD59D726C', '8048', 'N', '153', 'B', '4E380BB0221D4FD992712086113EC387', 'I', 'A', 'I', 'P', '0', '5', '883.93', '990.00', 'BAC1694BF5994E649C8BDA364AC87F1E', '2C5F8C5D92874B658836AECFDF5A1733', 'Y', 'N', 'N', 'N', 'N', 'N', 'A0E6F0E723E84783839358D9B824ABB6', 'N', 'N', 'N', 'ECE057C9B71A460DBB6E11E5EE37A266', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'C87B781A44B03B46F8DAB7E82BB16D49') was aborted. Call getNextException to see the cause. 2013-04-19 06:44:24,648 [ajp-8009-53] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: null value in column "c_bpartner_location_id" violates not-null constraint 2013-04-19 06:44:24,650 [ajp-8009-53] ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 0 insert into C_Order (AD_Client_ID, AD_Org_ID, IsActive, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, C_DocType_ID, C_DocTypeTarget_ID, Description, IsDelivered, IsInvoiced, IsPrinted, IsSelected, SalesRep_ID, DateOrdered, DatePromised, DateAcct, C_BPartner_ID, POReference, IsDiscountPrinted, C_Currency_ID, PaymentRule, C_PaymentTerm_ID, InvoiceRule, DeliveryRule, FreightCostRule, DeliveryViaRule, ChargeAmt, PriorityRule, TotalLines, GrandTotal, M_Warehouse_ID, M_PriceList_ID, IsTaxIncluded, Posted, CopyFrom, IsSelfService, Generatetemplate, CopyFromPO, FIN_Paymentmethod_ID, RM_PickFromShipment, RM_ReceiveMaterials, RM_CreateInvoice, EM_Obpos_Applications_ID, RM_AddOrphanLine, Convertquotation, EM_Obpos_Sendemail, Calculate_Promotions, EM_Cdintor_Help, EM_Cdintor_Help2, EM_Obdisc_Addpack, C_Order_ID) values ('D658309EF4E64A1389B5B22AF083F677', '85D06D58C35643FEA79558EAF4F29BFE', 'Y', '8A09556F72E34D3AA5AFA37F73A474A9', '2013-04-19 06:44:23.976000 +00:00:00', '8A09556F72E34D3AA5AFA37F73A474A9', 'Y', 'BR8005/0001785', 'CO', '--', 'N', 'Y', '6009608D997842FE8A69F26DAF732C6D', '6009608D997842FE8A69F26DAF732C6D', '', 'N', 'N', 'Y', 'N', '1C8047C701324F01B1340B9B8A3A0D35', '2013-04-19 00:00:00.000000 +00:00:00', '2013-04-19 00:00:00.000000 +00:00:00', '2013-04-19 00:00:00.000000 +00:00:00', 'D3B71026ADE6EB49B8A439EBD59D726C', '8048', 'N', '153', 'B', '4E380BB0221D4FD992712086113EC387', 'I', 'A', 'I', 'P', '0', '5', '883.93', '990.00', 'BAC1694BF5994E649C8BDA364AC87F1E', '2C5F8C5D92874B658836AECFDF5A1733', 'Y', 'N', 'N', 'N', 'N', 'N', 'A0E6F0E723E84783839358D9B824ABB6', 'N', 'N', 'N', 'ECE057C9B71A460DBB6E11E5EE37A266', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'C87B781A44B03B46F8DAB7E82BB16D49') was aborted. Call getNextException to see the cause. 2013-04-19 06:44:24,650 [ajp-8009-53] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: current transaction is aborted, commands ignored until end of transaction block