Technical Support Notices
  Product Registration
  Warranty
  Discontinued Products
  Request CARE Plan
  Request RMA
  Product Documentation
  Software Downloads
  Support Agreements
  AML Customers


   0     $0.00  
  30 Day Money-Back Guarantee
    Home      About Us      Contact Us      User Login

Stock Control

Description: Take stock and flag any item that needs to be reordered. There is also an arbritary setting in Save Screen's OnEnter to flag an order as a priority reorder if a reorder is required and the lead time is 2 weeks or more (>=15).




Steps to recreate:
1.  Configure the capture file.
2.  Create lookups.
3.  Create all screens
4.  Create all fields
5.  Create all global variables
6.  Fill in all Screen OnEnter/OnExit Scripts
7.  Fill in all Field OnEnter/OnExit Scripts
8.  Go back and fill in Static Text, Graphical Characters, and boxes to adjust screen
     appearance to your personal preference.

Capture File:
  • ItemNum
  • QTY
  • IssueReorder
  • Priority
  • MinNumToOrder


  • Lookup File:
  • ItemNum
  • Description
  • LeadTime
  • ReorderPoint
  • ReorderAmount


  • Global Variables:
  • temp
  • ItemNum
  • Qty
  • IssueReorder
  • Priority
  • MinNumToOrder
  • Description
  • LeadTime
  • ReorderPoint
  • ReorderAmount


    • Screens:
      1.  ItemScreen
        • ITEMNUMField
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Field OnExit
            • Screen Field Operation update ItemNum with value of field ITEMNUMField
            • Lookup File Operation, Move to first record
            • Lookup File Operation, Find Matching Row, MatchField ItemNum, MatchVariable ItemNum
              • Get Field Value, Field: Description  Variable: Description
            • Lookup File Operation, Stay on current row
              • Get Field Value, Field: LeadTime  Variable: LeadTime
            • Lookup File Operation, Stay on current row
              • Get Field Value, Field: ReorderPoint  Variable: ReorderPoint
            • Lookup File Operation, Stay on current row
              • Get Field Value, Field: ReorderAmount  Variable: ReorderAmount
        • Screen OnExit
          • Capture File Operation, Move to first record
          • Capture File Operation, Find Matching Row, MatchField ItemNum, MatchVariable ItemNum
            • Get Field Value, Field: Qty  Variable: Qty
          • Capture File Operation, Stay on current row
            • Get Field Value, Field: IssueOrder  Variable: IssueOrder
          • Capture File Operation, Stay on current row
            • Get Field Value, Field: Priority  Variable: Priority
          • Capture File Operation, Stay on current row
            • Get Field Value, Field: MinNumToOrder  Variable: MinNumToOrder
      1. QTYScreen
        • Screen OnEnter
          • Screen Field Operation, Update ITEMNUMField with value of variable ItemNum
          • Screen Field Operation, Update DESCField with value of variable Description
          • Screen Field Operation, Update QTYField with value of variable Qty
        • QTYField
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
        • DESCField
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • ITEMNUMField
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • Screen OnExit
          • Screen Field Operation, Update Qty with value of field temp
          • Operation, if Value1:Variable:temp is not equal to Value2:variable:ItemNum then jump to label, QtyScrCont
          • Handheld beep: High, Chirp, Once    (third, first, first)
          • Operation, Value1:numeric:1 add to Value2:variable:Qty, story in Qty
          • Jump to Screen, QTYScreen
          • Label, QtyScrCont
          • Screen Field Operation, Update QTYField with value of variable Qty
      1. SaveScreen
        • Screen OnEnter
          • Branch, Value1:variable:Qty is greater than Value2:variable:ReorderPoint then jump to label OnToNext
          • Operation, Value1:text:Yes assign directly to store in IssueReorder
          • Operation, Value1:variable:ReorderAmount subract Value2:variable:Qty and store in MinNumToOrder
          • Operation, Value1:variable:MinNumToOrder add to Value2:numeric:1 and store in MinNumToOrder
          • Branch, Value1:variable:LeadTime is less than Value2:numeric:15 then jump to NotPriorityOrder
          • Operation, Value1:text:Yes assign directly to store in Priority
          • Branch to label OnToNext always
          • Label, NotPriorityOrder
          • Operation, Value1:text:No assign directly to store in Priority
          • Branch to label OnToNext always
          • Label, NoReorder
          • Operation, Value1:text:No assign directly to store in IssueReorder
          • Label, OnToNext
          • Screen Field Operation, Update ITEMNUMField with value of variable ItemNum
          • Screen Field Operation, Update QTYField with value of variable Qty
          • Screen Field Operation, Update ISSUEField with value of variable IssueReorder
          • Screen Field Operation, Update RIORITYField with value of variable Priority
          • Screen Field Operation, Update MININORDField with value of variable MinNumToOrder
        • ITEMNUMField
          • Details: Write to capture ItemNum
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • QTYField
          • Details: Write to capture QTY
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • ISSUEField
          • Details: Write to capture IssueReorder
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • PRIORITYField
          • Details: Write to capture Priority
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • MININORDField
          • Details: Write to capture MinNumToOrder
          • Validation, Uncheck unmodified default is invalid, unmodified should be valid
          • Validation, Uncheck blank field is invalid
          • Input, Check Field is display only 
        • Screen OnExit
          • Wait, 5000 ms (5 seconds)
          • Jump to Screen: ItemScreen
    Menus:
    None

    Back to Sample Programs

    Service Agreements |  Software Downloads |  Product/Technical Support |  Warranty/Returns |  News

    Legal Terms |  Privacy Statement |  Site Tools |  Site Map

    Copyright © 2010 American Microsystems, Ltd., Inc. All Rights Reserved
    1-800-206-2123




    Barcode Scanners - Barcode Software - Barcode Supplies

    American Microsystems, Ltd. (AML) was founded in 1983 to respond to a need in the marketplace for high performance, easy to use, and affordable bar code and data collection products. Since 1983, AML has helped companies around the globe to increase business efficiency and productivity through innovative, cost-saving barcode and data capture technology.

    AML provides barcode scanners, bar code readers, barcode software (asset tracking, inventory tracking and check-in / check-out software), bar code and RFID label design and printing software, as well as barcode printers (desktop, industrial and portable), bar code printer supplies (labels, receipt paper, tags and ribbons) and other bar code accessories - all from industry leading manufacturers including Honeywell (Metrologic), Datalogic (PSC), Motorola (Symbol), NiceWare (NiceLabel), and more. AML also provides portable handheld data collection terminals, wireless (cordless) hand-held bar code scanners, programmable stationary terminals (fixed, wired or wireless), and vehicle (truck) mount terminals.

    At AML, our mission is to satisfy customer's barcode and data collection needs - always. That's why we stick to basics when it comes to providing customer service and technical support to our customers for their bar code scanning, printing and software requirements. When calling AML, our customers connect immediately with a live customer service representative who is ready to listen and quickly respond to any requirement. Our customer service and technical support teams are highly trained and committed to providing "best in industry" service and support to our customers.

    AML bar code and data collection products are backed by toll-free, friendly support and a 30-day money back guarantee. Shop with ease and confidence at AML with same day shipping (on in-stock items), secure online ordering, and free online product videos and trial software product downloads. AML offers the best in bar code scanning, label printing, and mobile computing - all at great low prices.