We have a strange problem in Sales Pack, which occurred suddenly in a before working environment.
Configuration:
espoCRM 8.06
Sales Pack 1.19
All folder permissions set correctly
PHP version 8.12
espoCRM runs in a Virtual Machine with nginx server
We use the default way to write a Quote, from there by activating the Sales Order by clicking the + symbol in the bottom panel (linked field). This works as expected, the Sales Order is created and all field content is transferred from Quote.
Then we do the same from Sales Order to Invoice by clicking the + symbol in Sales Order to create the Invoice.
On saving we get the known error for field validation, mentioning, that the field salesOrder (in invoice) is not validated.
When I look into the entity invoice (Administrator GUI), there is the relationship set (by Sales Pack) from salesOrder to Invoice, the field salesOrder is present in the fields-list.
But this field does not exist in the invoice.json.
Then I disabled "mandatory" for that field and the error disappeared. Although I know, that the error message disappears, does not mean that the error itself disappeared, what obviously is the fact.
But now on saving the invoice I get the message on top: invoice created.
Nonetheless the invoice is not created actually and the bottom panel link field in Sales Order stays empty.
In the invoice list there is the invoice, but it did not pull any values from the Sales Order.
I conclude, that by any error the link between Invoice and Sales Order is not created. In the salesOrder.json there is no link salesOrderInvoice.
Well we thought, that it could help to install the most recent version of Sales Pack. But trying to deinstall the former version or installing the latest version, we get "permission error" and are not allowed to install nor to deinstall the extension.
We don`t know, if that has to do with the former described error, but it occurred together.
The system ran correctly until 10th of december, from 11th of december the error appeared the first time. We could confirm that by testing the daily backups.
We have no hints in espoCRM log nor in the nginx logs.
Configuration:
espoCRM 8.06
Sales Pack 1.19
All folder permissions set correctly
PHP version 8.12
espoCRM runs in a Virtual Machine with nginx server
We use the default way to write a Quote, from there by activating the Sales Order by clicking the + symbol in the bottom panel (linked field). This works as expected, the Sales Order is created and all field content is transferred from Quote.
Then we do the same from Sales Order to Invoice by clicking the + symbol in Sales Order to create the Invoice.
On saving we get the known error for field validation, mentioning, that the field salesOrder (in invoice) is not validated.
When I look into the entity invoice (Administrator GUI), there is the relationship set (by Sales Pack) from salesOrder to Invoice, the field salesOrder is present in the fields-list.
But this field does not exist in the invoice.json.
Then I disabled "mandatory" for that field and the error disappeared. Although I know, that the error message disappears, does not mean that the error itself disappeared, what obviously is the fact.
But now on saving the invoice I get the message on top: invoice created.
Nonetheless the invoice is not created actually and the bottom panel link field in Sales Order stays empty.
In the invoice list there is the invoice, but it did not pull any values from the Sales Order.
I conclude, that by any error the link between Invoice and Sales Order is not created. In the salesOrder.json there is no link salesOrderInvoice.
Well we thought, that it could help to install the most recent version of Sales Pack. But trying to deinstall the former version or installing the latest version, we get "permission error" and are not allowed to install nor to deinstall the extension.
We don`t know, if that has to do with the former described error, but it occurred together.
The system ran correctly until 10th of december, from 11th of december the error appeared the first time. We could confirm that by testing the daily backups.
We have no hints in espoCRM log nor in the nginx logs.
Comment