class ApAdjustmentLineCreate extends AbstractApAdjustmentLine

Create a new accounts payable adjustment 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
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 AbstractApAdjustmentLine at line line 90
string getAccountLabel()

Get account label

Return Value

string

in AbstractApAdjustmentLine at line line 100
setAccountLabel(string $accountLabel)

Set account label

Parameters

string $accountLabel

in AbstractApAdjustmentLine at line line 110
string getGlAccountNumber()

Get GL account number

Return Value

string

in AbstractApAdjustmentLine at line line 120
setGlAccountNumber(string $glAccountNumber)

Set GL account number

Parameters

string $glAccountNumber

in AbstractApAdjustmentLine at line line 130
string getOffsetGLAccountNumber()

Get offset GL account number

Return Value

string

in AbstractApAdjustmentLine at line line 140
setOffsetGLAccountNumber(string $offsetGLAccountNumber)

Set offset GL account number

Parameters

string $offsetGLAccountNumber

in AbstractApAdjustmentLine at line line 150
float|string getTransactionAmount()

Get transaction amount

Return Value

float|string

in AbstractApAdjustmentLine at line line 160
setTransactionAmount(float|string $transactionAmount)

Set transaction amount

Parameters

float|string $transactionAmount

in AbstractApAdjustmentLine at line line 170
string getAllocationId()

Get allocation ID

Return Value

string

in AbstractApAdjustmentLine at line line 180
setAllocationId(string $allocationId)

Set allocation ID

Parameters

string $allocationId

in AbstractApAdjustmentLine at line line 190
string getMemo()

Get memo

Return Value

string

in AbstractApAdjustmentLine at line line 200
setMemo(string $memo)

Set memo

Parameters

string $memo

in AbstractApAdjustmentLine at line line 210
string getKey()

Get key

Return Value

string

in AbstractApAdjustmentLine at line line 220
setKey(string $key)

Set key

Parameters

string $key

in AbstractApAdjustmentLine at line line 230
float|string getTotalPaid()

Get total paid

Return Value

float|string

in AbstractApAdjustmentLine at line line 240
setTotalPaid(float|string $totalPaid)

Set total paid

Parameters

float|string $totalPaid

in AbstractApAdjustmentLine at line line 250
float|string getTotalDue()

Get total due

Return Value

float|string

in AbstractApAdjustmentLine at line line 260
setTotalDue(float|string $totalDue)

Set total due

Parameters

float|string $totalDue

in AbstractApAdjustmentLine at line line 270
string getDepartmentId()

Get department ID

Return Value

string

in AbstractApAdjustmentLine at line line 280
setDepartmentId(string $departmentId)

Set department ID

Parameters

string $departmentId

in AbstractApAdjustmentLine at line line 290
string getLocationId()

Get location ID

Return Value

string

in AbstractApAdjustmentLine at line line 300
setLocationId(string $locationId)

Set location ID

Parameters

string $locationId

in AbstractApAdjustmentLine at line line 310
string getProjectId()

Get project ID

Return Value

string

in AbstractApAdjustmentLine at line line 320
setProjectId(string $projectId)

Set project ID

Parameters

string $projectId

in AbstractApAdjustmentLine at line line 330
string getCustomerId()

Get customer ID

Return Value

string

in AbstractApAdjustmentLine at line line 340
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractApAdjustmentLine at line line 350
string getVendorId()

Get vendor ID

Return Value

string

in AbstractApAdjustmentLine at line line 360
setVendorId(string $vendorId)

Set vendor ID

Parameters

string $vendorId

in AbstractApAdjustmentLine at line line 370
string getEmployeeId()

Get employee ID

Return Value

string

in AbstractApAdjustmentLine at line line 380
setEmployeeId(string $employeeId)

Set employee ID

Parameters

string $employeeId

in AbstractApAdjustmentLine at line line 390
string getItemId()

Get item ID

Return Value

string

in AbstractApAdjustmentLine at line line 400
setItemId(string $itemId)

Set item ID

Parameters

string $itemId

in AbstractApAdjustmentLine at line line 410
string getClassId()

Get class ID

Return Value

string

in AbstractApAdjustmentLine at line line 420
setClassId(string $classId)

Set class ID

Parameters

string $classId

in AbstractApAdjustmentLine at line line 430
string getContractId()

Get contract ID

Return Value

string

in AbstractApAdjustmentLine at line line 440
setContractId(string $contractId)

Set contract ID

Parameters

string $contractId

in AbstractApAdjustmentLine at line line 450
string getWarehouseId()

Get warehouse ID

Return Value

string

in AbstractApAdjustmentLine at line line 460
setWarehouseId(string $warehouseId)

Set warehouse ID

Parameters

string $warehouseId

at line line 33
writeXml(XMLWriter $xml)

Write the lineitem block XML

Parameters

XMLWriter $xml