StoreTable
StoreTable class for handling table with warehouses.
Class methods
Method | Description | Available from version |
---|---|---|
getMap | Returns list of fields for warehouse table. | |
getTableName | Returns name for table with warehouses in database. | |
getUfId | Returns object ID with requested user fields. | |
validateAddress | Returns validator for the field ADDRESS (warehouse address). |
|
validateEmail | Returns validator for the field EMAIL (email address). |
|
validateGpsN | Returns validator for the field GPS_N (GPS latitude). |
|
validateGpsS | Returns validator for the field GPS_S (GPS longitude). |
|
validateImageId | Returns validator for the field IMAGE_ID (image code). |
|
validatePhone | Returns validator for the field PHONE (warehouse phone). |
|
validateSchedule | Returns validator for the field SCHEDULE (work schedule). |
|
validateSiteId | Returns validator for the field SITE_ID (site ID). |
|
validateTitle | Returns validator for the field TITLE (warehouse name). |
|
validateXmlId | Returns validator for the field XML_ID (external code). |
|
validateCode | Returns validator for the field CODE . |
Warehouse fields
Field | Description | Type | Required |
---|---|---|---|
ID | Warehouse code (ID). | Int | Yes |
TITLE | Warehouse name. | Varchar(75) | No |
ACTIVE | Activity status (Y/N). | Char(1) | Yes |
ADDRESS | Warehouse address. | Varchar(245) | Yes |
DESCRIPTION | Description. | Text | No |
GPS_N | GPS latitude. | Varchar(15) | No |
GPS_S | GPS longitude. | Varchar(15) | No |
IMAGE_ID | Image ID in files table. | Varchar(45) | No |
LOCATION_ID | Location ID. | Int | No |
DATE_MODIFY | Date and time of the warehouse parameters update. | Datetime | Yes |
DATE_CREATE | Date and time for created warehouse. | Datetime | No |
USER_ID | User ID who created a warehouse. | Int | No |
MODIFIED_BY | ID for user who most recently modified the warehouse. | Int | No |
PHONE | Warehouse phone. | Varchar(45) | No |
SCHEDULE | Warehouse schedule. | Varchar(255) | No |
XML_ID | External ID. | Varchar(255) | No |
SORT | Sorting ID. | Int | Yes |
Email address. | Varchar(255) | No | |
ISSUING_CENTER | Flag "Pick-up location" (Y/N). | Char(1) | Yes |
SHIPPING_CENTER | Flag "For shipping" (Y/N). | Char(1) | Yes |
SITE_ID | Site identifier. | Char(2) | No |
© «Bitrix24», 2001-2024