10, a unit of payment default with a bank account

Automatic document out of the company corresponding payment / receiving bank account

At present NC system, the company can maintain one or more bank accounts, but no company can set the default account. In use the relevant documents, many corporate customers will propose a small demand: like to pay by automatic bank account with a default of a payment account to pay units. Here are a few small ways:

1, direct write equation: Equation direct write value, when the company = A, A1 taken bank account when the company = B, taking account bank Bl ... write down cycle according to this formula, defining the value of a bank account.
This method is suitable for small companies, bank accounts without changing situation. Otherwise, there are multiple documents, a variety of changes, you need to constantly update and maintain, is not a small amount of work.

2, write view: Write view a store, "the company and the default bank account" table, and then write the formula to take account of the value of the bank views.
This method is less maintenance, updating fast. More in the background database level, fixed reception settings and data.

3, bank account information as one of the fields maintained by the company: the business unit node, using a custom field to store bank account. Then on a custom field value document value on the service unit by the equation.
This method is suitable for basic system maintenance personnel, will not operate the database. It may be performed directly in the front bank's operation, but also can be modified directly when an update is easy to operate.

Published 38 original articles · won praise 5 · Views 6039

Guess you like

Origin blog.csdn.net/luluisntlulu/article/details/90608747