Invoice new

From Catglobe Wiki
Revision as of 08:26, 2 January 2018 by Nguyenduyan (talk | contribs)
Jump to: navigation, search



Invoice_new

Syntax

Invoice_new (string invoiceName, number parentResourceId, number eraningUserRId, DateTime invoiceDate, DateTime dueDate, number templateInvoiceRId);

Arguments

string invoiceName

number parentResourceId

number eraningUserRId

DateTime invoiceDate

DateTime dueDate

number templateInvoiceRId

Return type

Array of Invoice object


Index

Data type

Value

GROUP_RESOURCE_ID

number

Resource id of the group

GROUP_NAME

string

Name of the group

GROUP_TEMPLATE_RESOURCE_ID

number

Group template's resource id

GROUP_PARENT_RESOURCE_ID

number

Parent's resource id

GROUP_TIME_REGISTRATION

bool

If time registration is allowed on the group

GROUP_MAN_HOURS

number

The budget time for the group

GROUP_CALCULATED_MAN_HOURS

bool

If the budget time is calculated based on time set in Team tab

GROUP_RULES

array

Group rules array

Example

//{30,0,test,11088827,2111,False,1,0,0,Empty,10768810,,{2018,1,2,0,0,0,0,1,65},{2018,1,2,0,0,0,0,1,65},{1,1,1,0,0,0,0,1,65},{1,1,1,7,0,0,0,1,65},{},0}