Commit dc8d3fee authored by Kulya's avatar Kulya 😊

Update entityes.json

parent 8d966161
{
"product": {
"bxcode": "product",
"onec_code": "Номенклатура ?",
"title": "Номенклатура",
"fields": [
{
"title": "Битрикс ID",
"bx_field": "ID",
"onec_field": ""
},
{
"title": "1C CODE",
"bx_field": "GUID",
"onec_field": "code"
},
{
"title": "Название",
"bx_field": "TITLE",
"onec_field": "title"
},
{
"title": "Описание",
"bx_field": "DESCRIPTION",
"onec_field": "description"
},
{
"title": "Раздел",
"bx_field": "SECTION",
"onec_field": "section"
},
{
"title": "Активность",
"bx_field": "ACTIVE",
"onec_field": "active"
},
{
"title": "Цена",
"bx_field": "PRICE",
"onec_field": "price"
},
{
"title": "Единица измерения",
"bx_field": "MEASURE",
"onec_field": "measure"
},
{
"title": "Баркод",
"bx_field": "BARCODE",
"onec_field": "barcode"
},
{
"title": "Икпу",
"bx_field": "IKPU",
"onec_field": "ikpu"
}
]
},
"store_product": {
"bxcode": "store_product",
"onec_code": "Остатки",
"title": "Продукты на складах (остатки)",
"fields": [
{
"title": "ID продукта в Битрикс",
"bx_field": "ID",
"onec_field": ""
},
{
"title": "CODE продукта в 1C",
"bx_field": "GUID",
"onec_field": "code"
},
{
"title": "Склад",
"bx_field": "STORE_ID",
"onec_field": "store_id"
},
{
"title": "Остаток",
"bx_field": "AMOUNT",
"onec_field": "amount"
},
{
"title": "Цена на складе",
"bx_field": "STORE_PRICE",
"onec_field": "price"
}
]
},
"contact": {
"bxcode": "contact",
"onec_code": "client",
"title": "Контакты",
"fields": [
{
"title": "Битрикс ID",
"bx_field": "ID",
"onec_field": ""
},
{
"title": "1C CODE",
"bx_field": "GUID",
"onec_field": "code"
},
{
"title": "Имя",
"bx_field": "NAME",
"onec_field": "name"
},
{
"title": "Фамилия",
"bx_field": "LAST_NAME",
"onec_field": "surname"
},
{
"title": "Отчетсво",
"bx_field": "SECOND_NAME",
"onec_field": "middle_name"
},
{
"title": "ИНН ?",
"bx_field": "INN",
"onec_field": "stir"
},
{
"title": "ПИНФЛ ?",
"bx_field": "PINFL",
"onec_field": "passport_code"
},
{
"title": "Дата рождения",
"bx_field": "BIRTHDAY",
"onec_field": "birthday"
},
{
"title": "ID карты (паспорта)",
"bx_field": "PASSPORT_SERIAL",
"onec_field": "passport_serial"
},
{
"title": "Номер карты (паспорта)",
"bx_field": "PASSPORT_NUMBER",
"onec_field": "passport_number"
},
{
"title": "Адрес",
"bx_field": "ADDRESS",
"onec_field": "address"
},
{
"title": "Реальный адрес",
"bx_field": "REAL_ADDRESS",
"onec_field": "real_address"
},
{
"title": "Адрес доставки",
"bx_field": "DELIVERY_ADDRESS",
"onec_field": "delivery_address"
},
{
"title": "Место работы",
"bx_field": "WORKPLACE",
"onec_field": "workplace"
},
{
"title": "Телефон",
"bx_field": "PHONE",
"onec_field": "phone"
},
{
"title": "Лимит (рассрочка)",
"bx_field": "LIMIT",
"onec_field": "limit"
},
{
"title": "Статус ?",
"bx_field": "STATUS",
"onec_field": "status"
}
]
},
"deal": {
"bxcode": "deal",
"onec_code": "order",
"title": "Заказы (Сделки)",
"fields": [
{
"title": "Битрикс ID",
"bx_field": "ID",
"onec_field": ""
},
{
"title": "1C CODE",
"bx_field": "GUID",
"onec_field": "code"
},
{
"title": "Статус ?",
"bx_field": "STATUS",
"onec_field": "status",
"onec_items": {
"3": "В Резерве",
"4": "К Обеспечению",
"5": "К Отгрузке",
"6": "В Пути",
"NEW": "Новый",
"EXECUTING": "Принят в работу",
"WON": "Доставлено",
"LOSE": "Закрыт"
}
},
{
"title": "Магазин с которого продан товар",
"bx_field": "STORE_ID",
"onec_field": "store_id",
"onec_items": {
"3": "Интернет-магазин",
"7": "PRIZMA Ташкент",
"8": "PRIZMA Бекабад",
"10": "PRIZMA Заамин",
"11": "PRIZMA Зафар",
"12": "PRIZMA Баяут"
}
},
{
"title": "Сумма документа",
"bx_field": "PRICE",
"onec_field": "price"
},
{
"title": "Скидка",
"bx_field": "DISCOUNT",
"onec_fields": {
"discount": [
"type",
"summa"
]
}
},
{
"title": "Итоговая сумма документа",
"bx_field": "TOTAL_PRICE",
"onec_field": "total_price"
},
{
"title": "Клиент",
"bx_field": "CONTACT_ID",
"onec_fields": {
"client": [
"name",
"phone"
]
}
},
{
"title": "Кассир",
"bx_field": "ASSIGNED_BY_ID",
"onec_field": "cashier"
},
{
"title": "Дата и время создания",
"bx_field": "DATE_CREATE",
"onec_field": "created_at"
},
{
"title": "Доставка (да или нет)",
"bx_field": "DELIVERY",
"onec_field": "delivery"
},
{
"title": "Адрес доставки",
"bx_field": "DELIVERY_ADDRESS",
"onec_field": "address"
},
{
"title": "Установка (да или нет)",
"bx_field": "SETUP",
"onec_field": "setup"
},
{
"title": "Товары",
"bx_field": "PRODUCTS",
"onec_fields": {
"items": [
"sku",
"count",
"price",
"discount.type",
"discount.summa",
"ware_real",
"total_price",
"consultant"
]
}
},
{
"title": "Оплаты",
"bx_field": "PAYMENT",
"onec_fields": {
"transacions": [
"summa",
"type"
]
}
}
]
},
"bxapi": {
"title": "Prizma Bitrix24 API for Incoming requests",
"shop_webhook": "https://b24.prizma.uz/rest/1/tuv3urt2w1cxbl0h/",
"onec_webhook": "https://b24.prizma.uz/rest/1/4ln101hccuus2rhv/",
"webhook_example": "https://b24.prizma.uz/rest/1/4ln101hccuus2rhv/onec.order.get.json",
"methods": [
"onec.order.get",
"onec.order.add",
"onec.order.update",
"onec.order.delete",
"onec.client.get",
"onec.client.add",
"onec.client.update",
"onec.client.delete",
"onec.basket.get",
"onec.basket.add",
"onec.basket.update",
"onec.basket.delete",
"onec.product.get",
"onec.product.add",
"onec.product.update",
"onec.product.delete",
"onec.store.get",
"onec.store.add",
"onec.store.update",
"onec.store.delete",
"onec.product_store.get",
"onec.product_store.add",
"onec.product_store.update",
"onec.product_store.delete"
]
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment