473,657 Members | 2,486 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

different rates for diffrent categories

Hello all,

I have just created a database (partially) which will bill customers for
work done. However I am stuck when it is comes to different rates for
different works.

REQUIRED: What I intent to have is a form in which I will enter the customer
order no: and then in the subform choose the work done and then based on the
work input calculate the rates and have it billed to the customer. I have no
idea on how to have the rates calculated based on the type of work done and
the number of days.

The fields which will be filled are 'Type Of work' done , also SubCategory
...such as whether ....'new job'; 'edit an old job', 'destroy a job done',
'get help from outside' etc ....for each of these there are different rates.
New job for first day free and later on charged ....similarly editing job
chargable at a single rate for the first day ..then at a particular rate for
the next day.....destroy job done based on the days worked and no of
employees worked at constant rate.....Extern al help done charges. Each
customer bill may also have all of the categories embedded in it.

Bill 100
-------
If work done for CustomerA is new job and for one day then charge A 120$.
Also, work done is Edit job then charge XX based on number of days...etc
Total invoice == Sum of all this.

Please help me out and do let me know if you are having any problems in
understanding.

Regards,
Z
Nov 13 '05 #1
1 1332
The key here is in your statement "....differ ent rates for different works".
You need to build tables to model this statement. But first you need to
analyze exactly what you are saying here. If there multiple works and any
work can have its own rate, albeit a single rate for that work, then you
need to include the rate in your Works table. Such as:
TblWork
WorkID
WorkDesc
Rate
If there are multiple works and any work may have multiple rates, you have a
one-to-many relationship and you need a separate work and rate tables such
as:

TblWork
WorkID
WorkDesc

TblRate
RateID
WorkID
<Something here to distinguish one rate from another for the same work>
Rate
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com

"Zurghew" <An******@avoid spam.please> wrote in message
news:co******** *@news-dxb.emirates.ne t.ae...
Hello all,

I have just created a database (partially) which will bill customers for
work done. However I am stuck when it is comes to different rates for
different works.

REQUIRED: What I intent to have is a form in which I will enter the customer order no: and then in the subform choose the work done and then based on the work input calculate the rates and have it billed to the customer. I have no idea on how to have the rates calculated based on the type of work done and the number of days.

The fields which will be filled are 'Type Of work' done , also SubCategory ..such as whether ....'new job'; 'edit an old job', 'destroy a job done',
'get help from outside' etc ....for each of these there are different rates. New job for first day free and later on charged ....similarly editing job
chargable at a single rate for the first day ..then at a particular rate for the next day.....destroy job done based on the days worked and no of
employees worked at constant rate.....Extern al help done charges. Each
customer bill may also have all of the categories embedded in it.

Bill 100
-------
If work done for CustomerA is new job and for one day then charge A 120$.
Also, work done is Edit job then charge XX based on number of days...etc
Total invoice == Sum of all this.

Please help me out and do let me know if you are having any problems in
understanding.

Regards,
Z

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1599
by: Eddie | last post by:
Hi to all I am building a database to track project expenses information. My database has 4 main tables, Employees, Activity, project info and rates. We add a project and track activities on the project. Each employee will add an activity on a certain date. What I need to do is check the date the activity was added and then check what the rate is that employee was paid during that period.
5
1701
by: Eddie | last post by:
I have an Access database that tracks project information. The database is very simple, except for 1 small aspect. Some background: 4 Tables - Project information, Employees, activity and pay rates. The user will add an activity to a project. The activity will take place on a date, so they will enter the date it took place and the hours worked. The problem is that the employee might get an increase during the project, which will need...
0
1136
by: Zurghew | last post by:
Hi all, Second post please please help me here. I need to have a form which will allow me to select a particular type of service through a combo box and based on that value choose another subcategory and based on that subcategory choose another subcategory and then according to the item selected store the rates in the table transaction. Also some of the servie do not have subcategories i.e; just choosing the service will give a rate.
1
2622
by: Bruce | last post by:
Hi, there, I meet a problem about comboBox binding. -------------------- Database: Northwind Tables: 1) Products 2) Categories I create a form (named "form1") to edit the record from Products table.
2
2027
by: Chad Richardson | last post by:
I would like a single SQL to return all employee's total billable compensation for a year. Their billable rates change throughout the year so under the employee table (one), there is a compensation table (to many) which has the employee id, effective date, billable hourly rate. So in a given year calendar year they could have many different (though usually 2 at most) rates. These rates then have to correspond to and e multiplied by their...
0
1297
by: Udi | last post by:
Hi All, I have several types of messages that I need to log to several files (a.log, b.log and c.log). In addition, there's an additional "dirty" log file (Main.log) that collects all types of messages. Say I have several categories that each has several sinks (e,g, - a.log and Main.log) One of those sinks is the (same) file - Main.log, and it is included in all categories.
3
2724
by: milam | last post by:
Greetings, I would like to use a query result as a column name in another query, I can't seem to get this to work using Subqueries. Is there a good way to do this? Example: Table "Employees": Name Title
7
1768
by: Michel Couche | last post by:
Hello, I am working on a project for a potential customer. The project will basically involve an ASP.Net 2.0 application and a database (ideally MS SQL). The customer has already a hosting plan but it does not currently include a MS SQL database. This option is offered as a rather expensive add-on (600 US $ /year). If we need cost saving, I could offer to set-up a MS SQL 2005 DB on my own
46
4347
by: Phil Reynolds | last post by:
I have Access 2000 and 2003 on my development machine. My client only has Access 2000. When I develop for this client, I run Access 2000. However, my code requires that I have the Microsoft Word Object Library and Microsoft Outlook Object Library listed in References. As I result, on my machine they're listed as version 11.0, and then, when I upload the file, they show as missing. So I have to go through the steps of removing the...
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.