class InvoiceLineCreate extends AbstractInvoiceLine

Create a new accounts receivable invoice line record

Traits

Methods

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

string
getAccountLabel()

Get account label

setAccountLabel(string $accountLabel)

Set account label

string
getGlAccountNumber()

Get GL account number

setGlAccountNumber(string $glAccountNumber)

Set GL account number

string
getOffsetGLAccountNumber()

Get offset GL account number

setOffsetGLAccountNumber(string $offsetGLAccountNumber)

Set offset GL account number

float|string
getTransactionAmount()

Get transaction amount

setTransactionAmount(float|string $transactionAmount)

Set transaction amount

string
getAllocationId()

Get allocation ID

setAllocationId(string $allocationId)

Set allocation ID

string
getMemo()

Get memo

setMemo(string $memo)

Set memo

string
getKey()

Get key

setKey(string $key)

Set key

float|string
getTotalPaid()

Get total paid

setTotalPaid(float|string $totalPaid)

Set total paid

float|string
getTotalDue()

Get total due

setTotalDue(float|string $totalDue)

Set total due

string
getRevRecTemplateId()

Get revenue recognition template ID

setRevRecTemplateId(string $revRecTemplateId)

Set revenue recognition template ID

string
getDeferredRevGlAccountNo()

Get deferred revenue GL account number

setDeferredRevGlAccountNo(string $deferredRevGlAccountNo)

Set deferred revenue GL account number

getRevRecStartDate()

Get revenue recognition start date

setRevRecStartDate(DateType $revRecStartDate)

Set revenue recognition start date

getRevRecEndDate()

Get revenue recognition end date

setRevRecEndDate(DateType $revRecEndDate)

Set revenue recognition end date

string
getDepartmentId()

Get department ID

setDepartmentId(string $departmentId)

Set department ID

string
getLocationId()

Get location ID

setLocationId(string $locationId)

Set location ID

string
getProjectId()

Get project ID

setProjectId(string $projectId)

Set project ID

string
getCustomerId()

Get customer ID

setCustomerId(string $customerId)

Set customer ID

string
getVendorId()

Get vendor ID

setVendorId(string $vendorId)

Set vendor ID

string
getEmployeeId()

Get employee ID

setEmployeeId(string $employeeId)

Set employee ID

string
getItemId()

Get item ID

setItemId(string $itemId)

Set item ID

string
getClassId()

Get class ID

setClassId(string $classId)

Set class ID

string
getContractId()

Get contract ID

setContractId(string $contractId)

Set contract ID

string
getWarehouseId()

Get warehouse ID

setWarehouseId(string $warehouseId)

Set warehouse ID

writeXml(XMLWriter $xml)

Write the lineitem block XML

Details

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractInvoiceLine at line line 103
string getAccountLabel()

Get account label

Return Value

string

in AbstractInvoiceLine at line line 113
setAccountLabel(string $accountLabel)

Set account label

Parameters

string $accountLabel

in AbstractInvoiceLine at line line 123
string getGlAccountNumber()

Get GL account number

Return Value

string

in AbstractInvoiceLine at line line 133
setGlAccountNumber(string $glAccountNumber)

Set GL account number

Parameters

string $glAccountNumber

in AbstractInvoiceLine at line line 143
string getOffsetGLAccountNumber()

Get offset GL account number

Return Value

string

in AbstractInvoiceLine at line line 153
setOffsetGLAccountNumber(string $offsetGLAccountNumber)

Set offset GL account number

Parameters

string $offsetGLAccountNumber

in AbstractInvoiceLine at line line 163
float|string getTransactionAmount()

Get transaction amount

Return Value

float|string

in AbstractInvoiceLine at line line 173
setTransactionAmount(float|string $transactionAmount)

Set transaction amount

Parameters

float|string $transactionAmount

in AbstractInvoiceLine at line line 183
string getAllocationId()

Get allocation ID

Return Value

string

in AbstractInvoiceLine at line line 193
setAllocationId(string $allocationId)

Set allocation ID

Parameters

string $allocationId

in AbstractInvoiceLine at line line 203
string getMemo()

Get memo

Return Value

string

in AbstractInvoiceLine at line line 213
setMemo(string $memo)

Set memo

Parameters

string $memo

