- Модуль: sale
- Путь к файлу: ~/bitrix/modules/sale/lib/reservation/internals/basketreservationhistorytable.php
- Класс: BitrixSaleReservationInternalsBasketReservationHistoryTable
- Вызов: BasketReservationHistoryTable::getMap
static function getMap()
{
return [
(new IntegerField('ID'))
->configurePrimary()
->configureAutocomplete()
,
(new IntegerField('RESERVATION_ID'))
->configureRequired()
,
(new DatetimeField('DATE_RESERVE'))
->configureDefaultValue(new DateTime())
->configureRequired()
,
(new FloatField('QUANTITY'))
->configureRequired()
,
// refs
new Reference('RESERVATION', BasketReservationTable::class, Join::on('this.RESERVATION_ID', 'ref.ID')),
];
}