Validates the transaction types based on whether they are consecutive or not.
| Item | Description |
|---|---|
| Technical Name | validate_subsequent_consistency |
| Availability | SAP |
When does this validation fail?
- A selected PO line is marked as a ‘subsequent invoice’, while the transaction type of the invoice is set to ‘Debit’ or ‘Credit’.
- A selected PO line is not marked as a ‘subsequent invoice’, but the transaction type of the invoice is set to ‘Post Debit’ or ‘Post Credit’.
When does this validation not fail?
- The invoice of the transaction type 'Debit' or 'Credit' is and none of the selected PO lines are marked as 'follow invoice'.
- The invoice of the transaction type 'Debit' or 'Credit' is and all selected PO lines are marked as 'next invoice'.
- The 'subsequent invoice' is a checkbox on the PO line.
More information
An overview of all business validations is available in the article Business validations - overview.