mx.services
part
Manages parts and their properties
Method Summary
| remote | numeric |
getLaborCost ()
|
| remote | query |
getPartDetail (numeric PART_ID)
|
| remote | string |
getPartInStock (numeric PART_ID)
|
| remote | any |
getParts ()
|
Method Details
getLaborCost
remote numeric getLaborCost ()
Gets the cost of labor. This is called only once from the Flash movie.
- Returns
- the cost of one hour of labor
getPartDetail
remote query getPartDetail (numeric PART_ID)
Gets the part detail. This will be displayed if someone clicks on a part from the parts tree.
- Parameters
PART_ID- unique id of the part (int)
- Returns
- a query of one row containing the detail of the part
getPartInStock
remote string getPartInStock (numeric PART_ID)
Gets the in stock date of the part
- Parameters
PART_ID- unique id of the part (int)
- Returns
- the date the part will be in stock
getParts
remote any getParts ()
Gets all of the parts in xml form
- Returns
- an xml object containing all the parts. Categories and parts are in alphabetic order