Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2014
    Posts
    26

    Creating an invoice system with Order & Invoice Tables with item lines for each

    I first thought rather re-invent the wheel i would download a template from ms access. However, there is an issue with the whole system. The templates allows for products information etc and allows for a product to discontinue, however when you discontinue a product it removes itself from the lookup queries for products and thus not displaying in the orders Item Line and Invoice Item Line. A result which is difficult to display previous invoices as the lookups have removed the discontinued product - Seems to be something overlooked.

    So if a product is discontinued when you click an invoice to view it, if it has a discontinued product it will not display due to the set with the lookup queries.

    Is here any thoughts how to overcome this.

    I first thought that I would have an orders & item line tables relating to each other & have the same for an invoice and item lines tables relating to each other. & go this process;



    1) complete an order with populated product info and then once the order is complete -
    2) copy all the info and have it all stored into the invoice table against its respected orders & order item lines.

    this would result in have two different systems;
    1) with a dynamic system which updates available products in lookup queries & copies that info to invoices etc
    2) have a 2nd system- Invoices - which stores all info which does not change.

    Is there any thoughts to this and how would one implement it, ie copying a recordset from 2 tables with lookups to another 2 tables?

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    If a product is discontinued, it should still be in the invoice.
    but it should also be in the products table but flaged as discontinued = true

    lookups cant happen for invoice entry , but can by the admin or a read-only invoice review.

  3. #3
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I would not have two systems. I'd have a flag for "discontinued" or whatever in the table. A combo for new entries would exclude based on this flag; other views would not.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 30
    Last Post: 07-03-2014, 01:22 PM
  2. Replies: 9
    Last Post: 06-26-2013, 08:28 AM
  3. Invoice and Reciept System
    By Kudo in forum Access
    Replies: 6
    Last Post: 02-17-2012, 11:41 AM
  4. Creating an Invoice System / Report
    By duffy1807 in forum Database Design
    Replies: 9
    Last Post: 11-03-2011, 11:36 AM
  5. Duplicating lines in an invoice report
    By GordonEdinburgh in forum Forms
    Replies: 0
    Last Post: 04-21-2007, 12:20 PM

Tags for this Thread

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