class ArAdjustmentCreate extends AbstractArAdjustment

Create a new accounts receivable adjustment record

Methods

getControlId()

Get control ID

setControlId($controlId = null)

Set control ID

__construct(string $controlId = null)

Initializes the class with the given parameters.

writeXml(XMLWriter $xml)

Write the function block XML

int|string
getRecordNo()

Get record number

setRecordNo(int|string $recordNo)

Set record number

string
getCustomerId()

Get customer ID

setCustomerId(string $customerId)

Set customer ID

getTransactionDate()

Get transaction date

setTransactionDate(DateType $transactionDate)

Set transaction date

getGlPostingDate()

Get GL posting date

setGlPostingDate(DateType $glPostingDate)

Set GL posting date

string
getAction()

Get action

setAction(string $action)

Set action

int|string
getSummaryRecordNo()

Get summary record number

setSummaryRecordNo(int|string $summaryRecordNo)

Set summary record number

string
getInvoiceNumber()

Get invoice number

setInvoiceNumber(string $invoiceNumber)

Set invoice number

string
getDescription()

Get description

setDescription(string $description)

Set description

string
getExternalId()

Get external ID

setExternalId(string $externalId)

Set external ID

string
getBaseCurrency()

Get base currency

setBaseCurrency(string $baseCurrency)

Set base currency

string
getTransactionCurrency()

Get transaction currency

setTransactionCurrency(string $transactionCurrency)

Set transaction currency

getExchangeRateDate()

Get exchange rate date

setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

float
getExchangeRateValue()

Get exchange rate value

setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

string
getExchangeRateType()

Get exhcnage rate type

setExchangeRateType(string $exchangeRateType)

Set exchange rate type

boolean
isDoNotPostToGL()

Get do not post to general ledger

setDoNotPostToGL(boolean $doNotPostToGL)

Set do not post to general ledger

string
getAdjustmentNumber()

Get adjustment number

setAdjustmentNumber(string $adjustmentNumber)

Set adjustment number

getLines()

Get adjustment lines

setLines(AbstractArAdjustmentLine[] $lines)

Set adjustment lines

Details

in AbstractFunction at line line 35
getControlId()

Get control ID

in AbstractFunction at line line 46
setControlId($controlId = null)

Set control ID

Parameters

$controlId

Exceptions

InvalidArgumentException

in AbstractFunction at line line 67
__construct(string $controlId = null)

Initializes the class with the given parameters.

Parameters

string $controlId Control ID, default=random UUID

at line line 35
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml

in AbstractArAdjustment at line line 85
int|string getRecordNo()

Get record number

Return Value

int|string

in AbstractArAdjustment at line line 95
setRecordNo(int|string $recordNo)

Set record number

Parameters

int|string $recordNo

in AbstractArAdjustment at line line 105
string getCustomerId()

Get customer ID

Return Value

string

in AbstractArAdjustment at line line 115
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractArAdjustment at line line 125
DateType getTransactionDate()

Get transaction date

Return Value

DateType

in AbstractArAdjustment at line line 135
setTransactionDate(DateType $transactionDate)

Set transaction date

Parameters

DateType $transactionDate

in AbstractArAdjustment at line line 145
DateType getGlPostingDate()

Get GL posting date

Return Value

DateType

in AbstractArAdjustment at line line 155
setGlPostingDate(DateType $glPostingDate)

Set GL posting date

Parameters

DateType $glPostingDate

in AbstractArAdjustment at line line 165
string getAction()

Get action

Return Value

string

in AbstractArAdjustment at line line 176
setAction(string $action)

Set action

Parameters

string $action

in AbstractArAdjustment at line line 186
int|string getSummaryRecordNo()

Get summary record number

Return Value

int|string

in AbstractArAdjustment at line line 196
setSummaryRecordNo(int|string $summaryRecordNo)

Set summary record number

Parameters

int|string $summaryRecordNo

in AbstractArAdjustment at line line 206
string getInvoiceNumber()

Get invoice number

Return Value

string

in AbstractArAdjustment at line line 216
setInvoiceNumber(string $invoiceNumber)

Set invoice number

Parameters

string $invoiceNumber

in AbstractArAdjustment at line line 226
string getDescription()

Get description

Return Value

string

in AbstractArAdjustment at line line 236
setDescription(string $description)

Set description

Parameters

string $description

in AbstractArAdjustment at line line 246
string getExternalId()

Get external ID

Return Value

string

in AbstractArAdjustment at line line 256
setExternalId(string $externalId)

Set external ID

Parameters

string $externalId

in AbstractArAdjustment at line line 266
string getBaseCurrency()

Get base currency

Return Value

string

in AbstractArAdjustment at line line 276
setBaseCurrency(string $baseCurrency)

Set base currency

Parameters

string $baseCurrency

in AbstractArAdjustment at line line 286
string getTransactionCurrency()

Get transaction currency

Return Value

string

in AbstractArAdjustment at line line 296
setTransactionCurrency(string $transactionCurrency)

Set transaction currency

Parameters

string $transactionCurrency

in AbstractArAdjustment at line line 306
DateType getExchangeRateDate()

Get exchange rate date

Return Value

DateType

in AbstractArAdjustment at line line 316
setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

Parameters

DateType $exchangeRateDate

in AbstractArAdjustment at line line 326
float getExchangeRateValue()

Get exchange rate value

Return Value

float

in AbstractArAdjustment at line line 336
setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

Parameters

float $exchangeRateValue

in AbstractArAdjustment at line line 346
string getExchangeRateType()

Get exhcnage rate type

Return Value

string

in AbstractArAdjustment at line line 356
setExchangeRateType(string $exchangeRateType)

Set exchange rate type

Parameters

string $exchangeRateType

in AbstractArAdjustment at line line 366
boolean isDoNotPostToGL()

Get do not post to general ledger

Return Value

boolean

in AbstractArAdjustment at line line 376
setDoNotPostToGL(boolean $doNotPostToGL)

Set do not post to general ledger

Parameters

boolean $doNotPostToGL

in AbstractArAdjustment at line line 386
string getAdjustmentNumber()

Get adjustment number

Return Value

string

in AbstractArAdjustment at line line 396
setAdjustmentNumber(string $adjustmentNumber)

Set adjustment number

Parameters

string $adjustmentNumber

in AbstractArAdjustment at line line 406
AbstractArAdjustmentLine[] getLines()

Get adjustment lines

Return Value

AbstractArAdjustmentLine[]

in AbstractArAdjustment at line line 416
setLines(AbstractArAdjustmentLine[] $lines)

Set adjustment lines

Parameters

AbstractArAdjustmentLine[] $lines