Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User addUserHourlyCost: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:User_Functions]]

{{HelpFiles}}


====User_addUserHourlyCost====
====User_addUserHourlyCost====
Line 9: Line 9:


User_addUserHourlyCost (number userResourceId, array userHourlyCost)
User_addUserHourlyCost (number userResourceId, array userHourlyCost)
'''Return value'''
emty


'''Arguments'''
'''Arguments'''
Line 44: Line 48:
| style="border: 1px solid #010101" width="356" |
| style="border: 1px solid #010101" width="356" |
User's hourly cost value
User's hourly cost value
 
|}
'''Return value'''
 
emty


'''Example'''
'''Example'''

Latest revision as of 04:18, 22 December 2011



User_addUserHourlyCost

Add new user's hourly cost

Syntax

User_addUserHourlyCost (number userResourceId, array userHourlyCost)

Return value

emty

Arguments

  • userResourceId: is a number expression. It is the user's resource id
  • userHourlyCost : is an array in which:

Index

Data type

Value

USER_HOURLY_COST_START_DATE

array

User's hourly cost start date object array (with time zone is user's time zone)

USER_HOURLY_COST_END_DATE

array

User's hourly cost end date object array (with time zone is user's time zone)

USER_HOURLY_COST_VALUE

number

User's hourly cost value

Example

number userResourceId = 34780089;

array userHourlyCosts = {{2009,7,27,0,0,0,0,31,40} , {2009,8,27,0,0,0,0,35,40},2.3};

User_addUserHourlyCost(userResourceId,userHourlyCosts);

print(User_getUserHourlyCosts(userResourceId));

Availability

Version 5.7