OFBiz
  1. OFBiz
  2. OFBIZ-1463 JUnit test case for various application components
  3. OFBIZ-1787

Junit test case for Payments received from customers for Sales Invoices...

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Sumit Pandit added a comment - - edited

      Based on write-ups provided by Jacopo.

      The purpose of the test case is to verify Automatic Accounting transactions on Payments received from customers for Sales Invoices

      process :-
      1. Click on the Payment top menu in the Accounting application; then click on the "Create New Payment" link
      2. in the "New incoming payment" box, set the customer id in the "From Party ID" field; then set "Payment Type ID" = "Customer Payment" and a proper "Payment Method Type" (e.g. "Electronic Funds Transfer"); then set the "amount" and submit the form
      3. from the payment detail screen, when you are ready to post the payment to the GL, click on the "Status to Received" link

      success :-

      Cr
      ACCOUNTS _RECEIVABLE * - "ACCOUNTS RECEIVABLE"
      120000 - "ACCOUNTS RECEIVABLE"

      • For "Payment Type ID" = "Customer Payment" the account type mapping should always be set to ACCOUNTS _RECEIVABLE in order to match the mapping set for the Debit transaction of the grand total of the Sales Invoices (see above); this is done in the screen: General Ledger>Setup>Payment Type/Gl Account Type

      Dr
      it depends on the "Payment Method Type" selected
      for "Personal Check" is "112000" - "UNDEPOSITED RECEIPTS"
      for "Electronic Fund Transfer" is "111100" - "GENERAL CHECKING ACCOUNT"
      etc... by payment type?

      Show
      Sumit Pandit added a comment - - edited Based on write-ups provided by Jacopo. The purpose of the test case is to verify Automatic Accounting transactions on Payments received from customers for Sales Invoices process :- 1. Click on the Payment top menu in the Accounting application; then click on the "Create New Payment" link 2. in the "New incoming payment" box, set the customer id in the "From Party ID" field; then set "Payment Type ID" = "Customer Payment" and a proper "Payment Method Type" (e.g. "Electronic Funds Transfer"); then set the "amount" and submit the form 3. from the payment detail screen, when you are ready to post the payment to the GL, click on the "Status to Received" link success :- Cr ACCOUNTS _RECEIVABLE * - "ACCOUNTS RECEIVABLE" 120000 - "ACCOUNTS RECEIVABLE" For "Payment Type ID" = "Customer Payment" the account type mapping should always be set to ACCOUNTS _RECEIVABLE in order to match the mapping set for the Debit transaction of the grand total of the Sales Invoices (see above); this is done in the screen: General Ledger>Setup>Payment Type/Gl Account Type Dr it depends on the "Payment Method Type" selected for "Personal Check" is "112000" - "UNDEPOSITED RECEIPTS" for "Electronic Fund Transfer" is "111100" - "GENERAL CHECKING ACCOUNT" etc... by payment type?
      Hide
      Awdesh Parihar added a comment -

      Implemented Junit test case for Payments received from customers for Sales Invoices.

      Thanks to sumit for helping.
      Thanks and Regards,
      Awdesh Parihar

      Show
      Awdesh Parihar added a comment - Implemented Junit test case for Payments received from customers for Sales Invoices. Thanks to sumit for helping. Thanks and Regards, Awdesh Parihar
      Hide
      Vikas Mayur added a comment -

      Thanks Awdesh and others,

      Patch is in trunk rev. 659551

      • Vikas
      Show
      Vikas Mayur added a comment - Thanks Awdesh and others, Patch is in trunk rev. 659551 Vikas
      Hide
      Harsha Chadhar added a comment -

      Automated Test case "testAcctgTransOnPaymentReceivedFromCustomer".
      Created Payment data for automation.

      Show
      Harsha Chadhar added a comment - Automated Test case "testAcctgTransOnPaymentReceivedFromCustomer". Created Payment data for automation.

        People

        • Assignee:
          Vikas Mayur
          Reporter:
          Sumit Pandit
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development