Hello emre,
Is it possible to custom make functions for this kind of account document types transaction?
Now when we click Save button, screen will be back to account details screen.
I would like to add functionf for
1./ edit
2./ Print out
So that we can amend if we input error as well we can have a hard copy to keep record.
I haven’t looked into this in a long time. When @emre originally answered my question, I started developing a SQL script to pull the information that I wanted.
I need to find the SQL and play with it more, though it may be simpler to just use Custom Report Tags at this point (Custom Reporting didn’t exist when I asked the question).
It should work, but the trick you need to figure out is how to get the Document Id; otherwise, the action doesn’t know what to print - you cannot just leave it blank in your case.
I am not familiar enough with the Action to know how to retrieve it for the scenario that you are trying to use it in.
I have used this Action only once before, in the Gift Certificate setup. It works in that case, because the Print is done within the same Rule that creates the Document. The way it is done is with this:
[=Data.Get("DocumentId")]
So you could accomplish the same thing, but you would need to have the Print done at the same time as you submit the Petty Cash Transaction.
Using the action in a Cashout report would not work, simply because there could be several Documents that were created throughout the day, and the Action doesn’t know which ones to print.