Results 1 to 2 of 2
  1. #1
    PaulieC is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2010
    Posts
    1

    Northwind Traders Quantity After_Update

    Can someone explain in simple language how the code behind the quantity field on the order details subform populates data into the inventory Transactions table as a hold. The quantity procedure calls the Request Hold procedure which in turns calls either the Add Hold or the Modify Hold procedure depending on a condition. I'm struggling to understand exactly what is going on and was wondering if a more experienced programmer could explain in simple terms. By the name Modify Hold i would have thought that the quantity that has been held originally would get changed but i can't see anyway to change the quantity in the inventory transactions table once a record has been written to it.
    I have played around with the database to see if i can. The way it works is you create an order - if the product is in stock the status in the order details table updates to allocated and a record is created in the inventory tranactions table with a held status. Once the order is invoiced the statuses change to invoiced (order details) and sold (inventory tranactions)
    if you create an order for a product not in stock you are invited to create a purchase order.
    Can someone explain the code behind this quantity after update in laymans terms so that i can understand
    thanks

  2. #2
    sooty is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    1
    Quote Originally Posted by PaulieC View Post
    Can someone explain in simple language how the code behind the quantity field on the order details subform populates data into the inventory Transactions table as a hold. The quantity procedure calls the Request Hold procedure which in turns calls either the Add Hold or the Modify Hold procedure depending on a condition. I'm struggling to understand exactly what is going on and was wondering if a more experienced programmer could explain in simple terms. By the name Modify Hold i would have thought that the quantity that has been held originally would get changed but i can't see anyway to change the quantity in the inventory transactions table once a record has been written to it.
    I have played around with the database to see if i can. The way it works is you create an order - if the product is in stock the status in the order details table updates to allocated and a record is created in the inventory tranactions table with a held status. Once the order is invoiced the statuses change to invoiced (order details) and sold (inventory tranactions)
    if you create an order for a product not in stock you are invited to create a purchase order.
    Can someone explain the code behind this quantity after update in laymans terms so that i can understand
    thanks

    I would also like to know how this works. Can someone help

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

Similar Threads

  1. Updating Stock Quantity
    By jordanturner in forum Queries
    Replies: 11
    Last Post: 09-10-2010, 08:28 PM
  2. After_Update Procedure
    By Nad_user in forum Programming
    Replies: 3
    Last Post: 04-29-2010, 05:06 AM
  3. Replies: 16
    Last Post: 06-03-2009, 07:01 AM
  4. Help On Comparing Quantity in Tables
    By rochy81 in forum Access
    Replies: 2
    Last Post: 05-29-2009, 10:20 AM
  5. Return blank field depending on quantity
    By anthonyjf in forum Access
    Replies: 1
    Last Post: 04-01-2009, 08:22 AM

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