0% found this document useful (0 votes)
65 views34 pages

Business Logic

Here are 3 examples of how business logic is applied in different industries: 1. Retail stores use business logic in their point-of-sale systems. The logic ensures items are correctly priced and applies discounts, tracks inventory levels, and generates reports on sales metrics to inform merchandising decisions. 2. Banks use business logic for tasks like processing loan applications, calculating interest, and performing transactions. The logic enforces rules for eligibility, manages accounts and balances, and detects and prevents fraud. 3. Healthcare organizations rely on business logic in electronic medical record systems. The logic structures clinical workflows, controls access to sensitive data, supports billing and insurance processing, and enables data analysis for quality improvement.

Uploaded by

davidkecelyn06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views34 pages

Business Logic

Here are 3 examples of how business logic is applied in different industries: 1. Retail stores use business logic in their point-of-sale systems. The logic ensures items are correctly priced and applies discounts, tracks inventory levels, and generates reports on sales metrics to inform merchandising decisions. 2. Banks use business logic for tasks like processing loan applications, calculating interest, and performing transactions. The logic enforces rules for eligibility, manages accounts and balances, and detects and prevents fraud. 3. Healthcare organizations rely on business logic in electronic medical record systems. The logic structures clinical workflows, controls access to sensitive data, supports billing and insurance processing, and enables data analysis for quality improvement.

Uploaded by

davidkecelyn06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Welcome to

Business Logic
Class
by: EJ Zabat- Tubil
Business logic

COURSE is to help students/ participants


understand and apply the fundamental
Objective rules and processes that govern how
businesses operate within the context of
software development
Chapter 1: Introduction to
business logic
Chapter 2: Freshbook
Chapter 3: Cloudbooks
Chapter 4: GNUCASH
Chapter 5: ZOHO
Chapter 6: QUICKBOOKS
Chapter 7: ZERO
Chapter 9: SLIKPIE
Chapter 1: Introduction to
business logic
KEY TERMS TO LEARN BUSINESS LOGIC

Database: This describes categorized sets of data


stored on a computer's hard drive, often using
specialized software. Employees use databases to
access business logic for work objectives.

Data management software: This describes software


you can use to manage data from multiple databases.
It also transforms data into more accessible formats
for non-technical employees to use.
KEY TERMS TO LEARN BUSINESS LOGIC

Workflow: A word describing the steps required to


complete an action using data. Business logic workflows
allow employees to perform a specific procedure, like
compiling different products a customer purchases.

Trigger: This word describes code in a workflow that


generates after one event in a workflow. For example,
clicking on a person's name in payroll software might
trigger their payment information to appear on the
screen.
WHAT IS THE
PURPOSE OF
BUSINESS LOGIC?
Business logic allows a company to manage and
access large quantities of data for daily work efforts
and practices. It translates company protocols into
usable data for computer systems so employees can
track important tasks and update information. A
company may require business logic to better ensure
any daily tasks involving multiple categories of data
can remain operational and efficient.
WHAT ARE THE
COMPONENTS OF
BUSINESS LOGIC?
DATA CONSISTENCY
Data consistency refers to data a person enters according
to business logic guidelines and matches other
information in a database. When data is consistent, then
employees can accomplish workflows and more easily
view the same information. For example, consider an
employee entering customer information into a form
using internal software. To maintain data consistency, the
form allows an employee to only input specific
information using a certain format, such as number
values when entering a birth date or phone number.
PARTICIPANT CONTROL
Participant control refers to how a database determines
which employees see certain lines of data according to
business logic guidelines. It's important for business logic
to determine useful information for certain employees to
view so they can streamline their interactions with a
computer system. For example, business logic workflows
might allow a sales manager to view data columns
regarding sales quotas for all people in a company, while
a retail staff member can only see data regarding their
own sales quota.
MODIFICATION CHECK
Similar to participant control, a modification check refers to
how a database determines which employees can alter certain
lines of data. Some data might be critical to the everyday
operations of a company, so it's important for business logic to
outline which users can enact larger adjustments. For example,
consider a company adhering to legal requirements about
what personnel information they're able to store. Business
logic workflows might only allow staff from a human
resources department to alter data for personnel files, as their
training requires them to understand those regulations.
EXAMPLES
OF
BUSINESS LOGIC
DATA FLOW
A data flow determines how a database processes and
filters information when a user performs an action. It
also determines which events need to happen for
another event to occur. To create a data flow, you
typically define the cause-and-effect relationships
between lines of data and account for the different
ways a user can perform that action. For example, a
data flow might outline the steps required for a person
to log in to a website, including username information,
a password and an additional security question.
DATA VALIDATION

Data validation describes a careful process of


maintaining accurate and high-quality data. To use
data validation in your business logic, you can
create a testing procedure within a database
program to better ensure people can input the
right data in the proper location. For example, data
validation can determine whether a person inputs
the correct spelling and format of street address
data.
HERE ARE SOME COMMON TYPES
OF DATA VALIDATION CHECKS:

Data type check: Inspects if an inputted line of data


reflects a correct classification, like text versus
numerical data
Length check: Reviews whether the inputted data
has the correct amount of information, including
whether it's too long for a certain bracket
Range check: Observes if number data fits within a
pre-determined scope of numbers and integers, like
10 to 100
HERE ARE SOME COMMON TYPES
OF DATA VALIDATION CHECKS:

Data order check: To determine if the inputted data


reflects a logical order, like a package delivery date
recorded after a customer ordered the time it carries

Uniqueness check: For observing whether a person


inputs the same line of data twice into the same
program, which might cause certain errors to appear
DATABASE TRANSACTION

Database transaction describes procedures for


changing data from one state to another. It's
important to write database transactions for
business logic because it allows you to adjust large
quantities of data accurately, which can affect
multiple areas of a company's daily operations.
PROPERTIESDATABASE TRANSACTION

A - Automicity
C - Consistency
I - Isolation
D - Durable
DATA TRANSFORMATION

Data transformation describes the rules for


changing a section of data's format or
structure. It can involve adding lines of
data, combining sections or reproducing
them in another type of database
altogether.
DATA CALCULATION

Data calculation is the process of


combining numerical data to create an
amount to use for multiple applications,
including production costs. Companies
typically use specific digital tools to
calculate numerical data accurately and
interpret it for its intended purpose.
DATA NOTIFICATION

Data notifications describe the windows


that appear when a person accesses
certain data or performs a workflow.
People who write business logic can
include notifications so employees can
better understand what information in a
database to focus on
THE
END !
LET’S
DO THE
ACTIVITY!
1. the role of business logic in decision-
making and how it influences
organizational processes.
2. Give real world examples of how business
logic is applied in different industries

You might also like