Payment Dialog

From ADempiere
Revision as of 05:40, 3 December 2010 by MJMcKay (Talk) (Intermediate save - more to follow.)

Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Table of Contents{{#if: Functionality| | Functionality }}{{#if: | | [[{{{3}}}]] }}{{#if: | | [[{{{4}}}]] }}{{#if: | | [[{{{5}}}]] }} | Payment Dialog{{#if: Payment Info| | Payment Info }} ⇒

The Payment Dialog provides a convenient way to complete a payment from a sales order or invoice.

Access

Icon: Icon Payment24.png
Field: Payment Rule.

Restrictions

The Payment Rule button is only accessible on order or invoice documents.

The document must have the column C_BPartner_ID and the value in this field must be non null.

The Payment Rule dialog will not open if the document status is Closed, Voided or Reversed.

If the document status is Completed or Waiting Payment, a Payment can be generated. Otherwise, only the Payment Rule can be changed.

Only the Payment Rule can be changed on Purchase Order documents. (Documents with Completed or Waiting Payment status, non-sales transaction type where there the field M_Warehouse_ID in non-null).

The document must have the field GrandTotal with a non-zero value.

Description

Setting the Payment Rule

The Payment Dialog appears as a button displaying the icon Icon Payment24.png and labeled with the currently selected method of payment.

 

PaymentRule Button.png

 

Clicking the button will open the Payment Dialog. If the source document is not Completed or Waiting Payment and not yet able or ready to accept payment, the Payment Dialog will appear as a combo box listing various payment methods.

 

PaymentRule Open.png

 

The Payment Methods in the combo box are drawn from a Reference List in the database called "_Payment Rule" (AD_Reference_ID 195) which has the following values:

  • Cash
  • Credit Card
  • Direct Deposit (appears on purchase orders/vendor invoices)
  • Check
  • On Credit
  • Direct Debit (appears on sales orders/customer invoices)
  • Mixed

Selecting one of these Payment Methods will set the Payment Rule to that value.

Below the combo box, there are two buttons:

  • Icon Cancel24.png Cancel - this will close the dialog.
  • Icon Ok24.png Confirm - this will save the Payment Rule value.

Making a Payment

If the source document status is Completed or Waiting Payment, the Payment Rule button can be used to complete the payment. The dialog gets much more involved and has a number of different forms depending on the Payment Rule selected.

Note.gif Note:

The Payment Rule button can be clicked multiple times. Existing cash payments will be reversed and replaced with a new payment. Other types of payments will be left untouched and will need to be allocated.

Cash

The Cash Payment window is shown below.

 

PaymentRule Cash.png

 

Caution.gif Caution!

Accepting cash is fraught with problems which need to be fixed. The accounting consequences of the transaction are not clear and may leave unbalanced accounts in the system. Use with caution.

The Cash Payment requires

  • a bank account where the money will be eventually deposited
  • the accounting date of the payment which may be different than the invoice/order
  • the payment amount

On clicking Icon Ok24.png Confirm, the payment information will be saved but the payment won't be created until the invoice/order is saved and processed. Things get a bit messy at this point.

The created payment has no accounting consequences and appears as a line entry in the cash journal. The accounting consequences are made when the Cash Journal is completed.

Note.gif Note:

Ensure that the Cash Journal accounting makes the necessary balancing entries for the AR/AP accounts used by the invoice - this isn't easy if you have complex AR/AP structures and may require GL Journal entries to balance the books.


Check

 

PaymentRule Check.png

 

Credit Card

 

PaymentRule CreditCard.png

 

Direct Debit / Deposit

 

PaymentRule DirectDebit.png

 

Mixed

 

PaymentRule Mixed.png

 

On Credit

 

PaymentRule OnCredit.png

 


See Also

For Developers

The software that displays this window can be found in:

  • client/src
    • org.compiere.grid.VPayment.java