0% found this document useful (0 votes)
147 views9 pages

Stock Managenment.: Use Case Diagram

The document contains UML diagrams describing a stock management system. The use case diagram shows item details, stock details, dealer, customer, billing, and shop owner interacting. Sequence diagrams show the interactions between database, item details, and account manager when retrieving, supplying, and saving stock details. Collaboration diagrams show the interactions between these components. Additional diagrams model billing, instock processes, and item details management. An activity diagram shows the login and main processes. A class diagram outlines key classes like login, item details, stock details, and account maintenance.

Uploaded by

Gautam Krishnan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views9 pages

Stock Managenment.: Use Case Diagram

The document contains UML diagrams describing a stock management system. The use case diagram shows item details, stock details, dealer, customer, billing, and shop owner interacting. Sequence diagrams show the interactions between database, item details, and account manager when retrieving, supplying, and saving stock details. Collaboration diagrams show the interactions between these components. Additional diagrams model billing, instock processes, and item details management. An activity diagram shows the login and main processes. A class diagram outlines key classes like login, item details, stock details, and account maintenance.

Uploaded by

Gautam Krishnan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

STOCK MANAGENMENT.

USE CASE DIAGRAM

include
item code,name

Item Details

Dealer Stock Details

Customer

Billing

Shop-owner Acc-manager
Instock

Acc maintenance
SEQUENCE DIAGRAM
ACCOUNTMANAGEMENT

databas e item details acc-manager

gives item code

retrieve from db

s upply details

check s tock details

compute profit

load into databas e

COLLABORATION DIAGRAM
ACCOUNT MANAGEMENT

2: retrieve from db
item databas e
details

3: s upply details 6: load into databas e

5: com pute profit


1: gives item code 4: check s tock details

acc-manag
er
SEQUENCE DIAGRAM
BILLING

dealer s hop-owner product

deal s with

gi ves prod details

check val idity

COLLABORATION DIAGRAM
BILLING

3: check validity

1: deals with
dealer shop-owne
r

2: gives prod details

product
SEQUENCE DIAGRAM
INSTOCK

database acc-manager item details

get prod detail

supply details

save details

COLLABORATION DIAGRAM
INSTOCK

database acc-manag
er
3: save details

2: supply details 1: get prod detail

item
details
SEQUENCE DIAGRAM
ITEM DETAILS

stock details data bas e

item details

no of items in stock

no of items sold

COLLABORATION DIAGRAM
ITEM DETAILS
1: item details
stock data base
details
2: no of items in stock
3: no of items sold

SEQUENCE DIAGRAM
STOCK

data base items acc-manager

request item details

retrieves stock details

supplies stock details

calculates profit or loss

stores details

COLLABORATION DIAGRAM
STOCK
4: calculates profit or los s

3: s upplies s tock details


data bas e acc-m anag
er
1: reques t item details
5: s tores details

2: retrieves s tock details

item s

ACTIVITY DIAGRAM
get the username
and password

relogin shop-owner relogin acc-manager

do shop-owner do acc-manager
login login

view details profit instock maintains


calculation details

item code billing details enter item item details


details

item nam e item sold no of items code

item price update item name

items instock

do close

CLASS DIAGRAM
log in item details
username code
password name

validity() stock_bought()
update()

stock details
code billing
name code
name
total() selling price
sold()
bought() total()
remaining() sold()

acc maintenance
code
name
in stock
total
code selling price
name
cost price profit()
remaining()
items bought() sold()
bought()

You might also like