Sie sind auf Seite 1von 21

EX NO: DATE:

FOREIGN TRADING SYSTEM AIM:


To analyze, Design and develop code for Foreign trading system using Rational Rose software and Visual Basic 6.0.

PROJECT SCOPE:
The main scope of the project is to provide a exhaustive, flexible and reliable stock maintenance system which would be beneficial for both stock manager and retailer

OBJECTIVE:
The main objective of designing and developing a Foreign trading system is to provide with a system which proves to be manually beneficial i.e., benefits both the buyer and the seller through an broker. The complete activities and the process right from products manufacture till the product gets sold out, every single activity is incorporated in this system.

PROBLEM STATEMENT:
Foreign Trading System is a real time application used in the merchants day to day system. This is a database to store the transaction that takes places between the Buyer seller and the Broker that includes Product selling and buying with reference to the Broker. Here we assume our self as the Broker and proceed with the transaction as follows: 1.The Seller is the producer of the items and it contains the necessary information of the item such as price per item, Date of manufacture, best before use, Number of tem available and their Company Address. 2. The Broker is the secondary source of an Item and he purchases Item from the Seller by requesting the required Item with its corresponding Company Name and the Number of Items required. The Broker is only responsible for distribution of the Item to the Buyer in the Town or City.

3. The Buyer is the one who is prime source for Buying items in the market. The Buyer get Item from the Broker and not directly from the Seller. 4. The Product availability is the database used in our System which records all transactions that takes place between the Broker, the buyer and the Seller. 5. Forex is the system where the buyer or broker pay the money for the product in their own money and it will paid in the form of what the seller cash. 6. Customs is responsible for trading the product all over the world. If they give approval the only we accept to trade.

INFRASTRUCTURE HARDWARE REQUIREMENTS


Processor(256 MHz), RAM (256 MB) SOFTWARE REQUIREMENTS Design Tool : Rational Rose Software Front End: Visual basic 6.0 Back End : MS-Access

FOREIGN TRADING SYSTEM

ABSTRACT
The Foreign trading system is highly unique, because of its distinguished activities and behavior. It sounds to be different, because of its classified nature. It starts right from the Seller of the product and its covers up the entire life cycle till the product as purchased by the Buyer. The maintenance of this Product proves to be challenging as it has many cases to concern. The special cases arise from this Foreign trading system such as handling the damaged and expired stock are appropriately designed to match the needs of the real world. In the existing system all the processing are done manually. These systems will have to maintain the data in a hard file. While searching any data it is too difficult to find those. Maintaining too many data about produce in separate files are too complicated. Similarly, it is too difficult to maintain data for each and every activity. so , the time utilization will be more this manual system. In order to overcome these problems we have to propose the system which overcomes the problem of the existing method. We have proposed a system that would modernize the activities of Foreign trading system. The developed system would perform all the function of the manual system. Using this system we can save time and the operation will be performed with ease comparatively.

USE CASE DIAGRAM

Broker Willingness & get price

Notification and fix price

Deliver goods Get product Updation and Validation

Customs

Buyer Database

Pay & payment

Send goods

Pay(Rupees) Seller Forex Payment

Validating price

Consumers bank Market Value

ACTIVITY DIAGRAM FOR PRODUCT AVAILABILITY

ACTIVITY DIAGRAM TO GET MARKET PRICE OF THE PRODUCT

ACTIVITY DIAGRAM FOR TRADING A PRODUCT:

SEQUENCE DIAGRAM

Buyer

Forex willingness to buy

Broker

Database

Seller

Customs

Consumer bank

availability of goods product available

seller getting market value responding responding responding

verifying market value

market value is given for conversion initial payment conversion

payment for goods certification of goods

delivery of goods goods delivery

updation

updated

COLLABORATION DIAGRAM

CLASS DIAGRAM

Database product_id : int product_name : string Maintianence ph_no : int * * number : integer

Broker cash : Integer product _id : String product_name : String trade() 1

1 * Pay & paymant Forex currency_name : String amount : Integer Conversion() 1 Get cash

Send to Buyers product_id : String product_name : String 1 agency_name : String Customs agency_name : char product_name : char product_id : int check() Verify price Get Price * Send * ordered() 1

