Problem
When posting a document in Basecone, you may receive the following error message:
Accounting system error: An error occurred while saving xxx. Field xxx is not of type debtor.
This error is related to a setting in AccountView.
Cause
In AccountView, a company or contact can be configured as both a creditor and a debtor within the same administration. If the contact is only configured as a creditor, Basecone cannot use it in situations where a debtor is required.
Solution
Verify that the creditor is also configured as a debtor in AccountView.
Steps
Open AccountView.
Go to File > Creditors.
Select the relevant creditor.
Open the Settings tab.
Enable the option "Also show as debtor".
Save the changes.
Retry posting the document in Basecone.
Does the Error Persist?
If the error still occurs after enabling "Also show as debtor", check the following:
Confirm that the correct contact has been selected.
Verify that the changes were successfully saved in AccountView.
Ensure the administration has been refreshed or updated after the change.
Check whether there are any additional validation errors in the booking that may be causing the issue.
Expected Result
Once the "Also show as debtor" option is enabled, the contact can be used as both a creditor and a debtor. The document should then be posted successfully in Basecone without this error message.
