change baseline date when an accounting document is created.
When a sales order is created and billing is done baseline date in accounting document is copied from billing/invoice date by default. my requirement is to change this baseline date based on some custom logic, This is required because SAP calculates due date based on baseline date. Can anyone help me how this scenario can be handled.
As suggested by Lakshmipathi it can be controlled through payment terms. If it doesnt meet the requirements then use user exit enhancement SDVFX008 to change the baseline date.