Pay(rupees)

1 Seller product_name : string agency_name : string cash : int product_id send()

* consumer bank product_id : String product_name : String getpd_id()

COMPONENT DIAGRAM

STATECHART DIAGRAM

State

Product ordering

Take order

Event

product checking

enter product ID

product DB

Not available

check for another product

Available Transition deliver the product

DEPLOYMENT DIAGRAM

Application Server

Employee

Database

Printer Client 1 Client 2 Client 3

PACKAGE DIAGRAM

Entity Query Solution

Boundaries Product_Details DB

Control BPO Customr

IMPLEMENTATION IN VISUAL BASIC PRODUCT AVAILABILITY Private Sub Search () Dim a As Broker Set a = New Broker a.trade End Sub

CLASS BROKER
Option Explicit '##ModelId=4D393B3800EA Public product_id As String '##ModelId=4D6B62C0032C Public product_name As String '##ModelId=4D393B9B03D8 Public Sub trade () If Form1.Text1.Text = Form1.Data1.Recordset.Fields (0) Then If Form1.Text2.Text = Form1.Data1.Recordset.Fields (1) Then Form2.Text1.Text = Form1.Data1.Recordset.Fields (0) Form2.Text1.Text = Form1.Data1.Recordset.Fields (1) Form2.Text1.Text = Form1.Data1.Recordset.Fields (2) Form2.Text1.Text = Form1.Data1.Recordset.Fields (3) Else Msgbox (try later) End If End If End Sub

CLASS DATABASE
Option Explicit '##ModelId=4D393C27008C Public product_id As String '##ModelId=4D393C3A01D4 Public product_name As String '##ModelId=4D39502103B9 Public ph_no As Integer '##ModelId=4D4FA79B038A Public number As Integer

CURRENCY CONVERSION
Private Sub Search () Dim a As Forex

Set a = New Forex a.conversion End Sub

CLASS BROKER
Option Explicit '##ModelId=4D393B3800EA Public product_id As String '##ModelId=4D6B62C0032C Public currency_name As String ##ModelId=4D39502103B9 Public amount As Integer

CLASS FOREX
Option Explicit '##ModelId=4D393C27008C Public currency_name As String '##ModelId=4D393C3A01D4 Public amount As Integer '##ModelId=4D4FA79B038A Public price As Integer '##ModelId=4D393B9B03D8 Public Sub Conversion() If Form1.Text1.Text = Form1.Data1.Recordset.Fields (0) Then Form2.Text1.Text = Form1.Data1.Recordset.Fields (0) Form2.Text2.Text=Val(Form1.Data1.Recordset.Fields(1)*Val(Form1.Text2.Text) Msgbox (try later) End If End If End Sub

GET MARKET PRICE


Private Sub Search () Dim a As Seller Set a = New Seller a.getpd_id End Sub

CLASS SELLER
Option Explicit '##ModelId=4D393B3800EA Public product_id As String '##ModelId=4D6B62C0032C Public product_name As String '##ModelId=4D393C3A01D4 Public price As Intiger '##ModelId=4D393B9B03D8 Public Sub getpd_id () If Form1.Text1.Text = Form1.Data1.Recordset.Fields (0) Then If Form1.Text2.Text = Form1.Data1.Recordset.Fields (1) Then Form2.Text1.Text = Form1.Data1.Recordset.Fields (0) Form2.Text1.Text = Form1.Data1.Recordset.Fields (1) Form2.Text1.Text = Form1.Data1.Recordset.Fields (2) Else Msgbox (Try After Some Time) End If End If End Sub CLASS CONSUMER_BANK Option Explicit '##ModelId=4D393C27008C Public product_id As String '##ModelId=4D393C3A01D4 Public product_name As String '##ModelId=4D39502103B9 Public price As Integer

OUTPUT PRODUCT AVAILABILITY

GET MARKET PRICE

CURRENCY CONVERSION

RESULT: Thus the Foreign Trading System is done using Rational Rose Software and code implemented by Visual Basic 6.0.

Das könnte Ihnen auch gefallen