Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a text-based transaction program for recording stock levels in a warehouse. A transaction is either an import, an export, or wastage (e.g., when

  

Write a text-based transaction program for recording stock levels in a warehouse. A transaction is either an import, an export, or wastage (e.g., when stock falls off a shelf and breaks) of items, and consists of the item name, item type, number of items, and, if applicable, the importer/exporter name. Item type can be freely chosen by whoever uses the application. The program should have the following features: Users will be able to record ingoing and outgoing deliveries (imports and exports) as well as wastage. Users will further be able to list all transactions and all transaction data, optionally filtered by transaction type (import, export, wastage) or item type, and/or sorted by item numbers, or importer/exporter name. Users will also be able to search transactions by importerlexporter name, item type, or item name. Last but not least, users will be able to query the total current stock. The program should have explanatory text as necessary and handle input errors etc. gracefully. Implement application features in a command processing style. For example, incoming and outgoing deliveries might be recorded via commands such as import 100 "iPhone" "electronics" "Apple, Inc." for recording the incoming delivery of 100 iPhones from Apple, withdraw 50 "iPhone" "Supersale Electronics Ltd." for logging the outgoing delivery of 50 iPhones to Supersale Electronics Ltd., search "iPhone" for listing all transactions of iPhones, list to see all transactions, or list filter "wastage+electronics" for listing all wastage of electronics items.

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

Answers Online business is that the great deals impetus these days for a few wholesalers Online business is definitely not a pristine business technique in any case its participating in a gigantic job ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intermediate Accounting

Authors: Donald E. Kieso, Jerry J. Weygandt, And Terry D. Warfield

13th Edition

9780470374948, 470423684, 470374942, 978-0470423684

More Books

Students also viewed these Accounting questions

Question

Find the investors expected profit.

Answered: 1 week ago