When creating/updating multi-line invoices, we are seeing inconsistent results. Some invoices create fine while others fail on a Missing TxnID error, sometimes within the same batch of invoices being created/updated...here is some sample data. Has anyone seen this and perhaps has an answer to this issue. It is a little confusing since it is not consistent behaviour.
Thanks in advance,
Ian
insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106658','Kathleen Andrews','8 America Drive','','Peabody','MA','01960','US','29730000-1155344730',{d'2006-06-27'},'0042-101 - Wall Clock',1,129.95,129.95,'UPS','Paid','nexte','Out of state',0,'Check #470',1)
2006-11-14 08:37:02.734 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106658','Kathleen Andrews','8 America Drive','','Peabody','MA','01960','US','29730000-1155344730',{d'2006-06-27'},'2184 - A Dignified Life...',1,12.95,12.95,'UPS','Paid','nexte','Out of state',0,'Check #470',1)
2006-11-14 08:37:02.812 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106658','Kathleen Andrews','8 America Drive','','Peabody','MA','01960','US','29730000-1155344730',{d'2006-06-27'},'2201 - Learning to Speak Alz.',1,23.95,23.95,'UPS','Paid','nexte','Out of state',0,'Check #470',1)
2006-11-14 08:37:02.906 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106658','Kathleen Andrews','8 America Drive','','Peabody','MA','01960','US','29730000-1155344730',{d'2006-06-27'},'0153 - Memory Card Deck',1,13.95,13.95,'UPS','Paid','nexte','Out of state',0,'Check #470',1)
2006-11-14 08:37:02.984 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache) values('106658','Kathleen Andrews','8 America Drive','','Peabody','MA','01960','US','29730000-1155344730',{d'2006-06-27'},'Shipping & Handling',1,11.74,11.74,'UPS','Paid','nexte','Out of state',0,'Check #470',0)
Here are failed transactions:
2006-11-14 08:41:42.359 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106730','Dallas Co Care Center','631 W Main','','Buffalo','MO','65622','US','29DC0000-1155345360',{d'2006-07-06'},'0088 - Small Lock Box',1,59.95,59.95,'UPS','Paid','nexte','Out of state',0,'Pd Ck# 046938 CAJ663006A',1)
2006-11-14 08:41:42.437 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106730','Dallas Co Care Center','631 W Main','','Buffalo','MO','65622','US','29DC0000-1155345360',{d'2006-07-06'},'2224 - Keeping Busy',1,16.95,16.95,'UPS','Paid','nexte','Out of state',0,'Pd Ck# 046938 CAJ663006A',1)
2006-11-14 08:41:42.515 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106730','Dallas Co Care Center','631 W Main','','Buffalo','MO','65622','US','29DC0000-1155345360',{d'2006-07-06'},'2196 - Gentlemens Gatherings',1,8.95,8.95,'UPS','Paid','nexte','Out of state',0,'Pd Ck# 046938 CAJ663006A',1)
2006-11-14 08:41:42.609 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache) values('106730','Dallas Co Care Center','631 W Main','','Buffalo','MO','65622','US','29DC0000-1155345360',{d'2006-07-06'},'Shipping & Handling',1,13.95,13.95,'UPS','Paid','nexte','Out of state',0,'Pd Ck# 046938 CAJ663006A',0)
2006-11-14 08:41:42.906 InterWeave 2.3` iwtransformationserver SQL Statement exeception: insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache) values('106730','Dallas Co Care Center','631 W Main','','Buffalo','MO','65622','US','29DC0000-1155345360',{d'2006-07-06'},'Shipping & Handling',1,13.95,13.95,'UPS','Paid','nexte','Out of state',0,'Pd Ck# 046938 CAJ663006A',0) [QODBC] Error: 3150 - There is a missing element: "TxnID".
iwtransformationserver ERROR XmlsqParams.statement
2006-11-14 08:41:42.906 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'0155-OC - Occupations Jingo Gam',1,12.95,12.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',1)
2006-11-14 08:41:43.0 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'0150 - Senior Sez',1,28.95,28.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',1)
2006-11-14 08:41:43.093 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'0183 - Conversation Cards - Eve',1,17.95,17.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',1)
2006-11-14 08:41:43.171 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache
) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'0157-Jingo Chips',1,4.95,4.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',1)
2006-11-14 08:41:43.25 InterWeave 2.3` iwtransformationserver insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'Shipping & Handling',1,11.95,11.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',0)
2006-11-14 08:41:43.828 InterWeave 2.3` iwtransformationserver SQL Statement exeception: insert into InvoiceLine (RefNumber, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressCountry, CustomerRefListID, TxnDate, InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount, ShipMethodRefFullName, CustomFieldProduct, SalesRepRefFullName, ItemSalesTaxRefFullName, IsToBePrinted, PONumber, FQSaveToCache) values('106732','Kelly Fobia','42020 4th Street East','','Lancaster','CA','93535','US','2A370000-1155345748',{d'2006-07-06'},'Shipping & Handling',1,11.95,11.95,'UPS','Paid','nexte','Out of state',0,'pd ck 2466',0) [QODBC] Error: 3150 - There is a missing element: "TxnID".
iwtransformationserver ERROR XmlsqParams.statement
|