Question: Database Assignment: Based on the POS & Stock Controller system shown below, design an appropriate ER diagram that reflects the specified system and then extract
Database Assignment: Based on the POS & Stock Controller system shown below, design an appropriate ER diagram that reflects the specified system and then extract the mapped tables showing them as flat tables.A PointofSale & Stock Controller System is an information system primarily used to monitor the sales and stock activities of a company.In the POS & Stock Controller System it is possible to have the following entities:ProductProduct CategoryProduct UnitSalesInvoiceReceive ProductCustomerSupplierPurchase OrderUserThe possible relationships between them can be as follows:The user determines the products to NThe user can handle multiple invoices to NThe user can manage the receiving transactions to NThe user can process the purchase order transactions to NProduct belongs to a certain category N to Product has multiple product units to NProduct has multiple receiving transactions to NProduct is also included in the purchase order transaction to NPurchase order will be forwarded to the supplier NThe supplier will supply the requested products to NProduct is included in multiple sales to NSales produce an invoice to NAn invoice is given to the customer to NThe last part of the ERD process is to add attributes to the entities as follows:Product Entity has the following attributes:Product ID primary key represented with underlineCodeNameUnit PriceUnit in StockDiscount PercentageReOrdervelCategory ID foreign keyUnit ID foreign keyUser ID foreign keyProduct Category Entity has the following attributes:Category ID primary key represented with underlineNameProduct Unit Entity has the following attributes:Unit ID primary key represented with underlineNameSales Entity has the following attributes:Sales ID primary key represented with underlineInvoice ID foreign keyProduct ID foreign keyQuantityUnit PriceSub TotalInvoice Entity has the following attributes:Invoice ID primary key represented with underlineCustomer ID foreign keyTotal AmountAmount TenderedPayment TypeBank Account NameBank Account NumberDate RecordedUser ID foreign keyReceive Product Entity has the following attributes:Receive Product ID primary key represented with underlineProduct ID foreign keyQuantityUnit PriceSub TotalReceived DateSupplier ID foreign keyUser ID foreign key Customer Entity has the following attributes:Customer ID primary key represented with underlineCodeNameContact AddressSupplier Entity has the following attributes:Supplier ID primary key represented with underlineCodeNameContactEmailAddressPurchase Order Entity has the following attributes:Purchase Order ID primary key represented with underlineProduct ID foreign keyQuantityUnit PriceSub TotalOrder DateSupplier ID foreign keyUser ID foreign keyUser Entity has the following attributes:User ID primary key represented with underlineFullname FirstName MiddleName, LastNameContactDesignationAccount TypeUsernamePassword
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
