You need to sign in to do that
Don't have an account?
Sebastian Röder 1
write a trigger to send invoice after order from custom object.?
Hi everyone,
We have a custom Object where we take orders which we get by phone (customer calls and orders a product).
After we took the order (on the custom object) we want to write a trigger whicht is automaticly sends a .PDF Invoice to the customer (account is available for each customer). The invoice will be a Visualforce Page (email Template).
Can anyboy help me out for writing the "component" and apex class? Or do you have any hints on this?
Thank you
regards
Seb.
We have a custom Object where we take orders which we get by phone (customer calls and orders a product).
After we took the order (on the custom object) we want to write a trigger whicht is automaticly sends a .PDF Invoice to the customer (account is available for each customer). The invoice will be a Visualforce Page (email Template).
Can anyboy help me out for writing the "component" and apex class? Or do you have any hints on this?
Thank you
regards
Seb.
There is already an application: Invoices for Salesforce listed on the Appexchange that automatically creates invoices - records and PDF, straight out of your sales data. The application includes an invoice template editor that gives you complete freedom to design your invoice documents. In addition, the application can automatically deliver the invoices via email, or can group the invoices in files for batch printing in case you need to send them by post or fax.
Check it out: http://www.invoicesforsalesforce.com