class WarehouseCreate extends AbstractWarehouse

Create a new warehouse record

Traits

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

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

string
getWarehouseId()

No description

setWarehouseId(string $warehouseId)

No description

string
getWarehouseName()

No description

setWarehouseName(string $warehouseName)

No description

string
getLocationId()

No description

setLocationId(string $locationId)

No description

string
getManagerEmployeeId()

No description

setManagerEmployeeId(string $managerEmployeeId)

No description

string
getParentWarehouseId()

No description

setParentWarehouseId(string $parentWarehouseId)

No description

string
getWarehouseContactName()

No description

setWarehouseContactName(string $warehouseContactName)

No description

string
getShipToContactName()

No description

setShipToContactName(string $shipToContactName)

No description

boolean
isUsedInGeneralLedger()

No description

setUsedInGeneralLedger(boolean $usedInGeneralLedger)

No description

boolean
isActive()

No description

setActive(boolean $active)

No description

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 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 AbstractWarehouse at line line 58
string getWarehouseId()

Return Value

string

in AbstractWarehouse at line line 66
setWarehouseId(string $warehouseId)

Parameters

string $warehouseId

in AbstractWarehouse at line line 74
string getWarehouseName()

Return Value

string

in AbstractWarehouse at line line 82
setWarehouseName(string $warehouseName)

Parameters

string $warehouseName

in AbstractWarehouse at line line 90
string getLocationId()

Return Value

string

in AbstractWarehouse at line line 98
setLocationId(string $locationId)

Parameters

string $locationId

in AbstractWarehouse at line line 106
string getManagerEmployeeId()

Return Value

string

in AbstractWarehouse at line line 114
setManagerEmployeeId(string $managerEmployeeId)

Parameters

string $managerEmployeeId

in AbstractWarehouse at line line 122
string getParentWarehouseId()

Return Value

string

in AbstractWarehouse at line line 130
setParentWarehouseId(string $parentWarehouseId)

Parameters

string $parentWarehouseId

in AbstractWarehouse at line line 138
string getWarehouseContactName()

Return Value

string

in AbstractWarehouse at line line 146
setWarehouseContactName(string $warehouseContactName)

Parameters

string $warehouseContactName

in AbstractWarehouse at line line 154
string getShipToContactName()

Return Value

string

in AbstractWarehouse at line line 162
setShipToContactName(string $shipToContactName)

Parameters

string $shipToContactName

in AbstractWarehouse at line line 170
boolean isUsedInGeneralLedger()

Return Value

boolean

in AbstractWarehouse at line line 178
setUsedInGeneralLedger(boolean $usedInGeneralLedger)

Parameters

boolean $usedInGeneralLedger

in AbstractWarehouse at line line 186
boolean isActive()

Return Value

boolean

in AbstractWarehouse at line line 194
setActive(boolean $active)

Parameters

boolean $active