I have a situation where I have a Quote PDF document and a Purchase Order document.
The Quote PDF uses a general type document definition and the Purchase Order pdf uses invoice type document definition.
Quote Document have two fields Quote Number and PO Number fields…
I need to override Purchase Order document information by Quote Document information.
I need to know the event where i can copy values from one document to another without opening the documents in verification station.
Can someone help?
Comments
3 comments
Hello,
Could you please specify, what field from the "Purchase Order" document (as we understood, it is Invoice-type document definition) you want to override by the value received from another document?
The event handler "After document state changed" could be used for this, as well as custom script stage, placed between Recognition and Verification, but to give you more accurate advice we should know more details.
I created a custom workflow and wrote code to copy values from one document to another.
To copy values from one document to another, the best way would be to create a custom script stage of batch-processing type.
If you tried that and have not achieved your goal, at least we need to see your code snippet and the description of the results you actually get.
Please sign in to leave a comment.