Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Bill of Materials Application

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bill of Materials Application

    Hello

    Can anyone tell me whether they have written an application based on a Bill of Materials.

    Usually found as part of stock control.

    If so is it possible to handle six levels.

    Thank you for your help.

    Kind regards

    Alex
    Database Software Solutions Limited
    www.dbasesolution.co.uk
    http://www.precise360.co.uk
    PRECISE360 -
    LYNCHPIN -

    #2
    Re: Bill of Materials Application

    I have one for cars, but may not fit what you want
    Dealer buys a car
    dealer adds part to car type thing.

    also one for racecars where the first part was a frame and then all parts and materials that went to build the car and after that, all parts used to maintain car as it was raced, wrecked, etc

    Doubt either would help?
    Dave Mason
    [email protected]
    Skype is dave.mason46

    Comment


      #3
      Re: Bill of Materials Application

      Thanks Dave

      Does the application include sub assemblies?

      Many thanks

      Alex
      Database Software Solutions Limited
      www.dbasesolution.co.uk
      http://www.precise360.co.uk
      PRECISE360 -
      LYNCHPIN -

      Comment


        #4
        Re: Bill of Materials Application

        It is irrelevant to the app.

        For instance, there is one table for the parts and labor in it. What differs is the categories. Car number 12a may get a steering box which is an assembly that takes 2 hours to install. That would be 2 entries to same table, but categories would be different.

        car # 12a may later get a windshield(not and assembly) and again labor = same scenario.

        Understand that complete engines bought are an assembly, engines built/rebuilt are not assemblies. Built in house would be separate entry for block, pistons, rods, cam, etc.
        Last edited by DaveM; 08-12-2016, 10:45 AM.
        Dave Mason
        [email protected]
        Skype is dave.mason46

        Comment


          #5
          Re: Bill of Materials Application

          3 tables
          Product, parts, catlookup may be all that is needed.
          product and parts connected by a product number
          cat lookup is not connected in the set.

          If you have stock that you use from, you can move from that stock and reduce the supply as you do. One way is posting in rules. Or write scripts/function to do it.

          example: 10 engine in stock, add one engine to car and reduce 1 engine from stock.
          Dave Mason
          [email protected]
          Skype is dave.mason46

          Comment


            #6
            Re: Bill of Materials Application

            I wrote one, using a different language, about 30 years ago, for a company that supplied road building materials. While it would be very doable, it would take quite some time and expense.
            Cole Custom Programming - Terrell, Texas
            972 524 8714
            [email protected]

            ____________________
            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

            Comment


              #7
              Re: Bill of Materials Application

              I converted an A4 macro into XBasic. I had to modify the design a bit to overcome the limitations of the Alpha Four macro capabilities, but it did work.

              If I were writing the same script from scratch, I would not have done it as he did, but in the end, the script is a series of cyclic loops the nest within each other.

              As I signed a confidentiality agreement, I cannot share his code.

              That said, you can definitely write a script to run a BOM, but your tables and structure need to support the end result.

              I would suggest you not limit your effort to 6 levels in, since modifying it to loop deeper down the road would be an unnecessary challenge if that was ever needed...

              I would expect it to take 5 - 7 days to write the code if you have the proper table structure in place...

              Have fun!

              Comment


                #8
                Re: Bill of Materials Application

                Alex
                Six levels is not too difficult to manage IF those levels are all finite.
                That is not however always the case.
                If you are pulling the lowest source components from stock you can work your way down.
                I can suggest an approach that will work that requires one table with two columns for the mechanics - you may need additional for costs, you will also need qty of because there would likely be multiples of some components.

                But note that if there are sub-sub-sub-sub plus sub-sub-sub assemblies and sub-sub assemblies and sub assemblies that are made up randomly in advance to keep in stock to speed up production or get sold at these stages (as finished) *1 and you need to maintain stock levels of these then you have no option (if using the single table method described) there would be additional considerations.

                If the stock count is not consistently and accurately maintained and you do not need WIP value, a very successful approach that some factories preferred because of the low labor overhead, is the negative count finished goods scenario which also takes care of *1 above. You can still manage a theoretical WIP value if you also control the orders system and move orders through the production stages.
                One of my larger companies is still running this last scenario, it has of course been enhanced and migrated several times over more than 25 years.
                If you only want bill of materials for costs and or for calculating orders for components then it becomes very simple.

                Recently (five years) done with Alpha and has brought currency exchange and duty segments into the estimations. Over the last 5 years we have had critical currency inflation from R6 to the $ up until last week over R16, we are net importers so costing at the date of purchase when drawing from stock can not be used to quote for future sales. You will need t adjust for whether the system allowed by the auditors/IRS is average, LIFO or FIFO for costing. Sorry about the looong story. Its a a detailed subject.

                If you got here.. thanks for reading.


                The above may give you a some ideas.but feel free to ask.
                Last edited by Ray in Capetown; 08-13-2016, 04:57 PM.

                Comment


                  #9
                  Re: Bill of Materials Application

                  Originally posted by alexmuir View Post
                  Hello

                  Can anyone tell me whether they have written an application based on a Bill of Materials.

                  Usually found as part of stock control.

                  If so is it possible to handle six levels.

                  Thank you for your help.

                  Kind regards

                  Alex
                  Hi Alex

                  Yes, full BOM, single table unlimited levels in SQL server using an adjacency list pattern. Takes a bit of work and viewing the heirarchy can be done using recursive common table expressions (CTE's). In the single table part id and parent part id fields so basically any part can be a parent to any other part.
                  Glen Schild



                  My Blog

                  Comment

                  Working...
                  X