refactor(vtiger-crm): update field names and keys
This commit is contained in:
@@ -10,24 +10,24 @@ export default defineAction({
|
||||
async run($) {
|
||||
const {
|
||||
summary,
|
||||
recordCurrency,
|
||||
recordCurrencyId,
|
||||
caseTitle,
|
||||
status,
|
||||
priority,
|
||||
contactName,
|
||||
organizationName,
|
||||
group,
|
||||
contactId,
|
||||
organizationId,
|
||||
groupId,
|
||||
assignedTo,
|
||||
productName,
|
||||
productId,
|
||||
channel,
|
||||
resolution,
|
||||
category,
|
||||
subCategory,
|
||||
resolutionType,
|
||||
deferredDate,
|
||||
serviceContracts,
|
||||
asset,
|
||||
slaName,
|
||||
serviceContractId,
|
||||
assetId,
|
||||
slaId,
|
||||
isBillable,
|
||||
service,
|
||||
rate,
|
||||
@@ -38,24 +38,24 @@ export default defineAction({
|
||||
|
||||
const elementData = {
|
||||
description: summary,
|
||||
record_currency_id: recordCurrency,
|
||||
record_currency_id: recordCurrencyId,
|
||||
title: caseTitle,
|
||||
casestatus: status,
|
||||
casepriority: priority,
|
||||
contact_id: contactName,
|
||||
parent_id: organizationName,
|
||||
group_id: group,
|
||||
contact_id: contactId,
|
||||
parent_id: organizationId,
|
||||
group_id: groupId,
|
||||
assigned_user_id: assignedTo,
|
||||
product_id: productName,
|
||||
product_id: productId,
|
||||
casechannel: channel,
|
||||
resolution: resolution,
|
||||
impact_type: category,
|
||||
impact_area: subCategory,
|
||||
resolution_type: resolutionType,
|
||||
deferred_date: deferredDate,
|
||||
servicecontract_id: serviceContracts,
|
||||
asset_id: asset,
|
||||
slaid: slaName,
|
||||
servicecontract_id: serviceContractId,
|
||||
asset_id: assetId,
|
||||
slaid: slaId,
|
||||
is_billable: isBillable,
|
||||
billing_service: service,
|
||||
rate: rate,
|
||||
|
Reference in New Issue
Block a user