Create "Open Order Value" functionality

Description

Purpose

Currently you can see the the total value of unpaid invoices of a customer in the field "Credit Used" in window "Business Partner" on tab "Customer".

Plan is to have two additional fields to show

  • the value of all orders which have not or only partially been invoiced ("Open Order Value")

  • the resulting "Total Credit" = "Credit Used" + "Open Order Value"

For some companies with long running sales contracts it is important to know how much credit in total has already been given to the customer.

Scope

Provide the ability to check overall customer credit status.

Design Considerations

The functionality shall be provided as an extension package.

Technical Requirements

Create columns C_BPartner.SO_OrderValue, C_BPartner.SO_CreditTotal
Create related fields in window "Business Partner", tab "Customer"
Create MOrderLine.calculateOpenOrderValue
Create a mechanism to trigger the method whenever a relevant state change happens:

  • C_Order.DocStatus changes to "CO", "VO" , "IN", "RE", "CL", "WP"

  • C_OrderLine.QtyInvoiced changes
    SO_OrderValue should be calculated as the sum of all (C_OrderLine.QtyOrdered-C_OrderLine.QtyInvoiced)*C_OrderLine.PriceActual plus taxes

Environment

None

Activity

Show:

Carlos Ruiz December 18, 2013 at 3:17 PM

Triaging old JIRA tickets -> could be solved on BP Window as a virtual column - and on Info BP as a new column

Won't Fix

Details

Assignee

Reporter

Components

Affects versions

Priority

Created May 24, 2012 at 6:02 PM
Updated May 2, 2014 at 9:57 PM
Resolved December 18, 2013 at 3:17 PM

Flag notifications