Skip to Content
0
Feb 05, 2014 at 10:00 PM

FV60 - Vendor invoice doc number change based on posting date/fiscal yer

132 Views

Hi All,

I developed one custom workflow for vendor invoices which user can change certain invoice values during approval process of workflow.

These values are updating to document by using the function module PRELIMINARY_POSTING_DOC_WRITE and posting the document by PRELIMINARY_POSTING_POST_ALL.

But when posting date changes ( which makes fiscal year to change ) the old document should be deleted by creating a new document with new number which is happening manually.

Could anyone suggest how to achieve this functionality through workflow?