in AbstractInvoiceLine at line line 223
string getKey()

Get key

Return Value

string

in AbstractInvoiceLine at line line 233
setKey(string $key)

Set key

Parameters

string $key

in AbstractInvoiceLine at line line 243
float|string getTotalPaid()

Get total paid

Return Value

float|string

in AbstractInvoiceLine at line line 253
setTotalPaid(float|string $totalPaid)

Set total paid

Parameters

float|string $totalPaid

in AbstractInvoiceLine at line line 263
float|string getTotalDue()

Get total due

Return Value

float|string

in AbstractInvoiceLine at line line 273
setTotalDue(float|string $totalDue)

Set total due

Parameters

float|string $totalDue

in AbstractInvoiceLine at line line 283
string getRevRecTemplateId()

Get revenue recognition template ID

Return Value

string

in AbstractInvoiceLine at line line 293
setRevRecTemplateId(string $revRecTemplateId)

Set revenue recognition template ID

Parameters

string $revRecTemplateId

in AbstractInvoiceLine at line line 303
string getDeferredRevGlAccountNo()

Get deferred revenue GL account number

Return Value

string

in AbstractInvoiceLine at line line 313
setDeferredRevGlAccountNo(string $deferredRevGlAccountNo)

Set deferred revenue GL account number

Parameters

string $deferredRevGlAccountNo

in AbstractInvoiceLine at line line 323
DateType getRevRecStartDate()

Get revenue recognition start date

Return Value

DateType

in AbstractInvoiceLine at line line 333
setRevRecStartDate(DateType $revRecStartDate)

Set revenue recognition start date

Parameters

DateType $revRecStartDate

in AbstractInvoiceLine at line line 343
DateType getRevRecEndDate()

Get revenue recognition end date

Return Value

DateType

in AbstractInvoiceLine at line line 353
setRevRecEndDate(DateType $revRecEndDate)

Set revenue recognition end date

Parameters

DateType $revRecEndDate

in AbstractInvoiceLine at line line 363
string getDepartmentId()

Get department ID

Return Value

string

in AbstractInvoiceLine at line line 373
setDepartmentId(string $departmentId)

Set department ID

Parameters

string $departmentId

in AbstractInvoiceLine at line line 383
string getLocationId()

Get location ID

Return Value

string

in AbstractInvoiceLine at line line 393
setLocationId(string $locationId)

Set location ID

Parameters

string $locationId

in AbstractInvoiceLine at line line 403
string getProjectId()

Get project ID

Return Value

string

in AbstractInvoiceLine at line line 413
setProjectId(string $projectId)

Set project ID

Parameters

string $projectId

in AbstractInvoiceLine at line line 423
string getCustomerId()

Get customer ID

Return Value

string

in AbstractInvoiceLine at line line 433
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractInvoiceLine at line line 443
string getVendorId()

Get vendor ID

Return Value

string

in AbstractInvoiceLine at line line 453
setVendorId(string $vendorId)

Set vendor ID

Parameters

string $vendorId

in AbstractInvoiceLine at line line 463
string getEmployeeId()

Get employee ID

Return Value

string

in AbstractInvoiceLine at line line 473
setEmployeeId(string $employeeId)

Set employee ID

Parameters

string $employeeId

in AbstractInvoiceLine at line line 483
string getItemId()

Get item ID

Return Value

string

in AbstractInvoiceLine at line line 493
setItemId(string $itemId)

Set item ID

Parameters

string $itemId

in AbstractInvoiceLine at line line 503
string getClassId()

Get class ID

Return Value

string

in AbstractInvoiceLine at line line 513
setClassId(string $classId)

Set class ID

Parameters

string $classId

in AbstractInvoiceLine at line line 523
string getContractId()

Get contract ID

Return Value

string

in AbstractInvoiceLine at line line 533
setContractId(string $contractId)

Set contract ID

Parameters

string $contractId

in AbstractInvoiceLine at line line 543
string getWarehouseId()

Get warehouse ID

Return Value

string

in AbstractInvoiceLine at line line 553
setWarehouseId(string $warehouseId)

Set warehouse ID

Parameters

string $warehouseId

at line line 33
writeXml(XMLWriter $xml)

Write the lineitem block XML

Parameters

XMLWriter $xml