...
Anytime an opportunity is "Closed" you would want to generate a transaction (Sales Order or Invoice). You can have multple scenarios that you can model with Salesforce and AccountingBook. Industry example
- Services: Quotes -> Opportunity -> Invoice
- Manfacturing: Quotes -> Opportunity -> Sales Order -> Invoice
- Retain: Opportunity -> Sales Receipt or Combining daily closed Opportunities -> Journal Entries
- Subscription: Recurring Opportunity -> Recurrning Recurring Invoice Template -> Invoices(s)
...
- Goto Setup -> Opportunity Page Layout
- Select the Layout you need to provide access to this feature
- Add "Create Sale Order" and "Create Invoice" buttons to the page layout
- Add Opportunity to the Receiable page layout
How it works
- On clicking one of the installed Buttons "Create Sales Order" or "Create Invoice" you will get a screen with options to select products and quantities to generate the requested Receivables.
- Select the checkbox to include a line item. You can also asjust the quantity.
- Click on Save. Save functionality will
- Check if products included in the conversion is available in AccountingBook:Items. If not it will create the Item as Type="Service" and Income Account="Other Income"
- It will create a Receivable with line items
- It will mark the Receivable as 'Post'
- It will create all relevant Journal Entries
- It will associate the Receivable to the Opportunity. You can add the Receivable related list on Opportunity page layout.
...