Page 4 of 4 FirstFirst 1234
Results 46 to 52 of 52
  1. #46
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742

    I would think that putting AllocatedInvoiceReceiptIDPK on this table would fail the normalization rules, especially if you are still trying to allow an invoice to match multiple receipts and vice versa.

  2. #47
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Quote Originally Posted by Dal Jeanis View Post
    I would think that putting AllocatedInvoiceReceiptIDPK on this table would fail the normalization rules, especially if you are still trying to allow an invoice to match multiple receipts and vice versa.
    There is no "AllocatedInvoiceReceiptIDPK " anymore.

    I can attach the Database should you wish to play with it.

    Yes One Payment could cover many Invoices and Many Payments could be allocated to one invoice.

  3. #48
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    That was just a comment on his "weird thing" in post 43 about noon yesterday. Since you had responded with naming conventions and a new design, but no specific other feedback, I figured I'd point out the biggest hole in his "weird thing" boat.

  4. #49
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Quote Originally Posted by Rainlover View Post
    Watch out for Reserved Words. Do not use them. Use MyDate not Date.
    Will take care, Rain.

    Quote Originally Posted by Rainlover View Post
    Recyan,

    I realise you are not in a rush but I had some time. Things do get a little different when you start to apply them. So this pic is what I have so far, but it is not 100% correct.



    Attachment 12687
    Rain, You have already indicated, above is not 100% correct. All the same, a few doubts :

    tblReceiptDetails
    1) If I am not wrong, we can get rid of ClientFK due to the presence of InvoiceFK.
    2) Was not able to find the co-relation of Receipt / s & Invoice / s in the table.

    Quote Originally Posted by Dal Jeanis View Post
    I would think that putting AllocatedInvoiceReceiptIDPK on this table would fail the normalization rules, especially if you are still trying to allow an invoice to match multiple receipts and vice versa.
    Dal - Did not look at things from Normalization point of view. Guess that is the first thing, I should have done, at least till 3NF.

    _______

    Thanks to all of you for being there and for keeping me from giving up, out of frustration.

    Thanks

  5. #50
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Quote Originally Posted by recyan View Post
    Rain, You have already indicated, above is not 100% correct. All the same, a few doubts :

    tblReceiptDetails
    1) If I am not wrong, we can get rid of ClientFK due to the presence of InvoiceFK.
    2) Was not able to find the co-relation of Receipt / s & Invoice / s in the table..

    Thanks
    1) You may be correct, however I would like to leave it there until I find the proper design. I can always delete what's wrong later.
    2) You can't "find the co-relation of Receipt / s & Invoice / s in the table." The problem is that neither can I. My mind is not working as good as it should be.

    I posted the Relationship diagram to let you guys know where I am and to get some feed back, which I am getting.

    My next aim is to be able to create a Main Form that displays ONE ONLY Client together with the total value received against that Client but not yet allocated to individual Invoices.

    In the Sub Form I want to display all invoices from that Client. It should only show closed invoices. A closed Invoice is one that is fully paid.

    This step should be simple but alas it is not turning out that way.


    Feedback from anyone would be welcome.

  6. #51
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Quote Originally Posted by recyan View Post
    Actually, was planning to leave this at the Design stage itself, after satisfying myself. But, as you suggest, I think, will have to proceed to the Forms, Queries, Reports, etc stage. Will try doing that & keep you posted.



    Time is not a problem, Rain. Like I told earlier, it's a self-study project & there is no TAT involved.

    While typing this reply, a weird thing came to my mind :

    tblClients

    ClientIDPK - PK
    ClientName

    tblInvoicesReceipts
    InvoiceReceiptIDPK - PK - AutoNumber
    InvoiceReceiptNo - Text
    Type - Values - Invoice / Receipt
    ClientID_FK
    Date
    Amount
    AllocatedInvoiceReceiptIDPK - FK from the same table. The ReceiptID is allocated only to Invoices. The Receipts will have Null or 0 Value.

    Haven't shot it full of holes so far, as it has just come up. If you guys find it full of bugs, let me know asap.

    Thanks
    recyan,
    Since you described this as a self study with no real time pressure, you may find this info from Oracle of interest. It is somewhat specific to their approach and software, but, on the other hand, it describes certain scenarios and what is involved. There are a lot of concepts multiple and partial payments; prepayment; multiple payment types per order... I think it's worth a good glance since it's another source; they are a viable company and this describes things based on a commercially available package. May not all be directly useful, but it's a learning project you are undertaking.

    I have not been able to find a free data model that shows prepayments, partial payments, invoices, orders etc.
    If you have an evolving model, and the business facts that go with that model, then please post. I'm sure you'll get comments/critique.

    Similar to an architect who can draw an "artist's concept" of a new building, you can build a data model (tables and relationships) without building an application.

    Good luck.

  7. #52
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Quote Originally Posted by Rainlover View Post
    1)
    I posted the Relationship diagram to let you guys know where I am and to get some feed back, which I am getting.
    Realized that. Will keep you posted if something comes up.

    Thanks

    Quote Originally Posted by orange View Post
    recyan,
    Since you described this as a self study with no real time pressure, you may find this info from Oracle of interest. It is somewhat specific to their approach and software, but, on the other hand, it describes certain scenarios and what is involved. There are a lot of concepts multiple and partial payments; prepayment; multiple payment types per order... I think it's worth a good glance since it's another source; they are a viable company and this describes things based on a commercially available package. May not all be directly useful, but it's a learning project you are undertaking.
    Thanks Orange, Will take a look asap.


    Quote Originally Posted by orange View Post
    recyan,
    If you have an evolving model, and the business facts that go with that model, then please post. I'm sure you'll get comments/critique.
    Currently, no. Everything is in a state of flux in my mind, what, with a few ideas coming to my mind & then crashing with some bug or the other.
    The only model I have currently, is the one which I posted at the start of this thread.

    Quote Originally Posted by orange View Post
    recyan,
    Similar to an architect who can draw an "artist's concept" of a new building, you can build a data model (tables and relationships) without building an application.
    This is exactly, what I would love to do.

    Thanks

Page 4 of 4 FirstFirst 1234
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 11-26-2012, 03:12 PM
  2. Replies: 5
    Last Post: 09-05-2012, 01:21 PM
  3. To "Cascade Update" or Not
    By Jester0001 in forum Database Design
    Replies: 1
    Last Post: 04-10-2012, 03:00 PM
  4. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  5. Query Design to Filter datas "in between"
    By nizam in forum Queries
    Replies: 8
    Last Post: 08-04-2011, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums