Hello everyone,
Have somebody else incurred in this error log when posting a Sales order: A number sequence has not been set up for the reference Customer invoice in the area Sales? I'm not strong in the finance area and I asked some of my colleagues but they're puzzled too, so... I suppose it's setup matter but I can't find the right place.
Some context: this happens when I execute a custom class which is supposed to get some data from custom tables and use it to create and post a Sales order and then create and post a Customer invoice. At the moment not even the order is being created. Other than that, this custom class does not modify the standard posting procedure for orders & invoices.
Thank you for your insights.
Gian Paolo