Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4617842
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:10:54+00:00 2026-05-22T02:10:54+00:00

I am getting a little stuck with the inventory table design and would appreciate

  • 0

I am getting a little stuck with the inventory table design and would appreciate if anyone could guide me with that.

The inventory is at 3 different locations(warehouses). I want help with how do I avoid creating multiple itemcodes for each warehouse

The current set up is as follows: –

table no 1 – inventory_T

  • itemcode(primary key)
  • item name
  • item group id(foreign key to item group table)
  • item category id(foreign key to item category table)

table no 2 – item_costs

  • itemcode(fk to table 1)
  • average cost

table no 3 – stock_balance

  • itemcode(fk to table 1)
  • stock on hand
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:10:55+00:00Added an answer on May 22, 2026 at 2:10 am

    I suppose you have a single database which serves all warehouses.

    Create another table

    warehouses

    • warehouseid (PK)
    • name
    • other details

    And then add the field
    – warehouseid
    to table stock_balance as a FK(Foreign Key) – this way you will bind each stock of an item to a warehouse

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing one project on Struts 2 that I am getting knowledge little
I'm getting a little stuck with two entwined problems. First, I want to have
I keep getting stuck on this one little thing. I append a checkbox and
I'm just getting started with jQuery, having a little trouble. Got a table of
i'm a little stuck on getting a plugin to work. I need it to
I hope anyone can help me to fix a little problem. After getting a
I am getting on with WPF/MVVM, and am a little stuck on what I
I'm getting a little confused with using Absolute and Relative positioning. Basically I have
I'm getting a little tired of building web applications. Feels like same thing over
My view controller is getting a little large for me. I'm implementing five delegate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.