ApAdjustmentCreate
class ApAdjustmentCreate extends AbstractApAdjustment
Create a new accounts payable adjustment record
Traits
Methods
Initializes the class with the given parameters.
Set transaction currency
Set do not post to general ledger
Details
in AbstractFunction at line line 35
getControlId()
Get control ID
in AbstractFunction at line line 46
setControlId($controlId = null)
Set control ID
in AbstractFunction at line line 67
__construct(string $controlId = null)
Initializes the class with the given parameters.
at line line 35
writeXml(XMLWriter $xml)
Write the function block XML
in CustomFieldsTrait at line line 33
array
getCustomFields()
Get custom fields
in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)
Set custom fields
in AbstractApAdjustment at line line 89
int|string
getRecordNo()
Get record number
in AbstractApAdjustment at line line 99
setRecordNo(int|string $recordNo)
Set record number
in AbstractApAdjustment at line line 109
string
getVendorId()
Get vendor ID
in AbstractApAdjustment at line line 119
setVendorId(string $vendorId)
Set vendor ID
in AbstractApAdjustment at line line 129
DateType
getTransactionDate()
Get transaction date
in AbstractApAdjustment at line line 139
setTransactionDate(DateType $transactionDate)
Set transaction date
in AbstractApAdjustment at line line 149
DateType
getGlPostingDate()
Get GL posting date
in AbstractApAdjustment at line line 159
setGlPostingDate(DateType $glPostingDate)
Set GL posting date
in AbstractApAdjustment at line line 169
string
getAction()
Get action
in AbstractApAdjustment at line line 180
setAction(string $action)
Set action
in AbstractApAdjustment at line line 190
int|string
getSummaryRecordNo()
Get summary record number
in AbstractApAdjustment at line line 200
setSummaryRecordNo(int|string $summaryRecordNo)
Set summary record number
in AbstractApAdjustment at line line 210
string
getBillNumber()
Get bill number
in AbstractApAdjustment at line line 220
setBillNumber(string $billNumber)
Set bill number
in AbstractApAdjustment at line line 230
string
getDescription()
Get description
in AbstractApAdjustment at line line 240
setDescription(string $description)
Set description
in AbstractApAdjustment at line line 250
string
getExternalId()
Get external ID
in AbstractApAdjustment at line line 260
setExternalId(string $externalId)
Set external ID
in AbstractApAdjustment at line line 270
string
getBaseCurrency()
Get base currency
in AbstractApAdjustment at line line 280
setBaseCurrency(string $baseCurrency)
Set base currency
in AbstractApAdjustment at line line 290
string
getTransactionCurrency()
Get transaction currency
in AbstractApAdjustment at line line 300
setTransactionCurrency(string $transactionCurrency)
Set transaction currency
in AbstractApAdjustment at line line 310
DateType
getExchangeRateDate()
Get exchange rate date
in AbstractApAdjustment at line line 320
setExchangeRateDate(DateType $exchangeRateDate)
Set exchange rate date
in AbstractApAdjustment at line line 330
float
getExchangeRateValue()
Get exchange rate value
in AbstractApAdjustment at line line 340
setExchangeRateValue(float $exchangeRateValue)
Set exchange rate value
in AbstractApAdjustment at line line 350
string
getExchangeRateType()
Get exchange rate type
in AbstractApAdjustment at line line 360
setExchangeRateType(string $exchangeRateType)
Set exchange rate type
in AbstractApAdjustment at line line 370
boolean
isDoNotPostToGL()
Get do not post to general ledger
in AbstractApAdjustment at line line 380
setDoNotPostToGL(boolean $doNotPostToGL)
Set do not post to general ledger
in AbstractApAdjustment at line line 390
string
getAttachmentsId()
Get attachments ID
in AbstractApAdjustment at line line 400
setAttachmentsId(string $attachmentsId)
Set attachments ID
in AbstractApAdjustment at line line 410
string
getAdjustmentNumber()
Get adjustment number
in AbstractApAdjustment at line line 420
setAdjustmentNumber(string $adjustmentNumber)
Set adjustment number
in AbstractApAdjustment at line line 430
AbstractApAdjustmentLine[]
getLines()
Get AP adjustment lines
in AbstractApAdjustment at line line 440
setLines(AbstractApAdjustmentLine[] $lines)
Set AP adjustment lines