on 06-27-2007 10:30 AM
Hi all
here is the scenario, If we are creating an debit memo request and debit memo to a customer, from the output of this debit memo we need to trigger the creation of another document( Ex credit memo to another customer) automatically, how we can do this?
Maintain copy controls between those two documents, so data gets copied automatically so that when you execute the transaction, if you enter the reference number of the previous document. The document gets generated.
Hope it helps.
Regards
AK
Please reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
You need to create another report program for the other document along with the smartform.
In the report program, you have to put your logic on how the other document has to be found when your document is created and the output be triggered.
So in principle,
There will be two programs linked to your output type.
One will create the output of the document which is being created,
Another program will automatically call the other target document in change mode and trigger the same output, during which the second program will be executed.
Now the second program will create the output for the second document.
Making copy controls wont help for this reqmt.
Reward points if it helps.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.