Jacopo Cappellato wrote: > On Mar 18, 2010, at 6:04 PM, Adam Heath wrote: > >> My importer, which started from an empty database, thru an error, >> because this field was not set, and null is not allowed. > > What I find interesting is that your OrderShipment entity was not empty.
When I set about writing my order importer(which is pulling from a legacy database that has products in an mysql database, but orders in an mssql database), I created a non-trivial order thru ecommerce, and thru the shared demo system. I then looked at the actual entities in the database, to see how the fields mapped into what was displayed by the ordermgr backend. I then mapped the old databases to what ofbiz wanted. I did comparisons of created, approved, and completed orders, with available inventory, and without, did credit card comparisons of authorized, captured, not authorized, looked at how tracking numbers were implemented. In all such cases, everything that was created thru ecommerce appeared to work correctly, with my understanding of the order work flow. The frontend we have uses ShoppingCart, and CheckOutHelper, and the data those create seemed to match my importer, so I was happy. Nothing seemed to not work. So what was your change attempting to accomplish? I still haven't seen that explanation.
