Click here to Skip to main content
15,911,646 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:43
professionalBillWoodruff1-Jan-12 21:43 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
jschell2-Jan-12 11:09
jschell2-Jan-12 11:09 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff2-Jan-12 15:26
professionalBillWoodruff2-Jan-12 15:26 
Questionhow to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi29-Dec-11 5:48
Omar Rwemi29-Dec-11 5:48 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
jschell29-Dec-11 14:22
jschell29-Dec-11 14:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Eddy Vluggen30-Dec-11 9:33
professionalEddy Vluggen30-Dec-11 9:33 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Roger Wright31-Dec-11 16:34
professionalRoger Wright31-Dec-11 16:34 
GeneralRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Patrick Harris20-Feb-12 18:02
Patrick Harris20-Feb-12 18:02 
Very good point, and you are correct. I've programmed POS systems for years. We used what we called an "alias" table for this. Ideally, you will store a system generated unique ID for your product in an items or products table. Then you will supply both a module and an import function to maintain your alias table for storing keyed values associated with your products.

ie:
CREATE TABLE ALIASES(
ID INTEGER IDENTITY(1,1) NOT NULL,
ALIAS NVARCHAR(50) NOT NULL,
XREF_ID INTEGER NOT NULL,
ALIAS_TYPE INTEGER NOT NULL,
DESCRIPTION NVARCHAR(100))

Note I used "XREF_ID" rather than a PRODUCT_ID. Keep in mind this table can be used for more than products. For instance, you may want to store aliases for customers, or vendors, or any other things people will look up stuff with. This is where the ALIAS_TYPE comes into play. These types can be maintained by a maintenance module associated with an ALIAS_TYPES table. This allows for dynamic growth of the system and modularization of your cross references.

I used an IDENTITY field for simplicity. But as Roger noted, it is probably better to use a GUID or some other form of unique value (i.e. STORE_NO + '-' + IDENTITY).

Getting back to the "Barcode" topic... you can store your Barcodes / UPC Codes / Model IDs / whatever in this ALIASES table and give them an appropriate type for searching on.

modified 6-Mar-12 0:36am.

AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi1-Jan-12 3:22
Omar Rwemi1-Jan-12 3:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Shameel2-Jan-12 2:26
professionalShameel2-Jan-12 2:26 
GeneralRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Mycroft Holmes2-Jan-12 17:06
professionalMycroft Holmes2-Jan-12 17:06 
Questionlicense viruses database for antivirus module in security tool. Pin
Ram Shmider28-Dec-11 21:18
Ram Shmider28-Dec-11 21:18 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Luc Pattyn28-Dec-11 23:40
sitebuilderLuc Pattyn28-Dec-11 23:40 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider28-Dec-11 23:48
Ram Shmider28-Dec-11 23:48 
GeneralRe: license viruses database for antivirus module in security tool. Pin
DaveAuld30-Dec-11 22:06
professionalDaveAuld30-Dec-11 22:06 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Richard MacCutchan28-Dec-11 23:55
mveRichard MacCutchan28-Dec-11 23:55 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider29-Dec-11 0:19
Ram Shmider29-Dec-11 0:19 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Eddy Vluggen30-Dec-11 9:31
professionalEddy Vluggen30-Dec-11 9:31 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider30-Dec-11 21:17
Ram Shmider30-Dec-11 21:17 
QuestionHow to make sure records were not temper changed Pin
songbo0726-Dec-11 21:37
songbo0726-Dec-11 21:37 
AnswerRe: How to make sure records were not temper changed Pin
Tanveer A26-Dec-11 22:05
Tanveer A26-Dec-11 22:05 
GeneralRe: How to make sure records were not temper changed Pin
songbo0727-Dec-11 20:27
songbo0727-Dec-11 20:27 
AnswerRe: How to make sure records were not temper changed Pin
Eddy Vluggen27-Dec-11 8:52
professionalEddy Vluggen27-Dec-11 8:52 
GeneralRe: How to make sure records were not temper changed Pin
songbo0727-Dec-11 20:34
songbo0727-Dec-11 20:34 
AnswerRe: How to make sure records were not temper changed Pin
Eddy Vluggen28-Dec-11 5:44
professionalEddy Vluggen28-Dec-11 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.