<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
</tr>
<trstyle="opacity: 1; z-index: 0;"class="">
<trstyle="opacity: 1; z-index: 0;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
<td>openAndWait</td>
</tr>
<td>${base_url}/Zuite_setUpSaleOrderTest</td>
<trstyle="opacity: 1; z-index: 0;"class="">
<td> </td>
<td>openAndWait</td>
</tr>
<td>${base_url}/Zuite_setUpSaleOrderTest</td>
<trstyle="opacity: 1; z-index: 0;">
<td></td>
<td>verifyTextPresent</td>
</tr>
<td>Init Ok</td>
<trstyle="opacity: 1; z-index: 0;"class="">
<td> </td>
<td>verifyTextPresent</td>
</tr>
<td>Init Ok</td>
<trstyle="opacity: 1; z-index: 0;">
<td></td>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</tr>
</tr>
<trstyle="opacity: 1; z-index: 0;"class="">
</tbody>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</table>
</tr>
</test></section>
</tbody>
</table>
<section>
</test>
<h1>Agenda</h1>
</section><sectionclass="">
<h1>Agenda</h1>
<ul>
<ul>
<li>How to create a bank account for your company</li>
<li>How to create a bank account for your company</li>
<li>How to create a payment from a sale invoice</li>
<li>How to create a payment from a sale invoice</li>
<li>How to confirm the payment transaction</li>
<li>How to confirm the payment transaction</li>
</ul>
</ul>
<detailsopen="open">
<detailsopen="open">
<p>In this tutorial, you will learn how to create a payment using ERP5.</p><p>
<p>In this tutorial, you will learn how to create a payment using ERP5.</p>
The appropriate way to <strong>create a payment</strong>
is to first locate the
<p>The appropriate way to <strong>create a payment</strong> is to first locate the <strong>invoice</strong> which you want to create the payment transaction from, and then <strong>create the related payment</strong> directly from the invoice sheet.</p>
<strong>invoice</strong>
which you want to create the payment transaction from, and then
<p>The payment action works the same way as invoices:<br/>
<strong>create the related payment</strong>
First you have to <strong>create one and edit</strong> the details.<br/>
directly from the invoice sheet.
Once this is done properly, you will have to <strong>start the accounting process</strong> for it.</p>
</p><p>
The payment action works the same way as invoices:<br>
<p>If you have some accounting experience, you know that accounting of invoices and of payments have different meanings.<br/>
First you have to
Both of them are mandatory, but the accounting done for invoices is related to your <strong>merchandise and client accounts</strong> , payment accounting relates to the notion of treasury, and to your <strong>bank account</strong> .</p>
<strong>create one and edit</strong>
the details.
<p>You should understand that <strong>ERP5 will not let you create a payment if it is not related to a bank account</strong> , which means that <strong>the first step of this tutorial will be to learn how to create a bank account for your company</strong> in order to be able to create treasury transactions such as payments, which are directly linked to your bank account.</p>
<br>
</details>
Once this is done properly, you will have to
<test>
<strong>start the accounting process</strong>
<tableclass="test"style="display: none;">
for it.
<tbody>
</p><p>
<trstyle="opacity: 1; z-index: 0;">
If you have some accounting experience, you know that accounting of invoices and of payments have different meanings.<br>
<td>openAndWait</td>
Both of them are mandatory, but the accounting done for invoices is related to your
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span></td>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span></td>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</test></section>
</tr>
<trstyle="opacity: 1; z-index: 0;"class="">
<sectionclass="screenshot">
<td>openAndWait</td>
<h1>Create a Bank Account for your company</h1>
<td>${base_url}/Zuite_setUpPaymentTest</td>
<imgalt="Check Bank Account"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Create.Bank.Account?format=png"title="Check Bank Account"type="image/svg+xml"/>
<td></td>
<detailsopen="open">
</tr>
<p>From the previous tutorial <ahref="user-Howto.Create.Bank.Account/view">"How to create Bank Accounts"</a> and the example "Invoice Sender and Payee-Bank Account" in the tutorial <ahref="user-Howto.Create.Trade.Conditions/view">"How to create Trade Conditions"</a>, you have learned how to create a bank account for your company.</p>
<trstyle="opacity: 1; z-index: 0;"class="">
<td>verifyTextPresent</td>
<p>In our example, please follow these tutorials and <strong>create a bank account "LCL Paris sud" for your company Hongzhao</strong> . Do not forget to replace "Hongzhao" with the company you created. Then please <strong>click on the Financial Information tab of the organisation document</strong> . This tab provides you with financial information about your company, such as Bank Accounts, Accounting Periods, etc. As you can see from the screenshot, the bank account you created appears in this tab, which means that the creation and validation were successful. If you want to see the details of this account, simply click on the line. This will lead you to the detail sheet of the bank account.</p>
<td>Init Ok</td>
<td></td>
<p>Now we can create transactions linked to this bank account.</p>
<imgalt="Check Bank Account"title="Check Bank Account"type="image/svg+xml"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Create.Bank.Account?format=png">
From the previous tutorial <ahref="user-Howto.Create.Bank.Account/view">"How to create Bank Accounts"</a> and the example "Invoice Sender and Payee-Bank Account" in the tutorial <ahref="user-Howto.Create.Trade.Conditions/view">"How to create Trade Conditions"</a>, you have learned how to create a bank account for your company.
. This tab provides you with financial information about your company, such as Bank Accounts, Accounting Periods, etc. As you can see from the screenshot, the bank account you created appears in this tab, which means that the creation and validation were successful. If you want to see the details of this account, simply click on the line. This will lead you to the detail sheet of the bank account.
</tr>
</p><p>Now we can create transactions linked to this bank account.</p>
<imgalt="Reach the Invoice"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Related.Sale.Invoice?format=png"title="Reach the Invoice"type="image/svg+xml"/>
<td>1 records</td>
<detailsopen="open">
<td></td>
<p>Now we have to create the Payment from the Sale Invoice.</p>
</tr>
</tbody>
<p>To reach the invoice we need, as you have learned in <ahref="user-Howto.Manage.Invoices/view">"How to manage Invoices"</a>, to located the Sale Packing List "Red LED" and click on "Related Sale Invoice Transaction" in the "Jump..." menu. This will lead you to the related invoice, from which you will be able to create the related payment.</p>
</table>
</details>
</test>
<test>
</section><sectionclass="screenshot">
<tableclass="test"style="display: none;">
<h1>Reach the Invoice</h1>
<tbody>
<imgalt="Reach the Invoice"title="Reach the Invoice"type="image/svg+xml"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Related.Sale.Invoice?format=png">
<p>Now we have to create the Payment from the Sale Invoice.</p><p>
</tr>
To reach the invoice we need, as you have learned in <ahref="user-Howto.Manage.Invoices/view">"How to manage Invoices"</a>, to located the Sale Packing List "Red LED" and click on "Related Sale Invoice Transaction" in the "Jump..." menu. This will lead you to the related invoice, from which you will be able to create the related payment.
<imgalt="Create Related Payment"title="Create Related Payment"type="image/svg+xml"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Create.Related.Payment?format=png">
</tbody>
<detailsopen="open">
</table>
<p>
</test></section>
Now it is time to <strong>create the related payment</strong>
. To do so, click on the Action item list and choose
<sectionclass="screenshot">
<strong>Create Related Payment</strong>
<h1>Create Related Payment</h1>
.
<imgalt="Create Related Payment"src="http://img.erp5.cn/user-Howto.Create.A.Payment.Create.Related.Payment?format=png"title="Create Related Payment"type="image/svg+xml"/>
</p><p>This will create the payment and open its related sheet.</p><p>
<detailsopen="open">
Note: you can <strong>create the related payment from an invoice after it is "Journalised"</strong>
<p>Now it is time to <strong>create the related payment</strong> . To do so, click on the Action item list and choose <strong>Create Related Payment</strong> .</p>
, not necessarily after you have "Definitively Close Transaction" and the invoice is "Closed".
</p>
<p>This will create the payment and open its related sheet.</p>
</details>
<test>
<p>Note: you can <strong>create the related payment from an invoice after it is "Journalised"</strong> , not necessarily after you have "Definitively Close Transaction" and the invoice is "Closed".</p>
<tablestyle="display: none;"class="test">
</details>
<tbody>
<test>
<tr>
<tableclass="test"style="display: none;">
<td>selectAndWait</td>
<tbody>
<td>//select[@name="select_action"]</td>
<tr>
<td>Create Related Payment</td>
<tdcolspan="3"><tal:block tal:define="click_configuration python: {'text': 'Create Related Payment'}"><tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link"></tal:block></tal:block></td>
Before creating the payment, ERP5 will ask you to <strong>fill out some basic payment information which is indispensable for the payment creation</strong>
</table>
. As shown in the screenshot, choose the Account for Bank Line, Payment Mode and Bank Account to which you want the payment to be related (in our case, the bank account of our company Hongzhao), and also the Accounting Operation Date.
</test></section>
</p><p>After you have finished, click on "Create Related Payment".</p>
<p>Before creating the payment, ERP5 will ask you to <strong>fill out some basic payment information which is indispensable for the payment creation</strong> . As shown in the screenshot, choose the Account for Bank Line, Payment Mode and Bank Account to which you want the payment to be related (in our case, the bank account of our company Hongzhao), and also the Accounting Operation Date.</p>
<p>Now the new payment is created and you are led to its related document, and it is time to edit it.</p><p>As you can see in the screenshot, there is not much information missing. The main information needed (circled in blue) has been updated automatically according to the related invoice where the payment is created from, and the basic payment information you filled out in the previous step. The only thing you need to edit is the Title. But you can still modify the details if you need.</p><p>Fill in the missing details, and when you are done, save your data by clicking on the save button, and jump to the next page.</p>
</details>
<p>After you have finished, click on "Create Related Payment".</p>
<p>You are now used to workflows, so you should know that the workflows are available for each object without exceptions and can be found in the Action item list.</p><p>
<h1>Edit Payment document</h1>
After the creation, the next step will be to <strong>confirm the payment, if you want it to be taken into account, or if you want to be able to create the related accounting operation</strong>
<p>Now the new payment is created and you are led to its related document, and it is time to edit it.</p>
Please browse the Action item list and choose <strong>Confirm Transaction</strong>
.
<p>As you can see in the screenshot, there is not much information missing. The main information needed (circled in blue) has been updated automatically according to the related invoice where the payment is created from, and the basic payment information you filled out in the previous step. The only thing you need to edit is the Title. But you can still modify the details if you need.</p>
</p><p>This action means that you have received the payment, for example, a payment related to an invoice you had sent to a customer some weeks ago. You know this because you can check the operations on your bank account on the internet, for example.</p><p>
But <strong>confirming the payment doesn't automatically create the related accounting transaction operation</strong>
<p>Fill in the missing details, and when you are done, save your data by clicking on the save button, and jump to the next page.</p>
. As you have learned from the previous tutorial
</details>
<ahref="user-Howto.Manage.Invoices/view">"How to manage Invoices"</a>, the accounting transaction operation includes "Journalise Transaction", "Post Transaction To General Ledger" and "Definitively Close Accounting Transaction". For more information, please see the next page.
<p>You are now used to workflows, so you should know that the workflows are available for each object without exceptions and can be found in the Action item list.</p>
<td>selectAndWait</td>
<td>//select[@name="select_action"]</td>
<p>After the creation, the next step will be to <strong>confirm the payment, if you want it to be taken into account, or if you want to be able to create the related accounting operation</strong> .</p>
<td>Confirm Transaction</td>
</tr>
<p>Please browse the Action item list and choose <strong>Confirm Transaction</strong> .</p>
<tr>
<td>clickAndWait</td>
<p>This action means that you have received the payment, for example, a payment related to an invoice you had sent to a customer some weeks ago. You know this because you can check the operations on your bank account on the internet, for example.</p>
<td>//button[@id="dialog_submit_button"]</td>
<td></td>
<p>But <strong>confirming the payment doesn't automatically create the related accounting transaction operation</strong> . As you have learned from the previous tutorial <ahref="user-Howto.Manage.Invoices/view">"How to manage Invoices"</a>, the accounting transaction operation includes "Journalise Transaction", "Post Transaction To General Ledger" and "Definitively Close Accounting Transaction". For more information, please see the next page.</p>
<p>You might want to journalise this payment, because it is mandatory in most countries. This is an operation involving treasury, during which your bank account will be credited.</p><p>
<p>You might want to journalise this payment, because it is mandatory in most countries. This is an operation involving treasury, during which your bank account will be credited.</p>
<td>Clean Ok</td>
<td></td>
<p>To learn more about <strong>Accounting</strong> , we would recommend you to read the dedicated tutorial, that you can find in the knowledge base of ERP5 ( <ahref="user-Accounting.Guide/view">"La Comptabilité sous ERP5"</a>).</p>
</tr>
</details>
<trclass=""style="opacity: 1; z-index: 0;">
<test>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
<tableclass="test"style="display: none;">
</tr>
<tbody>
</tbody>
<trstyle="opacity: 1;">
</table>
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>
</test>
</tr>
</section>
<trstyle="opacity: 1;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_manager">Login As Manager</span></td>
\ No newline at end of file
</tr>
<tr>
<td>open</td>
<td>${base_url}/Zuite_tearDownSaleOrderTest</td>
<td> </td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Clean Ok</td>
<td> </td>
</tr>
<trstyle="opacity: 1; z-index: 0;">
<tdcolspan="3"><span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities </span></td>