Re: How-to implement the e-Commerce-System found in the "IDDD" book
"jamesz1980" <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
Just for clarification, is this a AP or AR application? I.e. are you issuing the invoice as the supplier (AR) or are you receiving the invoice as the customer receiving a service (AP). --- In [email protected], "j.vieten" <j.vieten@...> wrote: > > > 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? > > > > > ------------------------------------