Re: Re: How-to implement the e-Commerce-System found in the "IDDD" book

"j.vieten" <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <[email protected]>
On Jun 5, 2013, at 10:11 AM, jamesz1980 wrote:

I have a scenario where a order is not payed all at once. The scenario has different invoice types.
One type is called a part-invoice. The invoices form then a chain.

Lets say the order amount is 1000000 Euro.

The first  part-invoice 1. PI goes over 150000 Euro.
The next part-invoice 2. PI goes over 200000 Euro.
The next part-invoice 3. PI pays   450000 Euro.

When viewing the last Final-Invoice 4.FI which pays the (1000000 Euros minus part-invoices)  the user can view the list of already payed part-invoices and therefore needs to refer to the before payed invoices






> 
> In what scenarios would you need to refer to another invoice from one invoice? I.e. what's the use case for this?
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.