Posting this question after searching through the forums and not finding any relevant threads.
There is a requirement from the client wherein:
A billing document was created with reference to a delivery document and was posted to accounts automatically. Due to some reasons, this billing document was cancelled. This created a cancellation document but it was not automatically released to accounts (posting block is set in customizing for the cancellation billing type).
Now, the new requirement from the client is that, the system should not allow the creation of new billing document (reference to delivery document) using VF01/VF04 transactions if the cancellation document of the previous billing document is not released to accounts (which is the case here).
Is there any customizing setting/SAP Note for this? If not, can anyone guide with the custom development here?