mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
Refactoring apiConverts (#817)
* configured babel and jest to work with webpack * added util function to camelize object entries * added tests for apiconvert dashboard * added enaming object key function * finished refactoring of convertapi dashboard * renamed camelize to transformObject * renamed uuids to randomValues * use random strings instead of hard coded values in test * refactored dictionary.process and added tests * refactored dashboard tests - test with json objects * added first tests for apiConvert core * made camelizeObjectkeys immutable * added talismanrc to gitignore * added all tests for apiConverts core * added more dictionary tests * finished refactoring apiConverts dictionary * restructured objects in folders * refactored apiConverts persistence * refactored apiConvert pos * refactored apiConvert privateAccess * refactored apiConverts process * refactored apiConverts report * refactored apiConverts user * refactored apiConverts values * refactored apiConverts window * linted all test files * removed tests for privateAccess * removed typos from prev implementation
This commit is contained in:
parent
40a810a65d
commit
7a22c9e85b
12
.babelrc
Normal file
12
.babelrc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"presets": ["@vue/cli-plugin-babel/preset"],
|
||||||
|
"plugins": [],
|
||||||
|
"env": {
|
||||||
|
"development": {
|
||||||
|
"plugins": ["dynamic-import-node"]
|
||||||
|
},
|
||||||
|
"test": {
|
||||||
|
"plugins": ["require-context-hook"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -26,3 +26,5 @@ config/local.json
|
|||||||
config/certs/*.pem
|
config/certs/*.pem
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
|
||||||
|
.talismanrc
|
2
.jest/register-context.js
Normal file
2
.jest/register-context.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
import registerRequireContextHook from 'babel-plugin-require-context-hook/register';
|
||||||
|
registerRequireContextHook();
|
@ -1,14 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
presets: [
|
|
||||||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
|
||||||
'@vue/cli-plugin-babel/preset'
|
|
||||||
],
|
|
||||||
'env': {
|
|
||||||
'development': {
|
|
||||||
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
|
|
||||||
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
|
|
||||||
// https://panjiachen.github.io/vue-element-admin-site/guide/advanced/lazy-loading.html
|
|
||||||
'plugins': ['dynamic-import-node']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -20,5 +20,8 @@ module.exports = {
|
|||||||
'lcov',
|
'lcov',
|
||||||
'text-summary'
|
'text-summary'
|
||||||
],
|
],
|
||||||
|
"setupFiles": [
|
||||||
|
"<rootDir>/.jest/register-context.js"
|
||||||
|
],
|
||||||
testURL: 'http://localhost/'
|
testURL: 'http://localhost/'
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vue-cli-service serve",
|
"start": "vue-cli-service serve",
|
||||||
"dev": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
"lint": "eslint --ext .js,.vue src",
|
"lint": "eslint --ext .js,.vue src tests",
|
||||||
"build:prod": "vue-cli-service build",
|
"build:prod": "vue-cli-service build",
|
||||||
"build:stage": "vue-cli-service build --mode staging",
|
"build:stage": "vue-cli-service build --mode staging",
|
||||||
"preview": "node build/index.js --preview",
|
"preview": "node build/index.js --preview",
|
||||||
@ -32,6 +32,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@toast-ui/vue-editor": "2.5.1",
|
"@toast-ui/vue-editor": "2.5.1",
|
||||||
"axios": "0.21.1",
|
"axios": "0.21.1",
|
||||||
|
"babel-plugin-require-context-hook": "^1.0.0",
|
||||||
"clipboard": "2.0.6",
|
"clipboard": "2.0.6",
|
||||||
"codemirror": "5.59.2",
|
"codemirror": "5.59.2",
|
||||||
"core-js": "3.8.3",
|
"core-js": "3.8.3",
|
||||||
|
@ -15,134 +15,37 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import { isEmptyValue } from '../valueUtils'
|
import { isEmptyValue } from '../valueUtils'
|
||||||
|
import { camelizeObjectKeys, renameObjectKey } from '../transformObject'
|
||||||
|
|
||||||
export function convertContextInfo(contextInfoToConvert) {
|
export function convertContextInfo(contextInfo) {
|
||||||
if (contextInfoToConvert) {
|
if (!contextInfo) {
|
||||||
return {
|
return { messageText: {}}
|
||||||
id: contextInfoToConvert.id,
|
|
||||||
uuid: contextInfoToConvert.uuid,
|
|
||||||
name: contextInfoToConvert.name,
|
|
||||||
description: contextInfoToConvert.description,
|
|
||||||
sqlStatement: contextInfoToConvert.sql_statement,
|
|
||||||
isActive: contextInfoToConvert.is_active,
|
|
||||||
messageText: convertMessageText(
|
|
||||||
contextInfoToConvert.message_text
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
name: undefined,
|
|
||||||
description: undefined,
|
|
||||||
sqlStatement: undefined,
|
|
||||||
isActive: undefined,
|
|
||||||
messageText: convertMessageText(undefined)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function convertMessageText(messageTextToConvert) {
|
|
||||||
if (messageTextToConvert) {
|
|
||||||
return {
|
|
||||||
id: messageTextToConvert.id,
|
|
||||||
// uuid: messageText.uuid,
|
|
||||||
value: messageTextToConvert.value,
|
|
||||||
messageType: messageTextToConvert.message_type,
|
|
||||||
messageText: messageTextToConvert.message_text,
|
|
||||||
messageTip: messageTextToConvert.message_tip,
|
|
||||||
isActive: messageTextToConvert.is_active
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
value: undefined,
|
|
||||||
messageType: undefined,
|
|
||||||
messageText: undefined,
|
|
||||||
messageTip: undefined,
|
|
||||||
isActive: undefined
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function convertCriteria(criteriaToConvert) {
|
|
||||||
return {
|
|
||||||
tableName: criteriaToConvert.table_name,
|
|
||||||
query: criteriaToConvert.query,
|
|
||||||
whereClause: criteriaToConvert.where_clause,
|
|
||||||
orderByClause: criteriaToConvert.order_by_clause,
|
|
||||||
referenceUuid: criteriaToConvert.reference_uuid,
|
|
||||||
// conditionsList: criteriaToConvert.conditions,
|
|
||||||
valuesList: criteriaToConvert.values,
|
|
||||||
orderByColumnList: criteriaToConvert.order_by_columns,
|
|
||||||
limit: criteriaToConvert.limit
|
|
||||||
}
|
}
|
||||||
|
const convertedContextInfo = camelizeObjectKeys(contextInfo)
|
||||||
|
const messageText = contextInfo.message_text ? camelizeObjectKeys(contextInfo.message_text) : {}
|
||||||
|
convertedContextInfo.messageText = messageText
|
||||||
|
return convertedContextInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertOrganization(organization) {
|
export function convertOrganization(organization) {
|
||||||
const { id, uuid, name, description } = organization
|
return camelizeObjectKeys(organization)
|
||||||
|
|
||||||
return {
|
|
||||||
id,
|
|
||||||
uuid,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
isReadOnly: organization.is_read_only,
|
|
||||||
duns: organization.duns,
|
|
||||||
taxId: organization.tax_id,
|
|
||||||
phone: organization.phone,
|
|
||||||
phone2: organization.phone2,
|
|
||||||
fax: organization.fax,
|
|
||||||
corporateBrandingImage: organization.corporate_branding_image
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertLanguage(languageToConvert) {
|
export function convertLanguage(language) {
|
||||||
return {
|
const convertedLanguage = camelizeObjectKeys(language)
|
||||||
language: languageToConvert.language,
|
renameObjectKey(convertedLanguage, 'languageIso', 'languageISO')
|
||||||
languageName: languageToConvert.language_name,
|
return convertedLanguage
|
||||||
languageISO: languageToConvert.language_iso,
|
|
||||||
countryCode: languageToConvert.country_code,
|
|
||||||
isBaseLanguage: languageToConvert.is_base_language,
|
|
||||||
isSystemLanguage: languageToConvert.is_system_language,
|
|
||||||
isDecimalPoint: languageToConvert.is_decimal_point,
|
|
||||||
datePattern: languageToConvert.date_pattern,
|
|
||||||
timePattern: languageToConvert.time_pattern
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertCountry(countryToConvert) {
|
export function convertCountry(country) {
|
||||||
const { id, uuid, name, description } = countryToConvert
|
const convertedCountry = camelizeObjectKeys(country)
|
||||||
|
renameObjectKey(convertedCountry, 'isPostCodeLookup', 'isPostcodeLookup')
|
||||||
return {
|
convertedCountry.currency = convertCurrency(country.currency)
|
||||||
id,
|
return convertedCountry
|
||||||
uuid,
|
|
||||||
countryCode: countryToConvert.country_code,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
hasRegion: countryToConvert.has_region,
|
|
||||||
regionName: countryToConvert.region_name,
|
|
||||||
displaySequence: countryToConvert.display_sequence,
|
|
||||||
isAddressLinesReverse: countryToConvert.is_address_lines_reverse,
|
|
||||||
captureSequence: countryToConvert.capture_sequence,
|
|
||||||
displaySequenceLocal: countryToConvert.display_sequence_local,
|
|
||||||
isAddressLinesLocalReverse: countryToConvert.is_address_lines_local_reverse,
|
|
||||||
expressionPostal: countryToConvert.expression_postal,
|
|
||||||
hasPostalAdd: countryToConvert.has_postal_add,
|
|
||||||
expressionPhone: countryToConvert.expression_phone,
|
|
||||||
mediaSize: countryToConvert.media_size,
|
|
||||||
expressionBankRoutingNo: countryToConvert.expression_bank_routing_no,
|
|
||||||
expressionBankAccountNo: countryToConvert.expression_bank_account_no,
|
|
||||||
language: countryToConvert.language,
|
|
||||||
allowCitiesOutOfList: countryToConvert.allow_cities_out_of_list,
|
|
||||||
isPostcodeLookup: countryToConvert.is_post_code_lookup,
|
|
||||||
currency: convertCurrency(
|
|
||||||
countryToConvert.currency
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertCurrency(currencyToConvert) {
|
function convertCurrency(currency) {
|
||||||
if (isEmptyValue(currencyToConvert)) {
|
if (isEmptyValue(currency)) {
|
||||||
return {
|
return {
|
||||||
id: 0,
|
id: 0,
|
||||||
uuid: '',
|
uuid: '',
|
||||||
@ -153,216 +56,72 @@ export function convertCurrency(currencyToConvert) {
|
|||||||
costingPrecision: 0
|
costingPrecision: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {
|
const convertedCurrency = camelizeObjectKeys(currency)
|
||||||
id: currencyToConvert.id,
|
renameObjectKey(convertedCurrency, 'isoCode', 'iSOCode')
|
||||||
uuid: currencyToConvert.uuid,
|
renameObjectKey(convertedCurrency, 'currencySymbol', 'curSymbol')
|
||||||
iSOCode: currencyToConvert.iso_code,
|
return convertedCurrency
|
||||||
curSymbol: currencyToConvert.currency_symbol,
|
|
||||||
description: currencyToConvert.description,
|
|
||||||
standardPrecision: currencyToConvert.standard_precision,
|
|
||||||
costingPrecision: currencyToConvert.costing_precision
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertBusinessPartner(businessPartnerToConvert) {
|
export function convertBusinessPartner(businessPartner) {
|
||||||
const { id, uuid, name, description } = businessPartnerToConvert
|
return camelizeObjectKeys(businessPartner)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
value: businessPartnerToConvert.value,
|
|
||||||
taxId: businessPartnerToConvert.tax_id,
|
|
||||||
duns: businessPartnerToConvert.duns,
|
|
||||||
naics: businessPartnerToConvert.naics,
|
|
||||||
name,
|
|
||||||
lastName: businessPartnerToConvert.last_name,
|
|
||||||
description
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertConversionRate(conversionRateToConvert) {
|
export function convertConversionRate(conversionRate) {
|
||||||
const { id, uuid } = conversionRateToConvert
|
const convertedRate = camelizeObjectKeys(conversionRate)
|
||||||
if (isEmptyValue(conversionRateToConvert.currency_from) && isEmptyValue(conversionRateToConvert.currency_from)) {
|
if (isEmptyValue(conversionRate.currency_from) && isEmptyValue(conversionRate.currency_to)) {
|
||||||
return {
|
delete convertedRate['validFrom']
|
||||||
uuid,
|
delete convertedRate['conversionTypeUuid']
|
||||||
id,
|
return convertedRate
|
||||||
multiplyRate: conversionRateToConvert.multiply_rate,
|
|
||||||
divideRate: conversionRateToConvert.divide_rate
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
conversionTypeUuid: conversionRateToConvert.conversion_type_uuid,
|
|
||||||
validFrom: conversionRateToConvert.valid_from,
|
|
||||||
currencyFrom: convertCurrency(
|
|
||||||
conversionRateToConvert.currency_from
|
|
||||||
),
|
|
||||||
currencyTo: convertCurrency(
|
|
||||||
conversionRateToConvert.currency_to
|
|
||||||
),
|
|
||||||
multiplyRate: conversionRateToConvert.multiply_rate,
|
|
||||||
divideRate: conversionRateToConvert.divide_rate
|
|
||||||
}
|
}
|
||||||
|
convertedRate.currencyFrom = convertCurrency(conversionRate.currency_from)
|
||||||
|
convertedRate.currencyTo = convertCurrency(conversionRate.currency_to)
|
||||||
|
return convertedRate
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertSalesRepresentative(salesRepresentativeToConvert) {
|
export function convertSalesRepresentative(salesRepresentative) {
|
||||||
const { uuid, id, name, description } = salesRepresentativeToConvert
|
return camelizeObjectKeys(salesRepresentative)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
name,
|
|
||||||
description
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertBankAccount(bankAccountToConvert) {
|
export function convertBankAccount(bankAccount) {
|
||||||
if (!bankAccountToConvert) {
|
if (!bankAccount) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
const convertedBankAccount = camelizeObjectKeys(bankAccount)
|
||||||
const { uuid, id, name, description } = bankAccountToConvert
|
convertedBankAccount.currency = convertCurrency(bankAccount.currency)
|
||||||
return {
|
convertedBankAccount.businessPartner = convertBusinessPartner(bankAccount.business_partner)
|
||||||
uuid,
|
return convertedBankAccount
|
||||||
id,
|
|
||||||
name,
|
|
||||||
accountNo: bankAccountToConvert.account_no,
|
|
||||||
description,
|
|
||||||
currency: convertCurrency(
|
|
||||||
bankAccountToConvert.currency
|
|
||||||
),
|
|
||||||
bban: bankAccountToConvert.bban,
|
|
||||||
iban: bankAccountToConvert.iban,
|
|
||||||
creditLimit: bankAccountToConvert.credit_limit,
|
|
||||||
current_balance: bankAccountToConvert.current_balance,
|
|
||||||
isDefault: bankAccountToConvert.is_default,
|
|
||||||
businessPartner: convertBusinessPartner(
|
|
||||||
bankAccountToConvert.business_partner
|
|
||||||
),
|
|
||||||
bankAccountType: bankAccountToConvert.bank_account_type,
|
|
||||||
bankAccountTypeName: bankAccountToConvert.bank_account_type_name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertDocumentType(documentTypeToConvert) {
|
export function convertDocumentType(documentType) {
|
||||||
if (!documentTypeToConvert) {
|
if (!documentType) {
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
const { uuid, id, name, description } = documentTypeToConvert
|
return camelizeObjectKeys(documentType)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
printName: documentTypeToConvert.print_name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertDocumentStatus(documentStatusToConvert) {
|
export function convertDocumentStatus(documentStatus) {
|
||||||
const { name, description } = documentStatusToConvert
|
return camelizeObjectKeys(documentStatus)
|
||||||
|
|
||||||
return {
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
value: documentStatusToConvert.value
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertPriceList(priceListToConvert) {
|
export function convertPriceList(priceList) {
|
||||||
const { uuid, id, name, description } = priceListToConvert
|
const convertedPriceList = camelizeObjectKeys(priceList)
|
||||||
|
convertedPriceList.currency = convertCurrency(priceList.currency)
|
||||||
return {
|
return convertedPriceList
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
currency: convertCurrency(
|
|
||||||
priceListToConvert.currency
|
|
||||||
),
|
|
||||||
isDefault: priceListToConvert.is_default,
|
|
||||||
isTaxIncluded: priceListToConvert.is_tax_included,
|
|
||||||
isEnforcePriceLimit: priceListToConvert.is_enforce_price_limit,
|
|
||||||
isNetPrice: priceListToConvert.is_net_price,
|
|
||||||
pricePrecision: priceListToConvert.price_precision
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertProductPrice(productPriceToConvert) {
|
export function convertProductPrice(productPrice) {
|
||||||
return {
|
const convertedProductPrice = camelizeObjectKeys(productPrice)
|
||||||
currency: convertCurrency(
|
convertedProductPrice.currency = convertCurrency(productPrice.currency)
|
||||||
productPriceToConvert.currency
|
convertedProductPrice.taxRate = convertTaxRate(productPrice.tax_rate)
|
||||||
),
|
convertedProductPrice.product = convertProduct(productPrice.product)
|
||||||
taxRate: convertTaxRate(
|
convertedProductPrice.schemaCurrency = convertCurrency(productPrice.schema_currency)
|
||||||
productPriceToConvert.tax_rate
|
return convertedProductPrice
|
||||||
),
|
|
||||||
product: convertProduct(
|
|
||||||
productPriceToConvert.product
|
|
||||||
),
|
|
||||||
schemaCurrency: convertCurrency(
|
|
||||||
productPriceToConvert.schema_currency
|
|
||||||
),
|
|
||||||
schemaPriceLimit: productPriceToConvert.schema_price_limit,
|
|
||||||
schemaPriceList: productPriceToConvert.schema_price_list,
|
|
||||||
schemaPriceStandard: productPriceToConvert.schema_price_standard,
|
|
||||||
priceList: productPriceToConvert.price_list,
|
|
||||||
priceStandard: productPriceToConvert.price_standard,
|
|
||||||
priceLimit: productPriceToConvert.price_limit,
|
|
||||||
priceListName: productPriceToConvert.price_list_name,
|
|
||||||
isTaxIncluded: productPriceToConvert.is_tax_included,
|
|
||||||
valid_from: productPriceToConvert.validFrom,
|
|
||||||
pricePrecision: productPriceToConvert.price_precision,
|
|
||||||
quantityOnHand: productPriceToConvert.quantity_on_hand,
|
|
||||||
quantityReserved: productPriceToConvert.quantity_reserved,
|
|
||||||
quantityOrdered: productPriceToConvert.quantity_ordered,
|
|
||||||
quantityAvailable: productPriceToConvert.quantity_available
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertTaxRate(taxRateToConvert) {
|
export function convertTaxRate(taxRate) {
|
||||||
return {
|
return camelizeObjectKeys(taxRate)
|
||||||
name: taxRateToConvert.name,
|
|
||||||
description: taxRateToConvert.description,
|
|
||||||
taxIndicator: taxRateToConvert.tax_indicator,
|
|
||||||
rate: taxRateToConvert.rate
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertProduct(productToConvert) {
|
export function convertProduct(product) {
|
||||||
const { uuid, id, name, description, help } = productToConvert
|
return camelizeObjectKeys(product)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
id,
|
|
||||||
value: productToConvert.value,
|
|
||||||
name,
|
|
||||||
help,
|
|
||||||
documentNote: productToConvert.document_note,
|
|
||||||
uomName: productToConvert.uom_name,
|
|
||||||
productType: productToConvert.product_type,
|
|
||||||
isStocked: productToConvert.is_stocked,
|
|
||||||
isDropShip: productToConvert.is_drop_ship,
|
|
||||||
isPurchased: productToConvert.is_purchased,
|
|
||||||
isSold: productToConvert.is_sold,
|
|
||||||
imageUrl: productToConvert.image_url,
|
|
||||||
productCategoryName: productToConvert.product_category_name,
|
|
||||||
productGroupName: productToConvert.product_group_name,
|
|
||||||
productClassName: productToConvert.product_class_name,
|
|
||||||
productClassification_name: productToConvert.product_classification_name,
|
|
||||||
weight: productToConvert.weight,
|
|
||||||
volume: productToConvert.volume,
|
|
||||||
upc: productToConvert.upc,
|
|
||||||
sku: productToConvert.sku,
|
|
||||||
shelfWidth: productToConvert.shelf_width,
|
|
||||||
shelfHeight: productToConvert.shelf_height,
|
|
||||||
shelfDepth: productToConvert.shelf_depth,
|
|
||||||
unitsPerPack: productToConvert.units_per_pack,
|
|
||||||
unitsPerPallet: productToConvert.units_per_pallet,
|
|
||||||
guaranteeDays: productToConvert.guarantee_days,
|
|
||||||
descriptionUrl: productToConvert.description_url,
|
|
||||||
versionNo: productToConvert.version_no,
|
|
||||||
taxCategory: productToConvert.tax_category,
|
|
||||||
description
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -14,72 +14,27 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import { convertCriteria } from './core.js'
|
import { camelizeObjectKeys, renameObjectKey } from '../transformObject.js'
|
||||||
|
|
||||||
export function convertRecentItemsList(recentItemsListToConvert) {
|
export function convertRecentItemsList(recentItemsList) {
|
||||||
return {
|
const convertedList = camelizeObjectKeys(recentItemsList)
|
||||||
recordCount: recentItemsListToConvert.record_count,
|
convertedList.recentItemsList = recentItemsList.records.map(item => camelizeObjectKeys(item))
|
||||||
recentItemsList: recentItemsListToConvert.records.map(recentItem => {
|
delete convertedList['records']
|
||||||
return convertRecentItem(recentItem)
|
return convertedList
|
||||||
}),
|
|
||||||
nextPageToken: recentItemsListToConvert.next_page_token
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertRecentItem(recentItemToConvert) {
|
export function convertFavorite(favorite) {
|
||||||
return {
|
return camelizeObjectKeys(favorite)
|
||||||
menuUuid: recentItemToConvert.menu_uuid,
|
|
||||||
menuName: recentItemToConvert.menu_name,
|
|
||||||
menuDescription: recentItemToConvert.menu_description,
|
|
||||||
windowUuid: recentItemToConvert.window_uuid,
|
|
||||||
tabUuid: recentItemToConvert.tab_uuid,
|
|
||||||
tableId: recentItemToConvert.table_id,
|
|
||||||
tableName: recentItemToConvert.table_name,
|
|
||||||
id: recentItemToConvert.id,
|
|
||||||
uuid: recentItemToConvert.uuid,
|
|
||||||
displayName: recentItemToConvert.display_name,
|
|
||||||
updated: recentItemToConvert.updated,
|
|
||||||
referenceUuid: recentItemToConvert.reference_uuid,
|
|
||||||
action: recentItemToConvert.action
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertFavorite(favoriteToConvert) {
|
export function convertDashboard(dashboard) {
|
||||||
return {
|
return camelizeObjectKeys(dashboard)
|
||||||
menuUuid: favoriteToConvert.menu_uuid,
|
|
||||||
menuName: favoriteToConvert.menu_name,
|
|
||||||
menuDescription: favoriteToConvert.menu_description,
|
|
||||||
referenceUuid: favoriteToConvert.reference_uuid,
|
|
||||||
action: favoriteToConvert.action
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertDashboard(dashboardToConvert) {
|
export function convertPendingDocument(pendingDocument) {
|
||||||
return {
|
const convertedDocument = camelizeObjectKeys(pendingDocument)
|
||||||
windowUuid: dashboardToConvert.window_uuid,
|
convertedDocument.criteria = camelizeObjectKeys(pendingDocument.criteria)
|
||||||
browserUuid: dashboardToConvert.browser_uuid,
|
renameObjectKey(convertedDocument.criteria, 'values', 'valuesList')
|
||||||
dashboardName: dashboardToConvert.dashboard_name,
|
renameObjectKey(convertedDocument.criteria, 'orderByColumns', 'orderByColumnList')
|
||||||
dashboardDescription: dashboardToConvert.dashboard_description,
|
return convertedDocument
|
||||||
dashboardHtml: dashboardToConvert.dashboard_html,
|
|
||||||
columnNo: dashboardToConvert.column_no,
|
|
||||||
lineNo: dashboardToConvert.line_no,
|
|
||||||
isCollapsible: dashboardToConvert.is_collapsible,
|
|
||||||
isOpenByDefault: dashboardToConvert.is_open_by_default,
|
|
||||||
isEventRequired: dashboardToConvert.is_event_required,
|
|
||||||
fileName: dashboardToConvert.file_name
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function convertPendingDocument(pendingDocumentToConvert) {
|
|
||||||
return {
|
|
||||||
windowUuid: pendingDocumentToConvert.window_uuid,
|
|
||||||
formUuid: pendingDocumentToConvert.form_uuid,
|
|
||||||
documentName: pendingDocumentToConvert.document_name,
|
|
||||||
documentDescription: pendingDocumentToConvert.document_description,
|
|
||||||
sequence: pendingDocumentToConvert.sequence,
|
|
||||||
recordCount: pendingDocumentToConvert.record_count,
|
|
||||||
criteria: convertCriteria(
|
|
||||||
pendingDocumentToConvert.criteria
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -19,164 +19,49 @@ import {
|
|||||||
convertFieldGroup
|
convertFieldGroup
|
||||||
} from '@/utils/ADempiere/apiConverts/field.js'
|
} from '@/utils/ADempiere/apiConverts/field.js'
|
||||||
import { convertContextInfo } from '@/utils/ADempiere/apiConverts/core.js'
|
import { convertContextInfo } from '@/utils/ADempiere/apiConverts/core.js'
|
||||||
|
import { camelizeObjectKeys } from '../transformObject'
|
||||||
|
|
||||||
export function convertProcess(processToConvert) {
|
export function convertProcess(process) {
|
||||||
return {
|
const convertedProcess = camelizeObjectKeys(process)
|
||||||
accessLevel: processToConvert.access_level,
|
convertedProcess.parameters = process.parameters.map(parameter => convertField(parameter))
|
||||||
description: processToConvert.description,
|
return convertedProcess
|
||||||
help: processToConvert.help,
|
|
||||||
id: processToConvert.id,
|
|
||||||
isActive: processToConvert.is_active,
|
|
||||||
isDirectPrint: processToConvert.is_direct_print,
|
|
||||||
isReport: processToConvert.is_report,
|
|
||||||
name: processToConvert.name,
|
|
||||||
parameters: processToConvert.parameters.map(parameter => {
|
|
||||||
return convertField(parameter)
|
|
||||||
}),
|
|
||||||
reportExportTypes: processToConvert.report_export_types, // no convert content
|
|
||||||
showHelp: processToConvert.show_help,
|
|
||||||
uuid: processToConvert.uuid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert report export type
|
// Convert report export type
|
||||||
export function convertReportExportType(reportExportType) {
|
export function convertReportExportType(reportExportType) {
|
||||||
return {
|
return camelizeObjectKeys(reportExportType)
|
||||||
name: reportExportType.name,
|
|
||||||
description: reportExportType.description,
|
|
||||||
type: reportExportType.type
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertBrowser(browserToConvert) {
|
export function convertBrowser(browser) {
|
||||||
// browser definition
|
const convertedBrowser = camelizeObjectKeys(browser)
|
||||||
return {
|
convertedBrowser.window = convertWindow(browser.window)
|
||||||
// identifier attributes
|
convertedBrowser.process = convertProcess(browser.process)
|
||||||
id: browserToConvert.id,
|
convertedBrowser.fields = browser.fields.map(fieldItem => convertField(fieldItem))
|
||||||
uuid: browserToConvert.uuid,
|
return convertedBrowser
|
||||||
viewUuid: browserToConvert.view_uuid,
|
|
||||||
//
|
|
||||||
value: browserToConvert.value,
|
|
||||||
name: browserToConvert.name,
|
|
||||||
description: browserToConvert.description,
|
|
||||||
help: browserToConvert.help,
|
|
||||||
accessLevel: browserToConvert.access_level,
|
|
||||||
isActive: browserToConvert.is_active,
|
|
||||||
//
|
|
||||||
isUpdateable: browserToConvert.is_updateable,
|
|
||||||
isDeleteable: browserToConvert.is_deleteable,
|
|
||||||
isSelectedByDefault: browserToConvert.is_selected_by_default,
|
|
||||||
isCollapsibleByDefault: browserToConvert.is_collapsible_by_default,
|
|
||||||
isExecutedQueryByDefault: browserToConvert.is_executed_query_by_default,
|
|
||||||
isShowTotal: browserToConvert.is_show_total,
|
|
||||||
// search query
|
|
||||||
query: browserToConvert.query,
|
|
||||||
whereClause: browserToConvert.where_clause,
|
|
||||||
orderByClause: browserToConvert.order_by_clause,
|
|
||||||
// External Reference
|
|
||||||
window: convertWindow(
|
|
||||||
browserToConvert.window
|
|
||||||
),
|
|
||||||
process: convertProcess(
|
|
||||||
browserToConvert.process
|
|
||||||
),
|
|
||||||
//
|
|
||||||
fields: browserToConvert.fields.map(fieldItem => {
|
|
||||||
return convertField(fieldItem)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertForm(formToConvert) {
|
export function convertForm(form) {
|
||||||
return {
|
return camelizeObjectKeys(form)
|
||||||
id: formToConvert.id,
|
|
||||||
uuid: formToConvert.uuid,
|
|
||||||
name: formToConvert.name,
|
|
||||||
description: formToConvert.description,
|
|
||||||
help: formToConvert.help,
|
|
||||||
accessLevel: formToConvert.access_level,
|
|
||||||
fileName: formToConvert.file_name,
|
|
||||||
isActive: formToConvert.is_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertWindow(windowToConvert) {
|
export function convertWindow(windowToConvert) {
|
||||||
return {
|
const convertedWindow = camelizeObjectKeys(windowToConvert)
|
||||||
id: windowToConvert.id,
|
convertedWindow.contextInfo = convertContextInfo(windowToConvert.context_info)
|
||||||
uuid: windowToConvert.uuid,
|
convertedWindow.tabs = windowToConvert.tabs.map(tab => convertTab(tab))
|
||||||
name: windowToConvert.name,
|
return convertedWindow
|
||||||
description: windowToConvert.description,
|
|
||||||
help: windowToConvert.help,
|
|
||||||
isActive: windowToConvert.is_active,
|
|
||||||
isSalesTransaction: windowToConvert.is_sales_transaction,
|
|
||||||
windowType: windowToConvert.window_type,
|
|
||||||
contextInfo: convertContextInfo(
|
|
||||||
windowToConvert.context_info
|
|
||||||
),
|
|
||||||
tabs: windowToConvert.tabs.map(tab => {
|
|
||||||
return convertTab(tab)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// convert Tabs
|
// convert Tabs
|
||||||
export function convertTab(tabToConvert) {
|
export function convertTab(tab) {
|
||||||
return {
|
const convertedTab = camelizeObjectKeys(tab)
|
||||||
id: tabToConvert.id,
|
convertedTab.contextInfo = convertContextInfo(tab.context_info)
|
||||||
uuid: tabToConvert.uuid,
|
convertedTab.fieldGroup = convertFieldGroup(tab.field_group)
|
||||||
name: tabToConvert.name,
|
convertedTab.processes = tab.processes.map(process => convertProcess(process))
|
||||||
description: tabToConvert.description,
|
convertedTab.fields = tab.fields.map(field => convertField(field))
|
||||||
help: tabToConvert.help,
|
return convertedTab
|
||||||
tableName: tabToConvert.table_name,
|
|
||||||
sequence: tabToConvert.sequence,
|
|
||||||
tabLevel: tabToConvert.tab_level,
|
|
||||||
isActive: tabToConvert.is_active,
|
|
||||||
isSingleRow: tabToConvert.is_single_row,
|
|
||||||
isAdvancedTab: tabToConvert.is_advanced_tab,
|
|
||||||
isHasTree: tabToConvert.is_has_tree,
|
|
||||||
isInfoTab: tabToConvert.is_info_tab,
|
|
||||||
isSortTab: tabToConvert.is_sort_tab,
|
|
||||||
isTranslationTab: tabToConvert.is_translation_tab,
|
|
||||||
isReadOnly: tabToConvert.is_read_only,
|
|
||||||
isInsertRecord: tabToConvert.is_insert_record,
|
|
||||||
isView: tabToConvert.is_view,
|
|
||||||
isDeleteable: tabToConvert.is_deleteable,
|
|
||||||
isDocument: tabToConvert.is_document,
|
|
||||||
isChangeLog: tabToConvert.is_change_log,
|
|
||||||
accessLevel: tabToConvert.access_level,
|
|
||||||
linkColumnName: tabToConvert.link_column_name,
|
|
||||||
sortOrderColumnName: tabToConvert.sort_order_column_name,
|
|
||||||
sortYesNoColumnName: tabToConvert.sort_yes_no_column_name,
|
|
||||||
parentColumnName: tabToConvert.parent_column_name,
|
|
||||||
displayLogic: tabToConvert.display_logic,
|
|
||||||
commitWarning: tabToConvert.commit_warning,
|
|
||||||
query: tabToConvert.query,
|
|
||||||
whereClause: tabToConvert.where_clause,
|
|
||||||
orderByClause: tabToConvert.order_by_clause,
|
|
||||||
parentTabUuid: tabToConvert.parent_tab_uuid,
|
|
||||||
contextInfo: convertContextInfo(
|
|
||||||
tabToConvert.context_info
|
|
||||||
),
|
|
||||||
fieldGroup: convertFieldGroup(
|
|
||||||
tabToConvert.field_group
|
|
||||||
),
|
|
||||||
processes: tabToConvert.processes.map(process => {
|
|
||||||
return convertProcess(process)
|
|
||||||
}),
|
|
||||||
fields: tabToConvert.fields.map(field => {
|
|
||||||
return convertField(field)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert Validation Rule
|
// Convert Validation Rule
|
||||||
export function convertValidationRule(validationRuleToConvert) {
|
export function convertValidationRule(validationRule) {
|
||||||
return {
|
return camelizeObjectKeys(validationRule)
|
||||||
id: validationRuleToConvert.id,
|
|
||||||
uuid: validationRuleToConvert.uuid,
|
|
||||||
name: validationRuleToConvert.name,
|
|
||||||
description: validationRuleToConvert.description,
|
|
||||||
validationCode: validationRuleToConvert.validation_code,
|
|
||||||
type: validationRuleToConvert.type
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -15,194 +15,64 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import { convertContextInfo } from '@/utils/ADempiere/apiConverts/core.js'
|
import { convertContextInfo } from '@/utils/ADempiere/apiConverts/core.js'
|
||||||
|
import { camelizeObjectKeys, renameObjectKey } from '../transformObject'
|
||||||
|
|
||||||
export function convertField(fieldToConvert) {
|
export function convertField(field) {
|
||||||
return {
|
const convertedField = camelizeObjectKeys(field)
|
||||||
// base attributes
|
convertedField.fieldGroup = convertFieldGroup(field.Fieldgroup)
|
||||||
id: fieldToConvert.id,
|
delete convertedField['Fieldgroup']
|
||||||
uuid: fieldToConvert.uuid,
|
convertedField.reference = convertReference(field.reference)
|
||||||
name: fieldToConvert.name,
|
convertedField.contextInfo = convertContextInfo(field.context_info)
|
||||||
description: fieldToConvert.description,
|
convertedField.fieldDefinition = convertFieldDefinition(field.Fielddefinition)
|
||||||
help: fieldToConvert.help,
|
delete convertedField['Fielddefinition']
|
||||||
columnName: fieldToConvert.column_name,
|
convertedField.valueMin = field.value_max
|
||||||
elementName: fieldToConvert.element_name,
|
renameObjectKey(convertedField, 'columnSql', 'columnSQL')
|
||||||
isActive: fieldToConvert.is_active,
|
return convertedField
|
||||||
// displayed attributes
|
|
||||||
fieldGroup: convertFieldGroup(
|
|
||||||
fieldToConvert.Fieldgroup
|
|
||||||
),
|
|
||||||
displayType: fieldToConvert.display_type,
|
|
||||||
isFieldOnly: fieldToConvert.is_field_only,
|
|
||||||
isRange: fieldToConvert.is_range,
|
|
||||||
isSameLine: fieldToConvert.is_same_line,
|
|
||||||
isEncrypted: fieldToConvert.is_encrypted, // passswords fields
|
|
||||||
isQuickEntry: fieldToConvert.is_quick_entry,
|
|
||||||
sequence: fieldToConvert.sequence,
|
|
||||||
seqNoGrid: fieldToConvert.seq_no_grid,
|
|
||||||
sortNo: fieldToConvert.sort_no,
|
|
||||||
identifierSequence: fieldToConvert.identifier_sequence,
|
|
||||||
// value attributes
|
|
||||||
formatPattern: fieldToConvert.format_pattern,
|
|
||||||
vFormat: fieldToConvert.v_format,
|
|
||||||
defaultValue: fieldToConvert.default_value,
|
|
||||||
defaultValueTo: fieldToConvert.default_value_to,
|
|
||||||
fieldLength: fieldToConvert.field_length,
|
|
||||||
valueMin: fieldToConvert.value_max,
|
|
||||||
valueMax: fieldToConvert.value_max,
|
|
||||||
//
|
|
||||||
isIdentifier: fieldToConvert.is_identifier,
|
|
||||||
isParent: fieldToConvert.is_parent,
|
|
||||||
isKey: fieldToConvert.is_key,
|
|
||||||
isSelectionColumn: fieldToConvert.is_selection_column,
|
|
||||||
isUpdateable: fieldToConvert.is_updateable,
|
|
||||||
isAlwaysUpdateable: fieldToConvert.is_always_updateable,
|
|
||||||
//
|
|
||||||
isAllowCopy: fieldToConvert.is_allow_copy,
|
|
||||||
isHeading: fieldToConvert.is_heading,
|
|
||||||
isAllowLogging: fieldToConvert.is_allow_logging,
|
|
||||||
isTranslated: fieldToConvert.is_translated,
|
|
||||||
//
|
|
||||||
columnSQL: fieldToConvert.column_sql,
|
|
||||||
//
|
|
||||||
isDisplayed: fieldToConvert.is_displayed,
|
|
||||||
isDisplayedGrid: fieldToConvert.is_displayed_grid,
|
|
||||||
isMandatory: fieldToConvert.is_mandatory,
|
|
||||||
isReadOnly: fieldToConvert.is_read_only,
|
|
||||||
// Smart Browser attributes
|
|
||||||
isQueryCriteria: fieldToConvert.is_query_criteria,
|
|
||||||
isOrderBy: fieldToConvert.is_order_by,
|
|
||||||
isinfoOnly: fieldToConvert.is_info_only,
|
|
||||||
// logics
|
|
||||||
callout: fieldToConvert.callout,
|
|
||||||
displayLogic: fieldToConvert.display_logic,
|
|
||||||
mandatoryLogic: fieldToConvert.mandatory_logic,
|
|
||||||
readOnlyLogic: fieldToConvert.read_only_logic,
|
|
||||||
// External info
|
|
||||||
reference: convertReference(
|
|
||||||
fieldToConvert.reference
|
|
||||||
),
|
|
||||||
contextInfo: convertContextInfo(
|
|
||||||
fieldToConvert.context_info
|
|
||||||
),
|
|
||||||
fieldDefinition: convertFieldDefinition(
|
|
||||||
fieldToConvert.Fielddefinition
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertFieldGroup(fieldGroupToConvert) {
|
export function convertFieldGroup(fieldGroup) {
|
||||||
if (fieldGroupToConvert) {
|
if (!fieldGroup) {
|
||||||
return {
|
return {}
|
||||||
id: fieldGroupToConvert.id,
|
|
||||||
uuid: fieldGroupToConvert.uuid,
|
|
||||||
name: fieldGroupToConvert.name,
|
|
||||||
fieldGroupType: fieldGroupToConvert.field_group_type,
|
|
||||||
isActive: fieldGroupToConvert.is_active,
|
|
||||||
//
|
|
||||||
groupName: fieldGroupToConvert.name,
|
|
||||||
groupType: fieldGroupToConvert.field_group_type
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
name: undefined,
|
|
||||||
fieldGroupType: undefined,
|
|
||||||
isActive: undefined,
|
|
||||||
//
|
|
||||||
groupName: undefined,
|
|
||||||
groupType: undefined
|
|
||||||
}
|
}
|
||||||
|
const convertedFieldGroup = camelizeObjectKeys(fieldGroup)
|
||||||
|
convertedFieldGroup.groupName = convertedFieldGroup.name
|
||||||
|
convertedFieldGroup.groupType = convertedFieldGroup.fieldGroupType
|
||||||
|
return convertedFieldGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertReference(referenceToConvert) {
|
export function convertReference(reference) {
|
||||||
if (referenceToConvert) {
|
if (!reference) {
|
||||||
return {
|
return {
|
||||||
tableName: referenceToConvert.table_name,
|
zoomWindows: []
|
||||||
keyColumnName: referenceToConvert.key_column_name,
|
|
||||||
displayColumnName: referenceToConvert.display_column_name,
|
|
||||||
query: referenceToConvert.query,
|
|
||||||
directQuery: referenceToConvert.direct_query,
|
|
||||||
validationCode: referenceToConvert.validation_code,
|
|
||||||
zoomWindows: referenceToConvert.zoom_windows
|
|
||||||
.map(zoomWindowItem => {
|
|
||||||
return convertZoomWindow(zoomWindowItem)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {
|
const convertedReference = camelizeObjectKeys(reference)
|
||||||
tableName: undefined,
|
convertedReference.zoomWindows = reference.zoom_windows.map(zoomWindowItem => convertZoomWindow(zoomWindowItem))
|
||||||
keyColumnName: undefined,
|
return convertedReference
|
||||||
displayColumnName: undefined,
|
|
||||||
query: undefined,
|
|
||||||
directQuery: undefined,
|
|
||||||
validationCode: undefined,
|
|
||||||
zoomWindows: []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertZoomWindow(zoomWindowToConvert) {
|
export function convertZoomWindow(zoomWindowToConvert) {
|
||||||
if (zoomWindowToConvert) {
|
if (!zoomWindowToConvert) {
|
||||||
return {
|
return {}
|
||||||
id: zoomWindowToConvert.id,
|
|
||||||
uuid: zoomWindowToConvert.uuid,
|
|
||||||
name: zoomWindowToConvert.name,
|
|
||||||
description: zoomWindowToConvert.description,
|
|
||||||
isSalesTransaction: zoomWindowToConvert.is_sales_transaction,
|
|
||||||
isActive: zoomWindowToConvert.is_active
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
name: undefined,
|
|
||||||
description: undefined,
|
|
||||||
isSalesTransaction: undefined,
|
|
||||||
isActive: undefined
|
|
||||||
}
|
}
|
||||||
|
const convertedwindow = camelizeObjectKeys(zoomWindowToConvert)
|
||||||
|
return convertedwindow
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertFieldDefinition(fieldDefinitionToConvert) {
|
export function convertFieldDefinition(fieldDefinition) {
|
||||||
if (fieldDefinitionToConvert) {
|
if (!fieldDefinition) {
|
||||||
return {
|
return { conditions: [] }
|
||||||
id: fieldDefinitionToConvert.id,
|
|
||||||
uuid: fieldDefinitionToConvert.uuid,
|
|
||||||
value: fieldDefinitionToConvert.Value,
|
|
||||||
name: fieldDefinitionToConvert.name,
|
|
||||||
isActive: fieldDefinitionToConvert.is_active,
|
|
||||||
fieldGroupType: fieldDefinitionToConvert.field_group_type,
|
|
||||||
conditions: fieldDefinitionToConvert.conditions
|
|
||||||
.map(itemCondition => {
|
|
||||||
return connvertFieldCondition(itemCondition)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
value: undefined,
|
|
||||||
name: undefined,
|
|
||||||
fieldGroupType: undefined,
|
|
||||||
isActive: undefined,
|
|
||||||
conditions: []
|
|
||||||
}
|
}
|
||||||
|
const convertedDefinition = camelizeObjectKeys(fieldDefinition)
|
||||||
|
renameObjectKey(convertedDefinition, 'Value', 'value')
|
||||||
|
convertedDefinition.conditions = fieldDefinition.conditions
|
||||||
|
.map(itemCondition => connvertFieldCondition(itemCondition))
|
||||||
|
return convertedDefinition
|
||||||
}
|
}
|
||||||
|
|
||||||
export function connvertFieldCondition(fieldConditionToConvert) {
|
function connvertFieldCondition(fieldConditionToConvert) {
|
||||||
if (fieldConditionToConvert) {
|
if (!fieldConditionToConvert) {
|
||||||
return {
|
return {}
|
||||||
id: fieldConditionToConvert.id,
|
|
||||||
uuid: fieldConditionToConvert.uuid,
|
|
||||||
condition: fieldConditionToConvert.condition,
|
|
||||||
styleSheet: fieldConditionToConvert.style_sheet,
|
|
||||||
isActive: fieldConditionToConvert.is_active
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
id: undefined,
|
|
||||||
uuid: undefined,
|
|
||||||
condition: undefined,
|
|
||||||
stylesheet: undefined,
|
|
||||||
isActive: undefined
|
|
||||||
}
|
}
|
||||||
|
return camelizeObjectKeys(fieldConditionToConvert)
|
||||||
}
|
}
|
||||||
|
@ -15,33 +15,24 @@
|
|||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import { convertArrayKeyValueToObject } from '@/utils/ADempiere/valueFormat.js'
|
import { convertArrayKeyValueToObject } from '@/utils/ADempiere/valueFormat.js'
|
||||||
|
import { camelizeObjectKeys } from '../transformObject'
|
||||||
|
|
||||||
export function convertEntityList(entityListToConvert) {
|
export function convertEntityList(entityList) {
|
||||||
return {
|
const convertedEntityList = camelizeObjectKeys(entityList)
|
||||||
nextPageToken: entityListToConvert.next_page_token,
|
convertedEntityList.recordsList = entityList.records.map(record => convertEntity(record))
|
||||||
recordCount: entityListToConvert.record_count,
|
delete convertedEntityList['records']
|
||||||
recordsList: entityListToConvert.records.map(record => {
|
return convertedEntityList
|
||||||
return convertEntity(record)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertEntity(entityToConvert) {
|
export function convertEntity(entity) {
|
||||||
return {
|
const convertedEntity = camelizeObjectKeys(entity)
|
||||||
id: entityToConvert.id,
|
convertedEntity.attributes = convertArrayKeyValueToObject({
|
||||||
uuid: entityToConvert.uuid,
|
array: entity.attributes,
|
||||||
tableName: entityToConvert.table_name,
|
keyName: 'key'
|
||||||
attributes: convertArrayKeyValueToObject({
|
})
|
||||||
array: entityToConvert.attributes,
|
return convertedEntity
|
||||||
keyName: 'key'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertTranslation(translationToConvert) {
|
export function convertTranslation(translation) {
|
||||||
return {
|
return camelizeObjectKeys(translation)
|
||||||
language: translationToConvert.language,
|
|
||||||
uuid: translationToConvert.uuid,
|
|
||||||
values: translationToConvert.values
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import { camelizeObjectKeys } from '../transformObject.js'
|
||||||
import {
|
import {
|
||||||
convertBankAccount,
|
convertBankAccount,
|
||||||
convertBusinessPartner,
|
convertBusinessPartner,
|
||||||
@ -25,150 +26,55 @@ import {
|
|||||||
convertTaxRate
|
convertTaxRate
|
||||||
} from './core.js'
|
} from './core.js'
|
||||||
|
|
||||||
export function convertPointOfSales(posToConvert) {
|
export function convertPointOfSales(pos) {
|
||||||
const { uuid, id, name, description, help } = posToConvert
|
const convertedPos = camelizeObjectKeys(pos)
|
||||||
|
convertedPos.documentType = convertDocumentType(pos.document_type)
|
||||||
return {
|
convertedPos.cashBankAccount = convertBankAccount(pos.cash_bank_account)
|
||||||
id,
|
convertedPos.cashTransferBankAccount = convertBankAccount(pos.cash_transfer_bank_account)
|
||||||
uuid,
|
convertedPos.templateBusinessPartner = convertBusinessPartner(pos.template_business_partner)
|
||||||
name,
|
convertedPos.priceList = convertPriceList(pos.price_list)
|
||||||
description,
|
return convertedPos
|
||||||
help,
|
|
||||||
isModifyPrice: posToConvert.is_modify_price,
|
|
||||||
isPosRequiredPin: posToConvert.is_pos_required_pin,
|
|
||||||
isAisleSeller: posToConvert.is_aisle_seller,
|
|
||||||
isSharedPos: posToConvert.is_shared_pos,
|
|
||||||
documentType: convertDocumentType(
|
|
||||||
posToConvert.document_type
|
|
||||||
),
|
|
||||||
cashBankAccount: convertBankAccount(
|
|
||||||
posToConvert.cash_bank_account
|
|
||||||
),
|
|
||||||
cashTransferBankAccount: convertBankAccount(
|
|
||||||
posToConvert.cash_transfer_bank_account
|
|
||||||
),
|
|
||||||
salesRepresentative: posToConvert.sales_representative,
|
|
||||||
templateBusinessPartner: convertBusinessPartner(
|
|
||||||
posToConvert.template_business_partner
|
|
||||||
),
|
|
||||||
priceList: convertPriceList(
|
|
||||||
posToConvert.price_list
|
|
||||||
),
|
|
||||||
conversionTypeUuid: posToConvert.conversion_type_uuid,
|
|
||||||
keyLayoutUuid: posToConvert.key_layout_uuid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertOrder(orderToConvert) {
|
export function convertOrder(order) {
|
||||||
return {
|
const convertedOrder = camelizeObjectKeys(order)
|
||||||
uuid: orderToConvert.uuid,
|
convertedOrder.documentType = convertDocumentType(order.document_type)
|
||||||
id: orderToConvert.id,
|
convertedOrder.salesRepresentative = convertSalesRepresentative(order.sales_representative)
|
||||||
documentNo: orderToConvert.document_no,
|
convertedOrder.documentStatus = convertDocumentStatus(order.document_status)
|
||||||
documentType: convertDocumentType(
|
convertedOrder.businessPartner = convertBusinessPartner(order.business_partner)
|
||||||
orderToConvert.document_type
|
return convertedOrder
|
||||||
),
|
|
||||||
salesRepresentative: convertSalesRepresentative(
|
|
||||||
orderToConvert.sales_representative
|
|
||||||
),
|
|
||||||
documentStatus: convertDocumentStatus(
|
|
||||||
orderToConvert.document_status
|
|
||||||
),
|
|
||||||
totalLines: orderToConvert.total_lines,
|
|
||||||
grandTotal: orderToConvert.grand_total,
|
|
||||||
dateOrdered: orderToConvert.date_ordered,
|
|
||||||
businessPartner: convertBusinessPartner(
|
|
||||||
orderToConvert.business_partner
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertOrderLine(orderLineToConvert) {
|
export function convertOrderLine(orderLine) {
|
||||||
return {
|
const convertedOrderLine = camelizeObjectKeys(orderLine)
|
||||||
uuid: orderLineToConvert.uuid,
|
convertedOrderLine.product = convertProduct(orderLine.product)
|
||||||
orderUuid: orderLineToConvert.order_uuid,
|
convertedOrderLine.taxRate = convertTaxRate(orderLine.tax_rate)
|
||||||
line: orderLineToConvert.line,
|
return convertedOrderLine
|
||||||
product: convertProduct(
|
|
||||||
orderLineToConvert.product
|
|
||||||
),
|
|
||||||
charge: orderLineToConvert.charge,
|
|
||||||
description: orderLineToConvert.description,
|
|
||||||
lineDescription: orderLineToConvert.line_description,
|
|
||||||
quantity: orderLineToConvert.quantity,
|
|
||||||
price: orderLineToConvert.price,
|
|
||||||
discountRate: orderLineToConvert.discount_rate,
|
|
||||||
lineNetAmount: orderLineToConvert.line_net_amount,
|
|
||||||
taxRate: convertTaxRate(
|
|
||||||
orderLineToConvert.tax_rate
|
|
||||||
),
|
|
||||||
warehouse: orderLineToConvert.warehouse
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertKeyLayout(keyLayoutToConvert) {
|
export function convertKeyLayout(keyLayout) {
|
||||||
return {
|
const convertedKeyLayout = camelizeObjectKeys(keyLayout)
|
||||||
uuid: keyLayoutToConvert.uuid,
|
convertedKeyLayout.keysList = keyLayout.keys.map(key => convertKey(key))
|
||||||
id: keyLayoutToConvert.id,
|
delete convertedKeyLayout['keys']
|
||||||
name: keyLayoutToConvert.name,
|
return convertedKeyLayout
|
||||||
description: keyLayoutToConvert.description,
|
|
||||||
help: keyLayoutToConvert.help,
|
|
||||||
layoutType: keyLayoutToConvert.layout_type,
|
|
||||||
columns: keyLayoutToConvert.columns,
|
|
||||||
color: keyLayoutToConvert.color,
|
|
||||||
keysList: keyLayoutToConvert.keys.map(itemKey => {
|
|
||||||
return convertKey(itemKey)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertKey(keyToConvert) {
|
function convertKey(key) {
|
||||||
return {
|
const convertedKey = camelizeObjectKeys(key)
|
||||||
uuid: keyToConvert.uuid,
|
convertedKey.resourceReference = convertResourceReference(key.resource_reference)
|
||||||
id: keyToConvert.id,
|
return convertedKey
|
||||||
name: keyToConvert.name,
|
|
||||||
description: keyToConvert.description,
|
|
||||||
subKeyLayoutUuid: keyToConvert.sub_key_layout_uuid,
|
|
||||||
color: keyToConvert.color,
|
|
||||||
sequence: keyToConvert.sequence,
|
|
||||||
spanX: keyToConvert.span_x,
|
|
||||||
spanY: keyToConvert.span_y,
|
|
||||||
productValue: keyToConvert.product_value,
|
|
||||||
quantity: keyToConvert.quantity,
|
|
||||||
resourceReference: convertResourceReference(
|
|
||||||
keyToConvert.resource_reference
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertResourceReference(resourceReferenceToConvert) {
|
function convertResourceReference(resourceReference) {
|
||||||
if (resourceReferenceToConvert) {
|
if (!resourceReference) {
|
||||||
return {
|
return undefined
|
||||||
resourceUuid: resourceReferenceToConvert.resource_uuid,
|
|
||||||
fileName: resourceReferenceToConvert.file_name,
|
|
||||||
fileSize: resourceReferenceToConvert.file_size,
|
|
||||||
description: resourceReferenceToConvert.description,
|
|
||||||
textMsg: resourceReferenceToConvert.text_msg,
|
|
||||||
contentType: resourceReferenceToConvert.content_type
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return undefined
|
return camelizeObjectKeys(resourceReference)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function paymentsMethod(payments) {
|
export function paymentsMethod(payments) {
|
||||||
if (payments) {
|
if (!payments) {
|
||||||
return {
|
return undefined
|
||||||
amount: payments.amount,
|
|
||||||
bankUuid: payments.bank_uuid,
|
|
||||||
businessPartner: payments.business_partner,
|
|
||||||
currencyUuid: payments.currency_uuid,
|
|
||||||
description: payments.description,
|
|
||||||
documentNo: payments.document_no,
|
|
||||||
documentStatus: payments.document_status,
|
|
||||||
id: payments.id,
|
|
||||||
orderUuid: payments.order_uuid,
|
|
||||||
paymentDate: payments.payment_date,
|
|
||||||
referenceNo: payments.reference_no,
|
|
||||||
tenderTypeCode: payments.tender_type_code,
|
|
||||||
uuid: payments.uuid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return undefined
|
return camelizeObjectKeys(payments)
|
||||||
}
|
}
|
||||||
|
@ -14,22 +14,13 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import { camelizeObjectKeys } from '../transformObject.js'
|
||||||
import { isEmptyValue } from '../valueUtils.js'
|
import { isEmptyValue } from '../valueUtils.js'
|
||||||
import { convertReportOutput } from './report.js'
|
import { convertReportOutput } from './report.js'
|
||||||
|
|
||||||
export function convertProcessLog(processLogToConvert) {
|
export function convertProcessLog(processLog) {
|
||||||
return {
|
const convertedProcessLog = camelizeObjectKeys(processLog)
|
||||||
uuid: processLogToConvert.uuid,
|
convertedProcessLog.paramenters = []
|
||||||
instanceUuid: processLogToConvert.instance_uuid,
|
convertedProcessLog.output = isEmptyValue(processLog.output) ? {} : convertReportOutput(processLog.output)
|
||||||
isError: processLogToConvert.is_error,
|
return convertedProcessLog
|
||||||
summary: processLogToConvert.summary,
|
|
||||||
resultTableName: processLogToConvert.result_table_name,
|
|
||||||
isProcessing: processLogToConvert.is_processing,
|
|
||||||
lastRun: processLogToConvert.last_run,
|
|
||||||
// parametersList: processLogToConvert.parameter.map(parameter => {
|
|
||||||
// return convertEntity(parameter)
|
|
||||||
// }),
|
|
||||||
paramenters: [],
|
|
||||||
output: isEmptyValue(processLogToConvert.output) ? {} : convertReportOutput(processLogToConvert.output)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -14,70 +14,29 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
export function convertListPrintFormats(listPrintFormatsToConvert) {
|
import { camelizeObjectKeys, renameObjectKey } from '../transformObject'
|
||||||
return {
|
|
||||||
recordCount: listPrintFormatsToConvert.record_count,
|
export function convertListPrintFormats(printFormats) {
|
||||||
records: listPrintFormatsToConvert.records.map(record => {
|
const convertedPrintFormats = camelizeObjectKeys(printFormats)
|
||||||
return convertPrintFormat(record)
|
convertedPrintFormats.records = printFormats.records.map(record => convertPrintFormat(record))
|
||||||
}),
|
return convertedPrintFormats
|
||||||
nextPageToken: listPrintFormatsToConvert.next_page_token
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertPrintFormat(printFormatToConvert) {
|
function convertPrintFormat(printFormat) {
|
||||||
const { name, description } = printFormatToConvert
|
return camelizeObjectKeys(printFormat)
|
||||||
|
|
||||||
return {
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
tableName: printFormatToConvert.table_name,
|
|
||||||
isDefault: printFormatToConvert.is_default,
|
|
||||||
reportViewUuid: printFormatToConvert.report_view_uuid,
|
|
||||||
printFormatUuid: printFormatToConvert.print_format_uuid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertReportOutput(reportOutputToConvert) {
|
export function convertReportOutput(reportOutput) {
|
||||||
const { uuid, name, description } = reportOutputToConvert
|
const convertedReportOutput = camelizeObjectKeys(reportOutput)
|
||||||
|
renameObjectKey(convertedReportOutput, 'outputStreamAsB64', 'outputStream_asB64')
|
||||||
return {
|
renameObjectKey(convertedReportOutput, 'outputStreamAsU8', 'outputStream_asU8')
|
||||||
uuid,
|
return convertedReportOutput
|
||||||
name,
|
|
||||||
description,
|
|
||||||
fileName: reportOutputToConvert.file_name,
|
|
||||||
output: reportOutputToConvert.output,
|
|
||||||
mimeType: reportOutputToConvert.mime_type,
|
|
||||||
dataCols: reportOutputToConvert.data_cols,
|
|
||||||
dataRows: reportOutputToConvert.data_rows,
|
|
||||||
headerName: reportOutputToConvert.header_name,
|
|
||||||
footerName: reportOutputToConvert.footer_name,
|
|
||||||
printFormatUuid: reportOutputToConvert.print_format_uuid,
|
|
||||||
reportViewUuid: reportOutputToConvert.report_view_uuid,
|
|
||||||
tableName: reportOutputToConvert.table_name,
|
|
||||||
outputStream: reportOutputToConvert.output_stream,
|
|
||||||
// outputStreamAsB64
|
|
||||||
outputStream_asB64: reportOutputToConvert.output_stream_asB64,
|
|
||||||
// outputStreamAsU8
|
|
||||||
outputStream_asU8: reportOutputToConvert.output_stream_asU8,
|
|
||||||
reportType: reportOutputToConvert.report_type
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertDrillTables(drillTablesToConvert) {
|
export function convertDrillTables(drillTables) {
|
||||||
return {
|
return camelizeObjectKeys(drillTables)
|
||||||
tableName: drillTablesToConvert.table_name,
|
|
||||||
printName: drillTablesToConvert.print_name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertReportView(reportViewToConvert) {
|
export function convertReportView(reportView) {
|
||||||
const { uuid, name, description } = reportViewToConvert
|
return camelizeObjectKeys(reportView)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
tableName: reportViewToConvert.table_name,
|
|
||||||
reportViewUuid: reportViewToConvert.report_view_uuid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -14,59 +14,14 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
export function convertSession(sessionToConvert) {
|
import { camelizeObjectKeys } from '../transformObject'
|
||||||
return {
|
|
||||||
id: sessionToConvert.id,
|
export function convertSession(session) {
|
||||||
uuid: sessionToConvert.uuid,
|
const convertedSession = camelizeObjectKeys(session)
|
||||||
name: sessionToConvert.name,
|
convertedSession.role = convertRole(session.role)
|
||||||
userInfo: sessionToConvert.user_info,
|
return convertedSession
|
||||||
role: convertRole(
|
|
||||||
sessionToConvert.role
|
|
||||||
),
|
|
||||||
processed: sessionToConvert.processed,
|
|
||||||
defaultContext: sessionToConvert.default_context,
|
|
||||||
// system info
|
|
||||||
countryId: sessionToConvert.country_id,
|
|
||||||
costingPrecision: sessionToConvert.costing_precision,
|
|
||||||
countryCode: sessionToConvert.country_code,
|
|
||||||
countryName: sessionToConvert.country_name,
|
|
||||||
currencyIsoCode: sessionToConvert.currency_iso_code,
|
|
||||||
currencyName: sessionToConvert.currency_name,
|
|
||||||
currencySymbol: sessionToConvert.currency_symbol,
|
|
||||||
displaySequence: sessionToConvert.display_sequence,
|
|
||||||
language: sessionToConvert.language,
|
|
||||||
standardPrecision: sessionToConvert.standard_precision
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertRole(roleToConvert) {
|
export function convertRole(role) {
|
||||||
const { id, uuid, name, description } = roleToConvert
|
return camelizeObjectKeys(role)
|
||||||
|
|
||||||
return {
|
|
||||||
id,
|
|
||||||
uuid,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
clientId: roleToConvert.client_id,
|
|
||||||
clientName: roleToConvert.client_name,
|
|
||||||
isAllowHtmlView: roleToConvert.is_allow_html_view,
|
|
||||||
isAllowInfoAccount: roleToConvert.is_allow_info_account,
|
|
||||||
isAllowInfoAsset: roleToConvert.is_allow_info_asset,
|
|
||||||
isAllowInfoBusinessPartner: roleToConvert.is_allow_info_business_partner,
|
|
||||||
isAllowInfoCashJournal: roleToConvert.is_allow_info_cash_journal,
|
|
||||||
isAllowInfoCrp: roleToConvert.is_allow_info_crp,
|
|
||||||
isAllowInfoInOut: roleToConvert.is_allow_info_in_out,
|
|
||||||
isAllowInfoInvoice: roleToConvert.is_allow_info_invoice,
|
|
||||||
isAllowInfoMrp: roleToConvert.is_allow_info_mrp,
|
|
||||||
isAllowInfoOrder: roleToConvert.is_allow_info_order,
|
|
||||||
isAllowInfoPayment: roleToConvert.is_allow_info_payment,
|
|
||||||
isAllowInfoProduct: roleToConvert.is_allow_info_product,
|
|
||||||
isAllowInfoResource: roleToConvert.is_allow_info_resource,
|
|
||||||
isAllowInfoSchedule: roleToConvert.is_allow_info_schedule,
|
|
||||||
isAllowXlsView: roleToConvert.is_allow_xls_view,
|
|
||||||
isCanExport: roleToConvert.is_can_export,
|
|
||||||
isCanReport: roleToConvert.is_can_report,
|
|
||||||
isPersonalAccess: roleToConvert.is_personal_access,
|
|
||||||
isPersonalLock: roleToConvert.is_personal_lock
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -13,26 +13,15 @@
|
|||||||
|
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
import { camelizeObjectKeys } from '../transformObject'
|
||||||
|
|
||||||
export function convertReferencesList(listReferencesToConvert) {
|
export function convertReferencesList(references) {
|
||||||
return {
|
const convertedReferences = camelizeObjectKeys(references)
|
||||||
recordCount: listReferencesToConvert.record_count,
|
convertedReferences.referencesList = references.records.map(record => convertReference(record))
|
||||||
referencesList: listReferencesToConvert.records.map(record => {
|
delete convertedReferences['records']
|
||||||
return convertReference(record)
|
return convertedReferences
|
||||||
}),
|
|
||||||
nextPageToken: listReferencesToConvert.next_page_token
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertReference(referenceToConvert) {
|
export function convertReference(reference) {
|
||||||
const { uuid } = referenceToConvert
|
return camelizeObjectKeys(reference)
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
tableName: referenceToConvert.table_name,
|
|
||||||
windowUuid: referenceToConvert.window_uuid,
|
|
||||||
displayName: referenceToConvert.display_name,
|
|
||||||
whereClause: referenceToConvert.where_clause,
|
|
||||||
recordCount: referenceToConvert.record_count
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -14,194 +14,57 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
export function convertEntityLog(entityLogToConvert) {
|
import { camelizeObjectKeys, renameObjectKey } from '../transformObject'
|
||||||
const { id, uuid } = entityLogToConvert
|
|
||||||
|
|
||||||
return {
|
export function convertEntityLog(entityLog) {
|
||||||
logId: entityLogToConvert.log_id,
|
const convertedLog = camelizeObjectKeys(entityLog)
|
||||||
id,
|
convertedLog.changeLogsList = entityLog.change_logs.map(changeLog => camelizeObjectKeys(changeLog))
|
||||||
uuid,
|
delete convertedLog['changeLogs']
|
||||||
tableName: entityLogToConvert.table_name,
|
return convertedLog
|
||||||
sessionUuid: entityLogToConvert.session_uuid,
|
|
||||||
userUuid: entityLogToConvert.user_uuid,
|
|
||||||
userName: entityLogToConvert.user_name,
|
|
||||||
transactionName: entityLogToConvert.transaction_name,
|
|
||||||
eventType: entityLogToConvert.event_type,
|
|
||||||
eventTypeName: entityLogToConvert.event_type_name,
|
|
||||||
logDate: entityLogToConvert.log_date,
|
|
||||||
changeLogsList: entityLogToConvert.change_logs.map(changeLog => {
|
|
||||||
return convertChangeLog(changeLog)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertChangeLog(changeLogToConvert) {
|
export function convertEntityChat(entityChat) {
|
||||||
return {
|
return camelizeObjectKeys(entityChat)
|
||||||
columnName: changeLogToConvert.column_name,
|
|
||||||
displayColumnName: changeLogToConvert.display_column_name,
|
|
||||||
oldValue: changeLogToConvert.old_value,
|
|
||||||
newValue: changeLogToConvert.new_value,
|
|
||||||
oldDisplayValue: changeLogToConvert.old_display_value,
|
|
||||||
newDisplayValue: changeLogToConvert.new_display_value,
|
|
||||||
description: changeLogToConvert.description
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertEntityChat(entityChatToConvert) {
|
export function convertChatEntry(chatEntry) {
|
||||||
const { id, uuid, description } = entityChatToConvert
|
return camelizeObjectKeys(chatEntry)
|
||||||
|
|
||||||
return {
|
|
||||||
chatUuid: entityChatToConvert.chat_uuid,
|
|
||||||
id,
|
|
||||||
uuid,
|
|
||||||
tableName: entityChatToConvert.table_name,
|
|
||||||
chatTypeUuid: entityChatToConvert.chat_type_uuid,
|
|
||||||
description,
|
|
||||||
confidentialType: entityChatToConvert.confidential_type,
|
|
||||||
confidentialTypeName: entityChatToConvert.confidential_type_name,
|
|
||||||
moderationType: entityChatToConvert.moderation_type,
|
|
||||||
moderationTypeName: entityChatToConvert.moderation_type_name,
|
|
||||||
logDate: entityChatToConvert.log_date
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertChatEntry(chatEntryToConvert) {
|
export function convertWorkflowProcess(workflowProcess) {
|
||||||
return {
|
const convertedProcess = camelizeObjectKeys(workflowProcess)
|
||||||
chatUuid: chatEntryToConvert.chat_uuid,
|
convertedProcess.workflowEventsList = workflowProcess.workflow_events.map(item => camelizeObjectKeys(item))
|
||||||
chatEntryUuid: chatEntryToConvert.chat_entry_uuid,
|
delete convertedProcess['workflowEvents']
|
||||||
subject: chatEntryToConvert.subject,
|
return convertedProcess
|
||||||
characterData: chatEntryToConvert.character_data,
|
|
||||||
userUuid: chatEntryToConvert.user_uuid,
|
|
||||||
userName: chatEntryToConvert.user_name,
|
|
||||||
chatEntryType: chatEntryToConvert.chat_entry_type,
|
|
||||||
chatEntryTypeName: chatEntryToConvert.chat_entry_type_name,
|
|
||||||
confidentialType: chatEntryToConvert.confidential_type,
|
|
||||||
confidentialTypeName: chatEntryToConvert.confidential_type_name,
|
|
||||||
moderatorStatus: chatEntryToConvert.moderator_status,
|
|
||||||
moderatorStatusName: chatEntryToConvert.moderator_status_name,
|
|
||||||
logDate: chatEntryToConvert.log_date
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertWorkflowProcess(workflowProcessToConvert) {
|
export function convertWorkflowDefinition(workflowDefinition) {
|
||||||
return {
|
const convertedDefinition = camelizeObjectKeys(workflowDefinition)
|
||||||
processUuid: workflowProcessToConvert.process_uuid,
|
convertedDefinition.startNode = convertWorkflowNode(workflowDefinition.start_node)
|
||||||
workflowUuid: workflowProcessToConvert.workflow_uuid,
|
convertedDefinition.workflowNodesList = workflowDefinition.workflow_nodes.map(item => convertWorkflowNode(item))
|
||||||
workflowName: workflowProcessToConvert.workflow_name,
|
delete convertedDefinition['workflowNodes']
|
||||||
recordId: workflowProcessToConvert.record_id,
|
return convertedDefinition
|
||||||
tableName: workflowProcessToConvert.table_name,
|
|
||||||
userUuid: workflowProcessToConvert.user_uuid,
|
|
||||||
userName: workflowProcessToConvert.user_name,
|
|
||||||
responsibleUuid: workflowProcessToConvert.responsible_uuid,
|
|
||||||
responsibleName: workflowProcessToConvert.responsible_name,
|
|
||||||
textMessage: workflowProcessToConvert.text_message,
|
|
||||||
processed: workflowProcessToConvert.processed,
|
|
||||||
workflowStateName: workflowProcessToConvert.workflow_state_name,
|
|
||||||
workflowState: workflowProcessToConvert.workflow_state,
|
|
||||||
priority: workflowProcessToConvert.priority,
|
|
||||||
priorityName: workflowProcessToConvert.priority_name,
|
|
||||||
workflowEventsList: workflowProcessToConvert.workflow_events.map(itemEvent => {
|
|
||||||
return convertWorkflowEvent(itemEvent)
|
|
||||||
}),
|
|
||||||
logDate: workflowProcessToConvert.log_date
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertWorkflowEvent(workflowEventToConvert) {
|
function convertWorkflowNode(workflowNode) {
|
||||||
return {
|
const convertedNode = camelizeObjectKeys(workflowNode)
|
||||||
nodeUuid: workflowEventToConvert.node_uuid,
|
convertedNode.documentAction = { ...workflowNode.document_action }
|
||||||
nodeName: workflowEventToConvert.node_name,
|
convertedNode.transitionsList = workflowNode.transitions.map(item => convertWorkflowTransition(item))
|
||||||
recordId: workflowEventToConvert.record_id,
|
delete convertedNode['transitions']
|
||||||
tableName: workflowEventToConvert.table_name,
|
return convertedNode
|
||||||
userUuid: workflowEventToConvert.user_uuid,
|
|
||||||
userName: workflowEventToConvert.user_name,
|
|
||||||
responsibleUuid: workflowEventToConvert.responsible_uuid,
|
|
||||||
responsibleName: workflowEventToConvert.responsible_name,
|
|
||||||
textMessage: workflowEventToConvert.text_message,
|
|
||||||
timeElapsed: workflowEventToConvert.time_elapsed,
|
|
||||||
attributeName: workflowEventToConvert.attribute_name,
|
|
||||||
oldValue: workflowEventToConvert.old_value,
|
|
||||||
newValue: workflowEventToConvert.new_value,
|
|
||||||
workflowState: workflowEventToConvert.workflow_state,
|
|
||||||
workflowStateName: workflowEventToConvert.workflow_state_name,
|
|
||||||
eventType: workflowEventToConvert.event_type,
|
|
||||||
eventTypeName: workflowEventToConvert.event_type_name,
|
|
||||||
logDate: workflowEventToConvert.log_date
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertWorkflowDefinition(workflowDefinitionToConvert) {
|
function convertWorkflowTransition(workflowTransition) {
|
||||||
const { uuid, name, description, help } = workflowDefinitionToConvert
|
const convertedTransition = camelizeObjectKeys(workflowTransition)
|
||||||
|
convertedTransition.isStdUserWorkflow = workflowTransition.is_standard_user_workflow
|
||||||
return {
|
convertedTransition.workflowConditionsList = workflowTransition.workflow_conditions.map(item => convertWorkflowCondition(item))
|
||||||
uuid,
|
delete convertedTransition['workflowConditions']
|
||||||
value: workflowDefinitionToConvert.value,
|
return convertedTransition
|
||||||
name,
|
|
||||||
description,
|
|
||||||
help,
|
|
||||||
tableName: workflowDefinitionToConvert.table_name,
|
|
||||||
responsibleUuid: workflowDefinitionToConvert.responsible_uuid,
|
|
||||||
priority: workflowDefinitionToConvert.priority,
|
|
||||||
validFrom: workflowDefinitionToConvert.valid_from,
|
|
||||||
isDefault: workflowDefinitionToConvert.is_default,
|
|
||||||
isValid: workflowDefinitionToConvert.is_valid,
|
|
||||||
publishStatus: workflowDefinitionToConvert.publish_status,
|
|
||||||
publishStatusName: workflowDefinitionToConvert.publish_status_name,
|
|
||||||
durationUnit: workflowDefinitionToConvert.duration_unit,
|
|
||||||
durationUnitName: workflowDefinitionToConvert.duration_unit_name,
|
|
||||||
startNode: convertWorkflowNode(
|
|
||||||
workflowDefinitionToConvert.start_node
|
|
||||||
),
|
|
||||||
workflowNodesList: workflowDefinitionToConvert.workflow_nodes.map(itemWorkflowNode => {
|
|
||||||
return convertWorkflowNode(itemWorkflowNode)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function convertWorkflowNode(workflowNodeToConvert) {
|
function convertWorkflowCondition(workflowCondition) {
|
||||||
const { uuid, name, description, help } = workflowNodeToConvert
|
const convertedCondition = camelizeObjectKeys(workflowCondition)
|
||||||
|
renameObjectKey(convertedCondition, 'confidentialType', 'conditionType')
|
||||||
return {
|
renameObjectKey(convertedCondition, 'confidentialTypeName', 'conditionTypeName')
|
||||||
uuid,
|
return convertedCondition
|
||||||
value: workflowNodeToConvert.value,
|
|
||||||
name,
|
|
||||||
description,
|
|
||||||
help,
|
|
||||||
responsibleUuid: workflowNodeToConvert.responsible_uuid,
|
|
||||||
documentAction: {
|
|
||||||
...workflowNodeToConvert.document_action
|
|
||||||
// value, name
|
|
||||||
},
|
|
||||||
priority: workflowNodeToConvert.priority,
|
|
||||||
action: workflowNodeToConvert.action,
|
|
||||||
actionName: workflowNodeToConvert.action_name,
|
|
||||||
transitionsList: workflowNodeToConvert.transitions.map(itemTransition => {
|
|
||||||
return convertWorkflowTransition(itemTransition)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function convertWorkflowTransition(workflowTransitionToConvert) {
|
|
||||||
return {
|
|
||||||
nodeNextUuid: workflowTransitionToConvert.node_next_uuid,
|
|
||||||
description: workflowTransitionToConvert.description,
|
|
||||||
isStdUserWorkflow: workflowTransitionToConvert.is_standard_user_workflow,
|
|
||||||
isSandardUserWorkflow: workflowTransitionToConvert.is_standard_user_workflow,
|
|
||||||
sequence: workflowTransitionToConvert.sequence,
|
|
||||||
workflowConditionsList: workflowTransitionToConvert.workflow_conditions.map(conditionItem => {
|
|
||||||
return convertWorkflowCondition(conditionItem)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function convertWorkflowCondition(workflowConditionToConvert) {
|
|
||||||
return {
|
|
||||||
sequence: workflowConditionToConvert.sequence,
|
|
||||||
columnName: workflowConditionToConvert.column_name,
|
|
||||||
value: workflowConditionToConvert.value,
|
|
||||||
conditionType: workflowConditionToConvert.confidential_type,
|
|
||||||
conditionTypeName: workflowConditionToConvert.confidential_type_name,
|
|
||||||
operation: workflowConditionToConvert.operation,
|
|
||||||
operationName: workflowConditionToConvert.operation_name
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
14
src/utils/ADempiere/transformObject.js
Normal file
14
src/utils/ADempiere/transformObject.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
export function camelizeObjectKeys(obj) {
|
||||||
|
const camelizedObj = Object.assign({}, obj)
|
||||||
|
Object.keys(camelizedObj).forEach(k => {
|
||||||
|
const newK = k.replace(/(\_\w)/g, (m) => m[1].toUpperCase())
|
||||||
|
if (newK !== k) {
|
||||||
|
camelizedObj[newK] = camelizedObj[k]
|
||||||
|
delete camelizedObj[k]
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return camelizedObj
|
||||||
|
}
|
||||||
|
export function renameObjectKey(obj, oldEntry, newEntry) {
|
||||||
|
delete Object.assign(obj, { [newEntry]: obj[oldEntry] })[oldEntry]
|
||||||
|
}
|
@ -1,18 +1,18 @@
|
|||||||
import { shallowMount } from "@vue/test-utils";
|
import { shallowMount } from '@vue/test-utils'
|
||||||
import Hamburger from "@/components/Hamburger/index.vue";
|
import Hamburger from '@/components/Hamburger/index.vue'
|
||||||
describe("Hamburger.vue", () => {
|
describe('Hamburger.vue', () => {
|
||||||
it("toggle click", () => {
|
it('toggle click', () => {
|
||||||
const wrapper = shallowMount(Hamburger);
|
const wrapper = shallowMount(Hamburger)
|
||||||
const mockFn = jest.fn();
|
const mockFn = jest.fn()
|
||||||
wrapper.vm.$on("toggleClick", mockFn);
|
wrapper.vm.$on('toggleClick', mockFn)
|
||||||
wrapper.find(".hamburger").trigger("click");
|
wrapper.find('.hamburger').trigger('click')
|
||||||
expect(mockFn).toBeCalled();
|
expect(mockFn).toBeCalled()
|
||||||
});
|
})
|
||||||
it("prop isActive", () => {
|
it('prop isActive', () => {
|
||||||
// const wrapper = shallowMount(Hamburger)
|
// const wrapper = shallowMount(Hamburger)
|
||||||
// wrapper.setProps({ isActive: true })
|
// wrapper.setProps({ isActive: true })
|
||||||
// expect(wrapper.contains('.is-active')).toBe(true)
|
// expect(wrapper.contains('.is-active')).toBe(true)
|
||||||
// wrapper.setProps({ isActive: false })
|
// wrapper.setProps({ isActive: false })
|
||||||
// expect(wrapper.contains('.is-active')).toBe(false)
|
// expect(wrapper.contains('.is-active')).toBe(false)
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
import { shallowMount } from "@vue/test-utils";
|
import { shallowMount } from '@vue/test-utils'
|
||||||
import SvgIcon from "@/components/SvgIcon/index.vue";
|
import SvgIcon from '@/components/SvgIcon/index.vue'
|
||||||
describe("SvgIcon.vue", () => {
|
describe('SvgIcon.vue', () => {
|
||||||
it("iconClass", () => {
|
it('iconClass', () => {
|
||||||
const wrapper = shallowMount(SvgIcon, {
|
const wrapper = shallowMount(SvgIcon, {
|
||||||
propsData: {
|
propsData: {
|
||||||
iconClass: "test"
|
iconClass: 'test'
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
expect(wrapper.find("use").attributes().href).toBe("#icon-test");
|
expect(wrapper.find('use').attributes().href).toBe('#icon-test')
|
||||||
});
|
})
|
||||||
it("className", () => {
|
it('className', () => {
|
||||||
const wrapper = shallowMount(SvgIcon, {
|
const wrapper = shallowMount(SvgIcon, {
|
||||||
propsData: {
|
propsData: {
|
||||||
iconClass: "test"
|
iconClass: 'test'
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
expect(wrapper.classes().length).toBe(1);
|
expect(wrapper.classes().length).toBe(1)
|
||||||
wrapper.setProps({ className: "test" });
|
wrapper.setProps({ className: 'test' })
|
||||||
// expect(wrapper.classes().includes('test')).toBe(true)
|
// expect(wrapper.classes().includes('test')).toBe(true)
|
||||||
});
|
})
|
||||||
});
|
})
|
||||||
|
174
tests/unit/utils/ADempiere/apiConverts/core.spec.js
Normal file
174
tests/unit/utils/ADempiere/apiConverts/core.spec.js
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
import {
|
||||||
|
convertContextInfo,
|
||||||
|
convertOrganization,
|
||||||
|
convertLanguage,
|
||||||
|
convertCountry,
|
||||||
|
convertBusinessPartner,
|
||||||
|
convertConversionRate,
|
||||||
|
convertBankAccount,
|
||||||
|
convertDocumentType,
|
||||||
|
convertDocumentStatus,
|
||||||
|
convertPriceList,
|
||||||
|
convertTaxRate,
|
||||||
|
convertProduct,
|
||||||
|
convertProductPrice
|
||||||
|
} from '@/utils/ADempiere/apiConverts/core.js'
|
||||||
|
import contextInfo from './objects/fromApi/contextInfo.json'
|
||||||
|
import convertedContextInfo from './objects/converted/contextInfo.json'
|
||||||
|
import contextInfoWithoutMessage from './objects/fromApi/contextInfoWithoutMessage.json'
|
||||||
|
import convertedContextInfoWithoutMessage from './objects/converted/contextInfoWithoutMessage.json'
|
||||||
|
import organization from './objects/fromApi/organization.json'
|
||||||
|
import convertedOrganization from './objects/converted/organization.json'
|
||||||
|
import language from './objects/fromApi/language.json'
|
||||||
|
import convertedLanguage from './objects/converted/language.json'
|
||||||
|
import country from './objects/fromApi/country.json'
|
||||||
|
import convertedCountry from './objects/converted/country.json'
|
||||||
|
import countryWithNoCurrency from './objects/fromApi/countryNoCurrency.json'
|
||||||
|
import convertedCountryWithNoCurrency from './objects/converted/countryNoCurrency.json'
|
||||||
|
import businessPartner from './objects/fromApi/businessPartner.json'
|
||||||
|
import convertedBusinessPartner from './objects/converted/businessPartner.json'
|
||||||
|
import conversionRate from './objects/fromApi/conversionRate.json'
|
||||||
|
import convertedConversionRate from './objects/converted/conversionRate.json'
|
||||||
|
import conversionRateNoCurrency from './objects/fromApi/conversionRateNoCurrency.json'
|
||||||
|
import convertedConversionRateNoCurrency from './objects/converted/conversionRateNoCurrency.json'
|
||||||
|
import salesRepresentative from './objects/fromApi/salesRepresentative.json'
|
||||||
|
import convertedSalesRepresentative from './objects/converted/salesRepresentative.json'
|
||||||
|
import bankAccount from './objects/fromApi/bankAccount.json'
|
||||||
|
import convertedBankAccount from './objects/converted/bankAccount.json'
|
||||||
|
import documentType from './objects/fromApi/documentType.json'
|
||||||
|
import convertedDocumentType from './objects/converted/documentType.json'
|
||||||
|
import documentStatus from './objects/fromApi/documentStatus.json'
|
||||||
|
import convertedDocumentStatus from './objects/converted/documentStatus.json'
|
||||||
|
import priceList from './objects/fromApi/priceList.json'
|
||||||
|
import convertedPriceList from './objects/converted/priceList.json'
|
||||||
|
import taxRate from './objects/fromApi/taxRate.json'
|
||||||
|
import convertedTaxRate from './objects/converted/taxRate.json'
|
||||||
|
import product from './objects/fromApi/product.json'
|
||||||
|
import convertedProduct from './objects/converted/product.json'
|
||||||
|
import productPrice from './objects/fromApi/productPrice.json'
|
||||||
|
import convertedProductPrice from './objects/converted/productPrice.json'
|
||||||
|
|
||||||
|
describe('context info', () => {
|
||||||
|
it('should return a converted context info', () => {
|
||||||
|
const actualContextInfo = convertContextInfo(contextInfo)
|
||||||
|
expect(actualContextInfo).toEqual(convertedContextInfo)
|
||||||
|
})
|
||||||
|
it('should return empty object for undefined context info', () => {
|
||||||
|
const actualContextInfo = convertContextInfo(null)
|
||||||
|
expect(actualContextInfo).toEqual({ messageText: {}})
|
||||||
|
})
|
||||||
|
it('should return a converted context info with an empty message', () => {
|
||||||
|
const actualContextInfo = convertContextInfo(contextInfoWithoutMessage)
|
||||||
|
expect(actualContextInfo).toEqual(convertedContextInfoWithoutMessage)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('organization', () => {
|
||||||
|
it('should return a converted organization object', () => {
|
||||||
|
const actualOrganization = convertOrganization(organization)
|
||||||
|
expect(actualOrganization).toEqual(convertedOrganization)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('language', () => {
|
||||||
|
it('should return a converted language object', () => {
|
||||||
|
const actualLanguage = convertLanguage(language)
|
||||||
|
expect(actualLanguage).toEqual(convertedLanguage)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('country', () => {
|
||||||
|
it('should return a converted country object with currency', () => {
|
||||||
|
const actualCountry = convertCountry(country)
|
||||||
|
expect(actualCountry).toEqual(convertedCountry)
|
||||||
|
})
|
||||||
|
it('should return a converted country object without currency', () => {
|
||||||
|
const actualCountry = convertCountry(countryWithNoCurrency)
|
||||||
|
expect(actualCountry).toEqual(convertedCountryWithNoCurrency)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('business partner', () => {
|
||||||
|
it('should return a converted business partner object', () => {
|
||||||
|
const actualBusinessPartner = convertBusinessPartner(businessPartner)
|
||||||
|
expect(actualBusinessPartner).toEqual(convertedBusinessPartner)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('conversion rate', () => {
|
||||||
|
it('should return a converted conversion rate object with currencies', () => {
|
||||||
|
const actualConversionRate = convertConversionRate(conversionRate)
|
||||||
|
expect(actualConversionRate).toEqual(convertedConversionRate)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should return a converted conversion rate object without currencies', () => {
|
||||||
|
const actualConversionRate = convertConversionRate(
|
||||||
|
conversionRateNoCurrency
|
||||||
|
)
|
||||||
|
expect(actualConversionRate).toEqual(convertedConversionRateNoCurrency)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('sales representative', () => {
|
||||||
|
it('should return a converted sales representative object', () => {
|
||||||
|
const actualSalesRep = convertBusinessPartner(salesRepresentative)
|
||||||
|
expect(actualSalesRep).toEqual(convertedSalesRepresentative)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('bank account', () => {
|
||||||
|
it('should return a converted bank account object', () => {
|
||||||
|
const actualBankAccount = convertBankAccount(bankAccount)
|
||||||
|
expect(actualBankAccount).toEqual(convertedBankAccount)
|
||||||
|
})
|
||||||
|
it('should return undefined', () => {
|
||||||
|
const actualBankAccount = convertBankAccount(null)
|
||||||
|
expect(actualBankAccount).toBeUndefined()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('document type', () => {
|
||||||
|
it('should return a converted document type object', () => {
|
||||||
|
const actualDocumentType = convertDocumentType(documentType)
|
||||||
|
expect(actualDocumentType).toEqual(convertedDocumentType)
|
||||||
|
})
|
||||||
|
it('should return undefined', () => {
|
||||||
|
const actualDocumentType = convertBankAccount(null)
|
||||||
|
expect(actualDocumentType).toBeUndefined()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('document status', () => {
|
||||||
|
it('should return a converted document status object', () => {
|
||||||
|
const actualDocumentStatus = convertDocumentStatus(documentStatus)
|
||||||
|
expect(actualDocumentStatus).toEqual(convertedDocumentStatus)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('price list', () => {
|
||||||
|
it('should return a converted price list object', () => {
|
||||||
|
const actualPriceList = convertPriceList(priceList)
|
||||||
|
expect(actualPriceList).toEqual(convertedPriceList)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('tax rate', () => {
|
||||||
|
it('should return a converted tax rate object', () => {
|
||||||
|
const actualTaxRate = convertTaxRate(taxRate)
|
||||||
|
expect(actualTaxRate).toEqual(convertedTaxRate)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('product', () => {
|
||||||
|
it('should return a converted product object', () => {
|
||||||
|
const actualProduct = convertProduct(product)
|
||||||
|
expect(actualProduct).toEqual(convertedProduct)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('product price', () => {
|
||||||
|
it('should return a converted product price object', () => {
|
||||||
|
const actualProductPrice = convertProductPrice(productPrice)
|
||||||
|
expect(actualProductPrice).toEqual(convertedProductPrice)
|
||||||
|
})
|
||||||
|
})
|
29
tests/unit/utils/ADempiere/apiConverts/dashboard.spec.js
Normal file
29
tests/unit/utils/ADempiere/apiConverts/dashboard.spec.js
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
import { convertRecentItemsList, convertFavorite, convertDashboard, convertPendingDocument } from '../../../../../src/utils/ADempiere/apiConverts/dashboard'
|
||||||
|
import recentListItems from './objects/fromApi/recentListItems.json'
|
||||||
|
import convertedRecentListItems from './objects/converted/recentListItems.json'
|
||||||
|
import favorite from './objects/fromApi/favorite.json'
|
||||||
|
import convertedFavorite from './objects/converted/favorite.json'
|
||||||
|
import dashboard from './objects/fromApi/dashboard.json'
|
||||||
|
import convertedDashboard from './objects/converted/dashboard.json'
|
||||||
|
import pendingDocument from './objects/fromApi/pendingDocument.json'
|
||||||
|
import convertedPendingDocument from './objects/converted/pendingDocument.json'
|
||||||
|
|
||||||
|
it('should convert the recent item list', () => {
|
||||||
|
const actualConvertedList = convertRecentItemsList(recentListItems)
|
||||||
|
expect(actualConvertedList).toEqual(convertedRecentListItems)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should convert the favorite', () => {
|
||||||
|
const actualFavorite = convertFavorite(favorite)
|
||||||
|
expect(actualFavorite).toEqual(convertedFavorite)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should convert dashboard', () => {
|
||||||
|
const actualDashbaord = convertDashboard(dashboard)
|
||||||
|
expect(actualDashbaord).toEqual(convertedDashboard)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should convert a pending document', () => {
|
||||||
|
const actualPendingDocument = convertPendingDocument(pendingDocument)
|
||||||
|
expect(actualPendingDocument).toEqual(convertedPendingDocument)
|
||||||
|
})
|
79
tests/unit/utils/ADempiere/apiConverts/dictionary.spec.js
Normal file
79
tests/unit/utils/ADempiere/apiConverts/dictionary.spec.js
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
import {
|
||||||
|
convertBrowser,
|
||||||
|
convertForm,
|
||||||
|
convertProcess,
|
||||||
|
convertReportExportType,
|
||||||
|
convertTab,
|
||||||
|
convertValidationRule,
|
||||||
|
convertWindow
|
||||||
|
} from '../../../../../src/utils/ADempiere/apiConverts/dictionary'
|
||||||
|
import process from './objects/fromApi/process.json'
|
||||||
|
import convertedProcess from './objects/converted/process.json'
|
||||||
|
import processWithUndefined from './objects/fromApi/processWithUndefined.json'
|
||||||
|
import convertedProcessWithUndefined from './objects/converted/processWithUndefined.json'
|
||||||
|
import reportExportType from './objects/fromApi/reportExportType.json'
|
||||||
|
import convertedReportExportType from './objects/converted/reportExportType.json'
|
||||||
|
import tab from './objects/fromApi/tab.json'
|
||||||
|
import convertedTab from './objects/converted/tab.json'
|
||||||
|
import windowObj from './objects/fromApi/window.json'
|
||||||
|
import convertedWindow from './objects/converted/window.json'
|
||||||
|
import browser from './objects/fromApi/browser.json'
|
||||||
|
import convertedBrowser from './objects/converted/browser.json'
|
||||||
|
import form from './objects/fromApi/form.json'
|
||||||
|
import convertedForm from './objects/converted/form.json'
|
||||||
|
import validationRule from './objects/fromApi/validationRule.json'
|
||||||
|
import convertedValidationRule from './objects/converted/validationRule.json'
|
||||||
|
|
||||||
|
describe('process', () => {
|
||||||
|
it('should convert a process with all fields defined', () => {
|
||||||
|
const actualConvertedProcess = convertProcess(process)
|
||||||
|
expect(actualConvertedProcess).toEqual(convertedProcess)
|
||||||
|
})
|
||||||
|
|
||||||
|
it('should convert a process with some fields undefined', () => {
|
||||||
|
const actualConvertedProcess = convertProcess(processWithUndefined)
|
||||||
|
expect(actualConvertedProcess).toEqual(convertedProcessWithUndefined)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('report export type', () => {
|
||||||
|
it('should return a converted report export type object', () => {
|
||||||
|
const actualExportType = convertReportExportType(reportExportType)
|
||||||
|
expect(actualExportType).toEqual(convertedReportExportType)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('tab', () => {
|
||||||
|
it('should return a converted tab object', () => {
|
||||||
|
const actualTab = convertTab(tab)
|
||||||
|
expect(actualTab).toEqual(convertedTab)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('window', () => {
|
||||||
|
it('should return a converted window object', () => {
|
||||||
|
const actualWindow = convertWindow(windowObj)
|
||||||
|
expect(actualWindow).toEqual(convertedWindow)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('browser', () => {
|
||||||
|
it('should return a converted browser object', () => {
|
||||||
|
const actualBrowser = convertBrowser(browser)
|
||||||
|
expect(actualBrowser).toEqual(convertedBrowser)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('form', () => {
|
||||||
|
it('should return a converted form object', () => {
|
||||||
|
const actualForm = convertForm(form)
|
||||||
|
expect(actualForm).toEqual(convertedForm)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('validation rule', () => {
|
||||||
|
it('should return a converted validation rule object', () => {
|
||||||
|
const actualValidationRule = convertValidationRule(validationRule)
|
||||||
|
expect(actualValidationRule).toEqual(convertedValidationRule)
|
||||||
|
})
|
||||||
|
})
|
19
tests/unit/utils/ADempiere/apiConverts/field.spec.js
Normal file
19
tests/unit/utils/ADempiere/apiConverts/field.spec.js
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
const { convertFieldGroup, convertField } = require('@/utils/ADempiere/apiConverts/field')
|
||||||
|
import fieldGroup from './objects/fromApi/fieldGroup.json'
|
||||||
|
import convertedFieldGroup from './objects/converted/fieldGroup.json'
|
||||||
|
import field from './objects/fromApi/field.json'
|
||||||
|
import convertedField from './objects/converted/field.json'
|
||||||
|
|
||||||
|
describe('field group', () => {
|
||||||
|
it('should return a converted field group object', () => {
|
||||||
|
const actualFieldGroup = convertFieldGroup(fieldGroup)
|
||||||
|
expect(actualFieldGroup).toEqual(convertedFieldGroup)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
describe('field', () => {
|
||||||
|
it('should return a converted field object', () => {
|
||||||
|
const actualField = convertField(field)
|
||||||
|
expect(actualField).toEqual(convertedField)
|
||||||
|
})
|
||||||
|
})
|
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"uuid": "bank account uuid",
|
||||||
|
"id": "bank account id",
|
||||||
|
"name": "bank account name",
|
||||||
|
"description": "bank account description",
|
||||||
|
"accountNo": "bank account account_no",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"bban": "bank account bban",
|
||||||
|
"iban": "bank account iban",
|
||||||
|
"creditLimit": "bank account credit_limit",
|
||||||
|
"currentBalance": "bank account current_balance",
|
||||||
|
"isDefault": "bank account is_default",
|
||||||
|
"businessPartner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
},
|
||||||
|
"bankAccountType": "bank account bank_account_type",
|
||||||
|
"bankAccountTypeName": "bank account bank_account_type_name"
|
||||||
|
}
|
@ -0,0 +1,579 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"viewUuid": "viewUuid",
|
||||||
|
"value": "value",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"accessLevel": "access_level",
|
||||||
|
"isActive": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isDeleteable": false,
|
||||||
|
"isSelectedByDefault": true,
|
||||||
|
"isCollapsibleByDefault": true,
|
||||||
|
"isExecutedQueryByDefault": false,
|
||||||
|
"isShowTotal": true,
|
||||||
|
"query": "query",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"orderByClause": "order_by_clause",
|
||||||
|
"window": {
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"isActive": true,
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"windowType": "windowType",
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tabs": [
|
||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"sequence": "sequence",
|
||||||
|
"tabLevel": "tab_level",
|
||||||
|
"isActive": false,
|
||||||
|
"isSingleRow": true,
|
||||||
|
"isAdvancedTab": true,
|
||||||
|
"isHasTree": true,
|
||||||
|
"isInfoTab": false,
|
||||||
|
"isSortTab": true,
|
||||||
|
"isTranslationTab": true,
|
||||||
|
"isReadOnly": true,
|
||||||
|
"isInsertRecord": false,
|
||||||
|
"isView": true,
|
||||||
|
"isDeleteable": true,
|
||||||
|
"isDocument": false,
|
||||||
|
"isChangeLog": false,
|
||||||
|
"accessLevel": "access_level",
|
||||||
|
"linkColumnName": "link_column_name",
|
||||||
|
"sortOrderColumnName": "sort_order_column_name",
|
||||||
|
"sortYesNoColumnName": "sort_yes_no_column_name",
|
||||||
|
"parentColumnName": "parent_column_name",
|
||||||
|
"displayLogic": "display_logic",
|
||||||
|
"commitWarning": "commit_warning",
|
||||||
|
"query": "query",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"orderByClause": "order_by_clause",
|
||||||
|
"parentTabUuid": "parent_tab_uuid",
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"processes": [
|
||||||
|
{
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"process": {
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"chatUuid": "chat_uuid",
|
||||||
|
"chatEntryUuid": "chat_entry_uuid",
|
||||||
|
"subject": "subject",
|
||||||
|
"characterData": "character_data",
|
||||||
|
"userUuid": "user_uuid",
|
||||||
|
"userName": "user_name",
|
||||||
|
"chatEntryType": "chat_entry_type",
|
||||||
|
"chatEntryTypeName": "chat_entry_type_name",
|
||||||
|
"confidentialType": "confidential_type",
|
||||||
|
"confidentialTypeName": "confidential_type_name",
|
||||||
|
"moderatorStatus": "moderator_status",
|
||||||
|
"moderatorStatusName": "moderator_status_name",
|
||||||
|
"logDate": "log_date"
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"uuid": "converstion rateuuid",
|
||||||
|
"id": "converstion rateid",
|
||||||
|
"conversionTypeUuid": "converstion rateconversion_type_uuid",
|
||||||
|
"validFrom": "converstion rate valid_from",
|
||||||
|
"currencyFrom": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"currencyTo": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"multiplyRate": "converstion rate multiply_rate",
|
||||||
|
"divideRate": "converstion rate converstion ratedivide_rate"
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"uuid": "converstion rateuuid",
|
||||||
|
"id": "converstion rateid",
|
||||||
|
"multiplyRate": "converstion rate multiply_rate",
|
||||||
|
"divideRate": "converstion rate converstion ratedivide_rate"
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"countryCode": "AUS",
|
||||||
|
"name": "Australia",
|
||||||
|
"description": "country description",
|
||||||
|
"hasRegion": true,
|
||||||
|
"regionName": "NSW",
|
||||||
|
"displaySequence": "country display sequence",
|
||||||
|
"isAddressLinesReverse": false,
|
||||||
|
"captureSequence": "country capture sequence",
|
||||||
|
"displaySequenceLocal": "country display seq local",
|
||||||
|
"isAddressLinesLocalReverse": false,
|
||||||
|
"expressionPostal": "country expression postal",
|
||||||
|
"hasPostalAdd": "country has postal add",
|
||||||
|
"expressionPhone": "country expression phone",
|
||||||
|
"mediaSize": "country media size",
|
||||||
|
"expressionBankRoutingNo": "country expression baking routing no",
|
||||||
|
"expressionBankAccountNo": "country expression banking account no",
|
||||||
|
"language": "EN",
|
||||||
|
"allowCitiesOutOfList": true,
|
||||||
|
"isPostcodeLookup": false,
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"countryCode": "AUS",
|
||||||
|
"name": "Australia",
|
||||||
|
"description": "country description",
|
||||||
|
"hasRegion": true,
|
||||||
|
"regionName": "NSW",
|
||||||
|
"displaySequence": "country display sequence",
|
||||||
|
"isAddressLinesReverse": false,
|
||||||
|
"captureSequence": "country capture sequence",
|
||||||
|
"displaySequenceLocal": "country display seq local",
|
||||||
|
"isAddressLinesLocalReverse": false,
|
||||||
|
"expressionPostal": "country expression postal",
|
||||||
|
"hasPostalAdd": "country has postal add",
|
||||||
|
"expressionPhone": "country expression phone",
|
||||||
|
"mediaSize": "country media size",
|
||||||
|
"expressionBankRoutingNo": "country expression baking routing no",
|
||||||
|
"expressionBankAccountNo": "country expression banking account no",
|
||||||
|
"language": "EN",
|
||||||
|
"allowCitiesOutOfList": true,
|
||||||
|
"isPostcodeLookup": false,
|
||||||
|
"currency": {
|
||||||
|
"id": 0,
|
||||||
|
"uuid": "",
|
||||||
|
"iSOCode": "",
|
||||||
|
"curSymbol": "",
|
||||||
|
"description": "",
|
||||||
|
"standardPrecision": 0,
|
||||||
|
"costingPrecision": 0
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"windowUuid": "953269ba-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"browserUuid": "95326a6e-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"dashboardName": "dashboard name",
|
||||||
|
"dashboardDescription": "dashboard description",
|
||||||
|
"dashboardHtml": "dashboard html",
|
||||||
|
"columnNo": 0,
|
||||||
|
"lineNo": 1,
|
||||||
|
"isCollapsible": true,
|
||||||
|
"isOpenByDefault": true,
|
||||||
|
"isEventRequired": false,
|
||||||
|
"fileName": "dashboard file name"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "document status name",
|
||||||
|
"description": "document status description",
|
||||||
|
"value": "document status value"
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"uuid": "document type uuid",
|
||||||
|
"id": "document type id",
|
||||||
|
"name": "document type name",
|
||||||
|
"description": "document type description",
|
||||||
|
"printName": "doc type print_name"
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"tableName": "table_name",
|
||||||
|
"printName": "print_name"
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "entity id",
|
||||||
|
"uuid": "entity uuid",
|
||||||
|
"tableName": "entity table_name",
|
||||||
|
"attributes": {
|
||||||
|
"key1": "value1",
|
||||||
|
"key2": "value2"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"chatUuid": "chat_uuid",
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "123234",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"chatTypeUuid": "chat_type_uuid",
|
||||||
|
"description": "description",
|
||||||
|
"confidentialType": "confidential_type",
|
||||||
|
"confidentialTypeName": "confidential_type_name",
|
||||||
|
"moderationType": "moderation_type",
|
||||||
|
"moderationTypeName": "moderation_type_name",
|
||||||
|
"logDate": "log_date"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"nextPageToken": "entity list next_page_token",
|
||||||
|
"recordCount": "entity list record_count",
|
||||||
|
"recordsList": [
|
||||||
|
{
|
||||||
|
"id": "entity list id",
|
||||||
|
"uuid": "entity list uuid",
|
||||||
|
"tableName": "entity list table_name",
|
||||||
|
"attributes": {
|
||||||
|
"key1": "value1",
|
||||||
|
"key2": "value2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"logId": "log_id",
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"sessionUuid": "session_uuid",
|
||||||
|
"userUuid": "user_uuid",
|
||||||
|
"userName": "user_name",
|
||||||
|
"transactionName": "transaction_name",
|
||||||
|
"eventType": "event_type",
|
||||||
|
"eventTypeName": "event_type_name",
|
||||||
|
"logDate": "log_date",
|
||||||
|
"changeLogsList": [
|
||||||
|
{
|
||||||
|
"columnName": "column_name",
|
||||||
|
"displayColumnName": "display_column_name",
|
||||||
|
"oldValue": "old_value",
|
||||||
|
"newValue": "new_value",
|
||||||
|
"oldDisplayValue": "old_display_value",
|
||||||
|
"newDisplayValue": "new_display_value",
|
||||||
|
"description": "description"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"menuUuid": "953266fe-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"menuName": "favorite menu name",
|
||||||
|
"menuDescription": "favorite menu description",
|
||||||
|
"referenceUuid": "953268fc-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"action": "favorite action"
|
||||||
|
}
|
@ -0,0 +1,109 @@
|
|||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "form name",
|
||||||
|
"description": "form description",
|
||||||
|
"help": "form help",
|
||||||
|
"accessLevel": "form accessLevel",
|
||||||
|
"fileName": "form file_name",
|
||||||
|
"isActive": true
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"id": "34534534",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"layoutType": "layout_type",
|
||||||
|
"columns": "columns",
|
||||||
|
"color": "color",
|
||||||
|
"keysList": [
|
||||||
|
{
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"id": "34534534",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"subKeyLayoutUuid": "sub_key_layout_uuid",
|
||||||
|
"color": "color",
|
||||||
|
"sequence": "sequence",
|
||||||
|
"spanX": "span_x",
|
||||||
|
"spanY": "span_y",
|
||||||
|
"productValue": "product_value",
|
||||||
|
"quantity": "quantity",
|
||||||
|
"resourceReference": {
|
||||||
|
"resourceUuid": "resource_uuid",
|
||||||
|
"fileName": "file_name",
|
||||||
|
"fileSize": "file_size",
|
||||||
|
"description": "description",
|
||||||
|
"textMsg": "text_msg",
|
||||||
|
"contentType": "content_type∏"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"language": "language",
|
||||||
|
"languageName": "language name",
|
||||||
|
"languageISO": "language iso",
|
||||||
|
"countryCode": "language country code",
|
||||||
|
"isBaseLanguage": true,
|
||||||
|
"isSystemLanguage": false,
|
||||||
|
"isDecimalPoint": true,
|
||||||
|
"datePattern": "language date pattern",
|
||||||
|
"timePattern": "language time pattern"
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"documentNo": "document_no",
|
||||||
|
"documentType": {
|
||||||
|
"uuid": "document type uuid",
|
||||||
|
"id": "document type id",
|
||||||
|
"name": "document type name",
|
||||||
|
"description": "document type description",
|
||||||
|
"printName": "doc type print_name"
|
||||||
|
},
|
||||||
|
"salesRepresentative": {
|
||||||
|
"uuid": "sales rep uuid",
|
||||||
|
"id": "sales rep id",
|
||||||
|
"name": "sales rep name",
|
||||||
|
"description": "sales rep description"
|
||||||
|
},
|
||||||
|
"documentStatus": {
|
||||||
|
"name": "document status name",
|
||||||
|
"description": "document status description",
|
||||||
|
"value": "document status value"
|
||||||
|
},
|
||||||
|
"totalLines": "total_lines",
|
||||||
|
"grandTotal": "grand_total",
|
||||||
|
"dateOrdered": "date_ordered",
|
||||||
|
"businessPartner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"uuid": "orderLine uuid",
|
||||||
|
"orderUuid": "orderLine order_uuid",
|
||||||
|
"line": "orderLine line",
|
||||||
|
"product": {
|
||||||
|
"uuid": "product uuid",
|
||||||
|
"id": "product id",
|
||||||
|
"value": "product value",
|
||||||
|
"name": "product name",
|
||||||
|
"help": "product help",
|
||||||
|
"documentNote": "product document_note",
|
||||||
|
"uomName": "product uom_name",
|
||||||
|
"productType": "product product_type",
|
||||||
|
"isStocked": true,
|
||||||
|
"isDropShip": false,
|
||||||
|
"isPurchased": false,
|
||||||
|
"isSold": true,
|
||||||
|
"imageUrl": "product image_url",
|
||||||
|
"productCategoryName": "product product_category_name",
|
||||||
|
"productGroupName": "product product_group_name",
|
||||||
|
"productClassName": "product product_class_name",
|
||||||
|
"productClassificationName": "product product_classification_name",
|
||||||
|
"weight": "product weight",
|
||||||
|
"volume": "product volume",
|
||||||
|
"upc": "product upc",
|
||||||
|
"sku": "product sku",
|
||||||
|
"shelfWidth": "product shelf_width",
|
||||||
|
"shelfHeight": "product shelf_height",
|
||||||
|
"shelfDepth": "product shelf_depth",
|
||||||
|
"unitsPerPack": "product units_per_pack",
|
||||||
|
"unitsPerPallet": "product units_per_pallet",
|
||||||
|
"guaranteeDays": "product guarantee_days",
|
||||||
|
"descriptionUrl": "product description_url",
|
||||||
|
"versionNo": "product version_no",
|
||||||
|
"taxCategory": "product tax_category",
|
||||||
|
"description": "product description"
|
||||||
|
},
|
||||||
|
"charge": "orderLine charge",
|
||||||
|
"description": "orderLine description",
|
||||||
|
"lineDescription": "orderLine line_description",
|
||||||
|
"quantity": "orderLine quantity",
|
||||||
|
"price": "orderLine price",
|
||||||
|
"discountRate": "orderLine discount_rate",
|
||||||
|
"lineNetAmount": "orderLine line_net_amount",
|
||||||
|
"taxRate": {
|
||||||
|
"name": "tax rate name",
|
||||||
|
"description": "tax rate description",
|
||||||
|
"taxIndicator": "tax rate tax_indicator",
|
||||||
|
"rate": "tax rate rate"
|
||||||
|
},
|
||||||
|
"warehouse": "orderLine warehouse"
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"id": "12345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "organization name",
|
||||||
|
"description": "organization description",
|
||||||
|
"isReadOnly": "organization is read only",
|
||||||
|
"duns": "organization duns",
|
||||||
|
"taxId": "organization tax id",
|
||||||
|
"phone": "organization phone",
|
||||||
|
"phone2": "organization phone2",
|
||||||
|
"fax": "organization fax",
|
||||||
|
"corporateBrandingImage": "organization corporate branding image"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"amount": "payment method amount",
|
||||||
|
"bankUuid": "payment method bank_uuid",
|
||||||
|
"businessPartner": "payment method business_partner",
|
||||||
|
"currencyUuid": "payment method currency_uuid",
|
||||||
|
"description": "payment method description",
|
||||||
|
"documentNo": "payment method document_no",
|
||||||
|
"documentStatus": "payment method document_status",
|
||||||
|
"id": "payment method id",
|
||||||
|
"orderUuid": "payment method order_uuid",
|
||||||
|
"paymentDate": "payment method payment_date",
|
||||||
|
"referenceNo": "payment method reference_no",
|
||||||
|
"tenderTypeCode": "payment method tender_type_code",
|
||||||
|
"uuid": "payment method uuid"
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"windowUuid": "95326b18-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"formUuid": "95326bcc-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"documentName": "pending document name",
|
||||||
|
"documentDescription": "pending document description",
|
||||||
|
"sequence": 2,
|
||||||
|
"recordCount": 0,
|
||||||
|
"criteria": {
|
||||||
|
"tableName": "pending document criteria table name",
|
||||||
|
"query": "pending document criteria query",
|
||||||
|
"whereClause": "pending document criteria where clause",
|
||||||
|
"orderByClause": "pending document criteria order by clause",
|
||||||
|
"referenceUuid": "95326c76-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"filters": [],
|
||||||
|
"valuesList": ["value1", "value2"],
|
||||||
|
"orderByColumnList": ["column1", "column2"],
|
||||||
|
"limit": 5
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"isModifyPrice": true,
|
||||||
|
"isPosRequiredPin": false,
|
||||||
|
"isAisleSeller": false,
|
||||||
|
"isSharedPos": true,
|
||||||
|
"documentType": {
|
||||||
|
"uuid": "document type uuid",
|
||||||
|
"id": "document type id",
|
||||||
|
"name": "document type name",
|
||||||
|
"description": "document type description",
|
||||||
|
"printName": "doc type print_name"
|
||||||
|
},
|
||||||
|
"cashBankAccount": {
|
||||||
|
"uuid": "cashbank account uuid",
|
||||||
|
"id": "cashbank account id",
|
||||||
|
"name": "cash bank account name",
|
||||||
|
"description": "cash bank account description",
|
||||||
|
"accountNo": "cash bank account account_no",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"bban": "cash bank account bban",
|
||||||
|
"iban": "cash bank account iban",
|
||||||
|
"creditLimit": "cash bank account credit_limit",
|
||||||
|
"currentBalance": "cash bank account current_balance",
|
||||||
|
"isDefault": "cash bank account is_default",
|
||||||
|
"businessPartner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
},
|
||||||
|
"bankAccountType": "bank account bank_account_type",
|
||||||
|
"bankAccountTypeName": "bank account bank_account_type_name"
|
||||||
|
},
|
||||||
|
"cashTransferBankAccount": {
|
||||||
|
"uuid": "bank account uuid",
|
||||||
|
"id": "bank account id",
|
||||||
|
"name": "bank account name",
|
||||||
|
"description": "bank account description",
|
||||||
|
"accountNo": "bank account account_no",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"bban": "bank account bban",
|
||||||
|
"iban": "bank account iban",
|
||||||
|
"creditLimit": "bank account credit_limit",
|
||||||
|
"currentBalance": "bank account current_balance",
|
||||||
|
"isDefault": "bank account is_default",
|
||||||
|
"businessPartner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
},
|
||||||
|
"bankAccountType": "bank account bank_account_type",
|
||||||
|
"bankAccountTypeName": "bank account bank_account_type_name"
|
||||||
|
},
|
||||||
|
"salesRepresentative": "sales_representative",
|
||||||
|
"templateBusinessPartner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"taxId": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"lastName": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
},
|
||||||
|
"priceList": {
|
||||||
|
"uuid": "price list uuid",
|
||||||
|
"id": "price list id",
|
||||||
|
"name": "price list name",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"isDefault": "is_default",
|
||||||
|
"isTaxIncluded": "is_tax_included",
|
||||||
|
"isEnforcePriceLimit": "is_enforce_price_limit",
|
||||||
|
"isNetPrice": "is_net_price",
|
||||||
|
"pricePrecision": "price_precision"
|
||||||
|
},
|
||||||
|
"conversionTypeUuid": "conversion_type_uuid",
|
||||||
|
"keyLayoutUuid": "key_layout_uuid"
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"uuid": "price list uuid",
|
||||||
|
"id": "price list id",
|
||||||
|
"name": "price list name",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"isDefault": "is_default",
|
||||||
|
"isTaxIncluded": "is_tax_included",
|
||||||
|
"isEnforcePriceLimit": "is_enforce_price_limit",
|
||||||
|
"isNetPrice": "is_net_price",
|
||||||
|
"pricePrecision": "price_precision"
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"recordCount": "record_count",
|
||||||
|
"records": [
|
||||||
|
{
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"isDefault": true,
|
||||||
|
"reportViewUuid": "report_view_uuid",
|
||||||
|
"printFormatUuid": "print_format_uuid"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nextPageToken": "next_page_token"
|
||||||
|
}
|
@ -0,0 +1,118 @@
|
|||||||
|
{
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"instanceUuid": "instance_uuid",
|
||||||
|
"isError": true,
|
||||||
|
"summary": "summary",
|
||||||
|
"resultTableName": "result_table_name",
|
||||||
|
"isProcessing": false,
|
||||||
|
"lastRun": "last_run",
|
||||||
|
"paramenters": [],
|
||||||
|
"output": {}
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"instanceUuid": "instance_uuid",
|
||||||
|
"isError": true,
|
||||||
|
"summary": "summary",
|
||||||
|
"resultTableName": "result_table_name",
|
||||||
|
"isProcessing": false,
|
||||||
|
"lastRun": "last_run",
|
||||||
|
"paramenters": [],
|
||||||
|
"output": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"fileName": "file_name",
|
||||||
|
"output": "output",
|
||||||
|
"mimeType": "mime_type",
|
||||||
|
"dataCols": "data_cols",
|
||||||
|
"dataRows": "data_rows",
|
||||||
|
"headerName": "header_name",
|
||||||
|
"footerName": "footer_name",
|
||||||
|
"printFormatUuid": "print_format_uuid",
|
||||||
|
"reportViewUuid": "report_view_uuid",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"outputStream": "output_stream",
|
||||||
|
"outputStream_asB64": "output_stream_asB64",
|
||||||
|
"outputStream_asU8": "output_stream_asU8",
|
||||||
|
"reportType": "report_type"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {},
|
||||||
|
"reference": {
|
||||||
|
"zoomWindows": []
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"messageText": {}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"conditions": []
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"uuid": "product uuid",
|
||||||
|
"id": "product id",
|
||||||
|
"value": "product value",
|
||||||
|
"name": "product name",
|
||||||
|
"help": "product help",
|
||||||
|
"documentNote": "product document_note",
|
||||||
|
"uomName": "product uom_name",
|
||||||
|
"productType": "product product_type",
|
||||||
|
"isStocked": true,
|
||||||
|
"isDropShip": false,
|
||||||
|
"isPurchased": false,
|
||||||
|
"isSold": true,
|
||||||
|
"imageUrl": "product image_url",
|
||||||
|
"productCategoryName": "product product_category_name",
|
||||||
|
"productGroupName": "product product_group_name",
|
||||||
|
"productClassName": "product product_class_name",
|
||||||
|
"productClassificationName": "product product_classification_name",
|
||||||
|
"weight": "product weight",
|
||||||
|
"volume": "product volume",
|
||||||
|
"upc": "product upc",
|
||||||
|
"sku": "product sku",
|
||||||
|
"shelfWidth": "product shelf_width",
|
||||||
|
"shelfHeight": "product shelf_height",
|
||||||
|
"shelfDepth": "product shelf_depth",
|
||||||
|
"unitsPerPack": "product units_per_pack",
|
||||||
|
"unitsPerPallet": "product units_per_pallet",
|
||||||
|
"guaranteeDays": "product guarantee_days",
|
||||||
|
"descriptionUrl": "product description_url",
|
||||||
|
"versionNo": "product version_no",
|
||||||
|
"taxCategory": "product tax_category",
|
||||||
|
"description": "product description"
|
||||||
|
}
|
@ -0,0 +1,75 @@
|
|||||||
|
{
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"taxRate": {
|
||||||
|
"name": "tax rate name",
|
||||||
|
"description": "tax rate description",
|
||||||
|
"taxIndicator": "tax rate tax_indicator",
|
||||||
|
"rate": "tax rate rate"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
"product": {
|
||||||
|
"uuid": "product uuid",
|
||||||
|
"id": "product id",
|
||||||
|
"value": "product value",
|
||||||
|
"name": "product name",
|
||||||
|
"help": "product help",
|
||||||
|
"documentNote": "product document_note",
|
||||||
|
"uomName": "product uom_name",
|
||||||
|
"productType": "product product_type",
|
||||||
|
"isStocked": true,
|
||||||
|
"isDropShip": false,
|
||||||
|
"isPurchased": false,
|
||||||
|
"isSold": true,
|
||||||
|
"imageUrl": "product image_url",
|
||||||
|
"productCategoryName": "product product_category_name",
|
||||||
|
"productGroupName": "product product_group_name",
|
||||||
|
"productClassName": "product product_class_name",
|
||||||
|
"productClassificationName": "product product_classification_name",
|
||||||
|
"weight": "product weight",
|
||||||
|
"volume": "product volume",
|
||||||
|
"upc": "product upc",
|
||||||
|
"sku": "product sku",
|
||||||
|
"shelfWidth": "product shelf_width",
|
||||||
|
"shelfHeight": "product shelf_height",
|
||||||
|
"shelfDepth": "product shelf_depth",
|
||||||
|
"unitsPerPack": "product units_per_pack",
|
||||||
|
"unitsPerPallet": "product units_per_pallet",
|
||||||
|
"guaranteeDays": "product guarantee_days",
|
||||||
|
"descriptionUrl": "product description_url",
|
||||||
|
"versionNo": "product version_no",
|
||||||
|
"taxCategory": "product tax_category",
|
||||||
|
"description": "product description"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
"schemaCurrency": {
|
||||||
|
"id": "345345345123",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iSOCode": "34534123",
|
||||||
|
"curSymbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standardPrecision": "currency standard precision",
|
||||||
|
"costingPrecision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"schemaPriceLimit": "product price schema_price_limit",
|
||||||
|
"schemaPriceList": "product price schema_price_list",
|
||||||
|
"schemaPriceStandard": "product price schema_price_standard",
|
||||||
|
"priceList": "product price price_list",
|
||||||
|
"priceStandard": "product price price_standard",
|
||||||
|
"priceLimit": "product price price_limit",
|
||||||
|
"priceListName": "product price price_list_name",
|
||||||
|
"isTaxIncluded": false,
|
||||||
|
"validFrom": "product price validFrom",
|
||||||
|
"pricePrecision": "product price price_precision",
|
||||||
|
"quantityOnHand": "product price quantity_on_hand",
|
||||||
|
"quantityReserved": "product price quantity_reserved",
|
||||||
|
"quantityOrdered": "product price quantity_ordered",
|
||||||
|
"quantityAvailable": "product price quantity_available"
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"recordCount": 0,
|
||||||
|
"nextPageToken": "12345",
|
||||||
|
"recentItemsList": [
|
||||||
|
{
|
||||||
|
"menuUuid": "9532638e-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"menuName": "Menu Name",
|
||||||
|
"menuDescription": "Menu Description",
|
||||||
|
"windowUuid": "95326442-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"tabUuid": "953264ec-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"tableId": 3,
|
||||||
|
"tableName": "table name",
|
||||||
|
"id": 23,
|
||||||
|
"uuid": "953265a0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"displayName": "display name",
|
||||||
|
"updated": "2021-04-27",
|
||||||
|
"referenceUuid": "95326654-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"action": "item list action"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"windowUuid": "window_uuid",
|
||||||
|
"displayName": "display_name",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"recordCount": "record_count"
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"recordCount": "record_count",
|
||||||
|
"referencesList": [
|
||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"windowUuid": "window_uuid",
|
||||||
|
"displayName": "display_name",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"recordCount": "record_count"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nextPageToken": "next_page_token"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "reportExportType name",
|
||||||
|
"description": "reportExportType description",
|
||||||
|
"type": "reportExportType type"
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"fileName": "file_name",
|
||||||
|
"output": "output",
|
||||||
|
"mimeType": "mime_type",
|
||||||
|
"dataCols": "data_cols",
|
||||||
|
"dataRows": "data_rows",
|
||||||
|
"headerName": "header_name",
|
||||||
|
"footerName": "footer_name",
|
||||||
|
"printFormatUuid": "print_format_uuid",
|
||||||
|
"reportViewUuid": "report_view_uuid",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"outputStream": "output_stream",
|
||||||
|
"outputStream_asB64": "output_stream_asB64",
|
||||||
|
"outputStream_asU8": "output_stream_asU8",
|
||||||
|
"reportType": "report_type"
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"reportViewUuid": "report_view_uuid"
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"clientId": "client_id",
|
||||||
|
"clientName": "client_name",
|
||||||
|
"isAllowHtmlView": true,
|
||||||
|
"isAllowInfoAccount": false,
|
||||||
|
"isAllowInfoAsset": true,
|
||||||
|
"isAllowInfoBusinessPartner": true,
|
||||||
|
"isAllowInfoCashJournal": false,
|
||||||
|
"isAllowInfoCrp": false,
|
||||||
|
"isAllowInfoInOut": false,
|
||||||
|
"isAllowInfoInvoice": true,
|
||||||
|
"isAllowInfoMrp": true,
|
||||||
|
"isAllowInfoOrder": true,
|
||||||
|
"isAllowInfoPayment": true,
|
||||||
|
"isAllowInfoProduct": true,
|
||||||
|
"isAllowInfoResource": true,
|
||||||
|
"isAllowInfoSchedule": true,
|
||||||
|
"isAllowXlsView": true,
|
||||||
|
"isCanExport": true,
|
||||||
|
"isCanReport": true,
|
||||||
|
"isPersonalAccess": true,
|
||||||
|
"isPersonalLock": false
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"uuid": "sales rep uuid",
|
||||||
|
"id": "sales rep id",
|
||||||
|
"name": "sales rep name",
|
||||||
|
"description": "sales rep description"
|
||||||
|
}
|
@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"sequence": "sequence",
|
||||||
|
"tabLevel": "tab_level",
|
||||||
|
"isActive": false,
|
||||||
|
"isSingleRow": true,
|
||||||
|
"isAdvancedTab": true,
|
||||||
|
"isHasTree": true,
|
||||||
|
"isInfoTab": false,
|
||||||
|
"isSortTab": true,
|
||||||
|
"isTranslationTab": true,
|
||||||
|
"isReadOnly": true,
|
||||||
|
"isInsertRecord": false,
|
||||||
|
"isView": true,
|
||||||
|
"isDeleteable": true,
|
||||||
|
"isDocument": false,
|
||||||
|
"isChangeLog": false,
|
||||||
|
"accessLevel": "access_level",
|
||||||
|
"linkColumnName": "link_column_name",
|
||||||
|
"sortOrderColumnName": "sort_order_column_name",
|
||||||
|
"sortYesNoColumnName": "sort_yes_no_column_name",
|
||||||
|
"parentColumnName": "parent_column_name",
|
||||||
|
"displayLogic": "display_logic",
|
||||||
|
"commitWarning": "commit_warning",
|
||||||
|
"query": "query",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"orderByClause": "order_by_clause",
|
||||||
|
"parentTabUuid": "parent_tab_uuid",
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"processes": [
|
||||||
|
{
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "tax rate name",
|
||||||
|
"description": "tax rate description",
|
||||||
|
"taxIndicator": "tax rate tax_indicator",
|
||||||
|
"rate": "tax rate rate"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"language": "translation: language",
|
||||||
|
"uuid": "translation: uuid",
|
||||||
|
"values": "translation: values"
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"userInfo": "user_info",
|
||||||
|
"role": {
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"clientId": "client_id",
|
||||||
|
"clientName": "client_name",
|
||||||
|
"isAllowHtmlView": true,
|
||||||
|
"isAllowInfoAccount": false,
|
||||||
|
"isAllowInfoAsset": true,
|
||||||
|
"isAllowInfoBusinessPartner": true,
|
||||||
|
"isAllowInfoCashJournal": false,
|
||||||
|
"isAllowInfoCrp": false,
|
||||||
|
"isAllowInfoInOut": false,
|
||||||
|
"isAllowInfoInvoice": true,
|
||||||
|
"isAllowInfoMrp": true,
|
||||||
|
"isAllowInfoOrder": true,
|
||||||
|
"isAllowInfoPayment": true,
|
||||||
|
"isAllowInfoProduct": true,
|
||||||
|
"isAllowInfoResource": true,
|
||||||
|
"isAllowInfoSchedule": true,
|
||||||
|
"isAllowXlsView": true,
|
||||||
|
"isCanExport": true,
|
||||||
|
"isCanReport": true,
|
||||||
|
"isPersonalAccess": true,
|
||||||
|
"isPersonalLock": false
|
||||||
|
},
|
||||||
|
"processed": "processed",
|
||||||
|
"defaultContext": "default_context",
|
||||||
|
"countryId": "country_id",
|
||||||
|
"costingPrecision": "costing_precision",
|
||||||
|
"countryCode": "country_code",
|
||||||
|
"countryName": "country_name",
|
||||||
|
"currencyIsoCode": "currency_iso_code",
|
||||||
|
"currencyName": "currency_name",
|
||||||
|
"currencySymbol": "currency_symbol",
|
||||||
|
"displaySequence": "display_sequence",
|
||||||
|
"language": "language",
|
||||||
|
"standardPrecision": "standard_precision"
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "validation rule name",
|
||||||
|
"description": "validation rule description",
|
||||||
|
"validationCode": "validation rule validation_code",
|
||||||
|
"type": "validation rule type"
|
||||||
|
}
|
@ -0,0 +1,324 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"isActive": true,
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"windowType": "windowType",
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tabs": [
|
||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"sequence": "sequence",
|
||||||
|
"tabLevel": "tab_level",
|
||||||
|
"isActive": false,
|
||||||
|
"isSingleRow": true,
|
||||||
|
"isAdvancedTab": true,
|
||||||
|
"isHasTree": true,
|
||||||
|
"isInfoTab": false,
|
||||||
|
"isSortTab": true,
|
||||||
|
"isTranslationTab": true,
|
||||||
|
"isReadOnly": true,
|
||||||
|
"isInsertRecord": false,
|
||||||
|
"isView": true,
|
||||||
|
"isDeleteable": true,
|
||||||
|
"isDocument": false,
|
||||||
|
"isChangeLog": false,
|
||||||
|
"accessLevel": "access_level",
|
||||||
|
"linkColumnName": "link_column_name",
|
||||||
|
"sortOrderColumnName": "sort_order_column_name",
|
||||||
|
"sortYesNoColumnName": "sort_yes_no_column_name",
|
||||||
|
"parentColumnName": "parent_column_name",
|
||||||
|
"displayLogic": "display_logic",
|
||||||
|
"commitWarning": "commit_warning",
|
||||||
|
"query": "query",
|
||||||
|
"whereClause": "where_clause",
|
||||||
|
"orderByClause": "order_by_clause",
|
||||||
|
"parentTabUuid": "parent_tab_uuid",
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"processes": [
|
||||||
|
{
|
||||||
|
"accessLevel": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"isActive": false,
|
||||||
|
"isDirectPrint": true,
|
||||||
|
"isReport": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"reportExportTypes": ["Export Type 1", "Export Type 2"],
|
||||||
|
"showHelp": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"columnName": "Process Parameter Column Name",
|
||||||
|
"elementName": "Process Parameter Element Name",
|
||||||
|
"isActive": true,
|
||||||
|
"displayType": "Process Parameter Display Type",
|
||||||
|
"isFieldOnly": false,
|
||||||
|
"isRange": true,
|
||||||
|
"isSameLine": false,
|
||||||
|
"isEncrypted": true,
|
||||||
|
"isQuickEntry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seqNoGrid": 6,
|
||||||
|
"sortNo": 1,
|
||||||
|
"identifierSequence": "Process Parameter Identifier Sequence",
|
||||||
|
"formatPattern": "Process Parameter Format Pattern",
|
||||||
|
"vFormat": "Process Parameter V Format",
|
||||||
|
"defaultValue": "Process Parameter Default Value",
|
||||||
|
"defaultValueTo": "Process Parameter Default Value To",
|
||||||
|
"fieldLength": 2,
|
||||||
|
"valueMin": 3,
|
||||||
|
"valueMax": 3,
|
||||||
|
"isIdentifier": true,
|
||||||
|
"isParent": false,
|
||||||
|
"isKey": true,
|
||||||
|
"isSelectionColumn": false,
|
||||||
|
"isUpdateable": true,
|
||||||
|
"isAlwaysUpdateable": false,
|
||||||
|
"isAllowCopy": true,
|
||||||
|
"isHeading": false,
|
||||||
|
"isAllowLogging": true,
|
||||||
|
"isTranslated": false,
|
||||||
|
"columnSQL": "Process Parameter Column SQL",
|
||||||
|
"isDisplayed": true,
|
||||||
|
"isDisplayedGrid": false,
|
||||||
|
"isMandatory": true,
|
||||||
|
"isReadOnly": false,
|
||||||
|
"isQueryCriteria": true,
|
||||||
|
"isOrderBy": false,
|
||||||
|
"isInfoOnly": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"displayLogic": "Process Parameter Display Logic",
|
||||||
|
"mandatoryLogic": "Process Parameter Mandatory Logic",
|
||||||
|
"readOnlyLogic": "Process Parameter Read Only Logic",
|
||||||
|
"fieldGroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"fieldGroupType": "Process Parameter Fieldgroup Type",
|
||||||
|
"isActive": true,
|
||||||
|
"groupName": "Process Parameter Fieldgroup Name",
|
||||||
|
"groupType": "Process Parameter Fieldgroup Type"
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"tableName": "Process Parameter Reference Table Name",
|
||||||
|
"keyColumnName": "Process Parameter Reference Key Column Name",
|
||||||
|
"displayColumnName": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"directQuery": "Process Parameter Reference Direcy Query",
|
||||||
|
"validationCode": "Process Parameter Reference Validation Code",
|
||||||
|
"zoomWindows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"isSalesTransaction": false,
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"contextInfo": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sqlStatement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"isActive": false,
|
||||||
|
"messageText": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"messageType": "Process Parameter Context Info Message Text Type",
|
||||||
|
"messageText": "Process Parameter Context Info Message Text Text",
|
||||||
|
"messageTip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldDefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"isActive": false,
|
||||||
|
"fieldGroupType": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"styleSheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"isActive": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"value": "value",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"responsibleUuid": "responsible_uuid",
|
||||||
|
"priority": "priority",
|
||||||
|
"validFrom": "valid_from",
|
||||||
|
"isDefault": true,
|
||||||
|
"isValid": false,
|
||||||
|
"publishStatus": "publish_status",
|
||||||
|
"publishStatusName": "publish_status_name",
|
||||||
|
"durationUnit": "duration_unit",
|
||||||
|
"durationUnitName": "duration_unit_name",
|
||||||
|
"startNode": {
|
||||||
|
"uuid": "start node uuid",
|
||||||
|
"value": "start node value",
|
||||||
|
"name": "start node name",
|
||||||
|
"description": "start node description",
|
||||||
|
"help": "start node help",
|
||||||
|
"responsibleUuid": "start node responsible_uuid",
|
||||||
|
"documentAction": { "action": "value1" },
|
||||||
|
"priority": "start node priority",
|
||||||
|
"action": "start node action",
|
||||||
|
"actionName": "start node action_name",
|
||||||
|
"transitionsList": [
|
||||||
|
{
|
||||||
|
"nodeNextUuid": "start node node_next_uuid",
|
||||||
|
"description": "start node description",
|
||||||
|
"isStdUserWorkflow": true,
|
||||||
|
"isStandardUserWorkflow": true,
|
||||||
|
"sequence": "start node sequence",
|
||||||
|
"workflowConditionsList": [
|
||||||
|
{
|
||||||
|
"sequence": "start node sequence",
|
||||||
|
"columnName": "start node column_name",
|
||||||
|
"value": "start node value",
|
||||||
|
"conditionType": "start node confidential_type",
|
||||||
|
"conditionTypeName": "start node confidential_type_name",
|
||||||
|
"operation": "start node operation",
|
||||||
|
"operationName": "start node operation_name"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"workflowNodesList": [
|
||||||
|
{
|
||||||
|
"uuid": "node 1 uuid",
|
||||||
|
"value": "node 1 value",
|
||||||
|
"name": "node 1 name",
|
||||||
|
"description": "node 1 description",
|
||||||
|
"help": "node 1 help",
|
||||||
|
"responsibleUuid": "node 1 responsible_uuid",
|
||||||
|
"documentAction": { "action": "value2" },
|
||||||
|
"priority": "node 1 priority",
|
||||||
|
"action": "node 1 action",
|
||||||
|
"actionName": "node 1 action_name",
|
||||||
|
"transitionsList": [
|
||||||
|
{
|
||||||
|
"nodeNextUuid": "node 1 node_next_uuid",
|
||||||
|
"description": "node 1 description",
|
||||||
|
"isStdUserWorkflow": true,
|
||||||
|
"isStandardUserWorkflow": true,
|
||||||
|
"sequence": "node 1 sequence",
|
||||||
|
"workflowConditionsList": [
|
||||||
|
{
|
||||||
|
"sequence": "node 1 sequence",
|
||||||
|
"columnName": "node 1 column_name",
|
||||||
|
"value": "node 1 value",
|
||||||
|
"conditionType": "node 1 confidential_type",
|
||||||
|
"conditionTypeName": "node 1 confidential_type_name",
|
||||||
|
"operation": "node 1 operation",
|
||||||
|
"operationName": "node 1 operation_name"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"processUuid": "process_uuid",
|
||||||
|
"workflowUuid": "workflow_uuid",
|
||||||
|
"workflowName": "workflow_name",
|
||||||
|
"recordId": "record_id",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"userUuid": "user_uuid",
|
||||||
|
"userName": "user_name",
|
||||||
|
"responsibleUuid": "responsible_uuid",
|
||||||
|
"responsibleName": "responsible_name",
|
||||||
|
"textMessage": "text_message",
|
||||||
|
"processed": "processed",
|
||||||
|
"workflowStateName": "workflow_state_name",
|
||||||
|
"workflowState": "workflow_state",
|
||||||
|
"priority": "priority",
|
||||||
|
"priorityName": "priority_name",
|
||||||
|
"workflowEventsList": [
|
||||||
|
{
|
||||||
|
"nodeUuid": "node_uuid",
|
||||||
|
"nodeName": "node_name",
|
||||||
|
"recordId": "record_id",
|
||||||
|
"tableName": "table_name",
|
||||||
|
"userUuid": "user_uuid",
|
||||||
|
"userName": "user_name",
|
||||||
|
"responsibleUuid": "responsible_uuid",
|
||||||
|
"responsibleName": "responsible_name",
|
||||||
|
"textMessage": "text_message",
|
||||||
|
"timeElapsed": "time_elapsed",
|
||||||
|
"attributeName": "attribute_name",
|
||||||
|
"oldValue": "old_value",
|
||||||
|
"newValue": "new_value",
|
||||||
|
"workflowState": "workflow_state",
|
||||||
|
"workflowStateName": "workflow_state_name",
|
||||||
|
"eventType": "event_type",
|
||||||
|
"eventTypeName": "event_type_name",
|
||||||
|
"logDate": "log_date"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logDate": "log_date"
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"uuid": "bank account uuid",
|
||||||
|
"id": "bank account id",
|
||||||
|
"name": "bank account name",
|
||||||
|
"description": "bank account description",
|
||||||
|
"account_no": "bank account account_no",
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iso_code": "34534",
|
||||||
|
"currency_symbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standard_precision": "currency standard precision",
|
||||||
|
"costing_precision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"bban": "bank account bban",
|
||||||
|
"iban": "bank account iban",
|
||||||
|
"credit_limit": "bank account credit_limit",
|
||||||
|
"current_balance": "bank account current_balance",
|
||||||
|
"is_default": "bank account is_default",
|
||||||
|
"business_partner": {
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"tax_id": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"last_name": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
},
|
||||||
|
"bank_account_type": "bank account bank_account_type",
|
||||||
|
"bank_account_type_name": "bank account bank_account_type_name"
|
||||||
|
}
|
@ -0,0 +1,565 @@
|
|||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"view_uuid": "viewUuid",
|
||||||
|
"value": "value",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"access_level": "access_level",
|
||||||
|
"is_active": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_deleteable": false,
|
||||||
|
"is_selected_by_default": true,
|
||||||
|
"is_collapsible_by_default": true,
|
||||||
|
"is_executed_query_by_default": false,
|
||||||
|
"is_show_total": true,
|
||||||
|
"query": "query",
|
||||||
|
"where_clause": "where_clause",
|
||||||
|
"order_by_clause": "order_by_clause",
|
||||||
|
"window": {
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"is_active": true,
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"window_type": "windowType",
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tabs": [
|
||||||
|
{
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"name": "name",
|
||||||
|
"description": "description",
|
||||||
|
"help": "help",
|
||||||
|
"table_name": "table_name",
|
||||||
|
"sequence": "sequence",
|
||||||
|
"tab_level": "tab_level",
|
||||||
|
"is_active": false,
|
||||||
|
"is_single_row": true,
|
||||||
|
"is_advanced_tab": true,
|
||||||
|
"is_has_tree": true,
|
||||||
|
"is_info_tab": false,
|
||||||
|
"is_sort_tab": true,
|
||||||
|
"is_translation_tab": true,
|
||||||
|
"is_read_only": true,
|
||||||
|
"is_insert_record": false,
|
||||||
|
"is_view": true,
|
||||||
|
"is_deleteable": true,
|
||||||
|
"is_document": false,
|
||||||
|
"is_change_log": false,
|
||||||
|
"access_level": "access_level",
|
||||||
|
"link_column_name": "link_column_name",
|
||||||
|
"sort_order_column_name": "sort_order_column_name",
|
||||||
|
"sort_yes_no_column_name": "sort_yes_no_column_name",
|
||||||
|
"parent_column_name": "parent_column_name",
|
||||||
|
"display_logic": "display_logic",
|
||||||
|
"commit_warning": "commit_warning",
|
||||||
|
"query": "query",
|
||||||
|
"where_clause": "where_clause",
|
||||||
|
"order_by_clause": "order_by_clause",
|
||||||
|
"parent_tab_uuid": "parent_tab_uuid",
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"field_group": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"processes": [
|
||||||
|
{
|
||||||
|
"access_level": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"is_active": false,
|
||||||
|
"is_direct_print": true,
|
||||||
|
"is_report": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"report_export_types": ["Export Type 1", "Export Type 2"],
|
||||||
|
"show_help": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"column_name": "Process Parameter Column Name",
|
||||||
|
"element_name": "Process Parameter Element Name",
|
||||||
|
"is_active": true,
|
||||||
|
"display_type": "Process Parameter Display Type",
|
||||||
|
"is_field_only": false,
|
||||||
|
"is_range": true,
|
||||||
|
"is_same_line": false,
|
||||||
|
"is_encrypted": true,
|
||||||
|
"is_quick_entry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seq_no_grid": 6,
|
||||||
|
"sort_no": 1,
|
||||||
|
"identifier_sequence": "Process Parameter Identifier Sequence",
|
||||||
|
"format_pattern": "Process Parameter Format Pattern",
|
||||||
|
"v_format": "Process Parameter V Format",
|
||||||
|
"default_value": "Process Parameter Default Value",
|
||||||
|
"default_value_to": "Process Parameter Default Value To",
|
||||||
|
"field_length": 2,
|
||||||
|
"value_max": 3,
|
||||||
|
"is_identifier": true,
|
||||||
|
"is_parent": false,
|
||||||
|
"is_key": true,
|
||||||
|
"is_selection_column": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_always_updateable": false,
|
||||||
|
"is_allow_copy": true,
|
||||||
|
"is_heading": false,
|
||||||
|
"is_allow_logging": true,
|
||||||
|
"is_translated": false,
|
||||||
|
"column_sql": "Process Parameter Column SQL",
|
||||||
|
"is_displayed": true,
|
||||||
|
"is_displayed_grid": false,
|
||||||
|
"is_mandatory": true,
|
||||||
|
"is_read_only": false,
|
||||||
|
"is_query_criteria": true,
|
||||||
|
"is_order_by": false,
|
||||||
|
"is_info_only": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"display_logic": "Process Parameter Display Logic",
|
||||||
|
"mandatory_logic": "Process Parameter Mandatory Logic",
|
||||||
|
"read_only_logic": "Process Parameter Read Only Logic",
|
||||||
|
"Fieldgroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"table_name": "Process Parameter Reference Table Name",
|
||||||
|
"key_column_name": "Process Parameter Reference Key Column Name",
|
||||||
|
"display_column_name": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"direct_query": "Process Parameter Reference Direcy Query",
|
||||||
|
"validation_code": "Process Parameter Reference Validation Code",
|
||||||
|
"zoom_windows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"is_active": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Fielddefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"Value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"is_active": false,
|
||||||
|
"field_group_type": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"style_sheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"column_name": "Process Parameter Column Name",
|
||||||
|
"element_name": "Process Parameter Element Name",
|
||||||
|
"is_active": true,
|
||||||
|
"display_type": "Process Parameter Display Type",
|
||||||
|
"is_field_only": false,
|
||||||
|
"is_range": true,
|
||||||
|
"is_same_line": false,
|
||||||
|
"is_encrypted": true,
|
||||||
|
"is_quick_entry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seq_no_grid": 6,
|
||||||
|
"sort_no": 1,
|
||||||
|
"identifier_sequence": "Process Parameter Identifier Sequence",
|
||||||
|
"format_pattern": "Process Parameter Format Pattern",
|
||||||
|
"v_format": "Process Parameter V Format",
|
||||||
|
"default_value": "Process Parameter Default Value",
|
||||||
|
"default_value_to": "Process Parameter Default Value To",
|
||||||
|
"field_length": 2,
|
||||||
|
"value_max": 3,
|
||||||
|
"is_identifier": true,
|
||||||
|
"is_parent": false,
|
||||||
|
"is_key": true,
|
||||||
|
"is_selection_column": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_always_updateable": false,
|
||||||
|
"is_allow_copy": true,
|
||||||
|
"is_heading": false,
|
||||||
|
"is_allow_logging": true,
|
||||||
|
"is_translated": false,
|
||||||
|
"column_sql": "Process Parameter Column SQL",
|
||||||
|
"is_displayed": true,
|
||||||
|
"is_displayed_grid": false,
|
||||||
|
"is_mandatory": true,
|
||||||
|
"is_read_only": false,
|
||||||
|
"is_query_criteria": true,
|
||||||
|
"is_order_by": false,
|
||||||
|
"is_info_only": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"display_logic": "Process Parameter Display Logic",
|
||||||
|
"mandatory_logic": "Process Parameter Mandatory Logic",
|
||||||
|
"read_only_logic": "Process Parameter Read Only Logic",
|
||||||
|
"Fieldgroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"table_name": "Process Parameter Reference Table Name",
|
||||||
|
"key_column_name": "Process Parameter Reference Key Column Name",
|
||||||
|
"display_column_name": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"direct_query": "Process Parameter Reference Direcy Query",
|
||||||
|
"validation_code": "Process Parameter Reference Validation Code",
|
||||||
|
"zoom_windows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"is_active": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Fielddefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"Value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"is_active": false,
|
||||||
|
"field_group_type": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"style_sheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"process": {
|
||||||
|
"access_level": "Access Level",
|
||||||
|
"description": "Process Description",
|
||||||
|
"help": "Process Help",
|
||||||
|
"id": "12345",
|
||||||
|
"is_active": false,
|
||||||
|
"is_direct_print": true,
|
||||||
|
"is_report": false,
|
||||||
|
"name": "Process Name",
|
||||||
|
"report_export_types": ["Export Type 1", "Export Type 2"],
|
||||||
|
"show_help": true,
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"column_name": "Process Parameter Column Name",
|
||||||
|
"element_name": "Process Parameter Element Name",
|
||||||
|
"is_active": true,
|
||||||
|
"display_type": "Process Parameter Display Type",
|
||||||
|
"is_field_only": false,
|
||||||
|
"is_range": true,
|
||||||
|
"is_same_line": false,
|
||||||
|
"is_encrypted": true,
|
||||||
|
"is_quick_entry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seq_no_grid": 6,
|
||||||
|
"sort_no": 1,
|
||||||
|
"identifier_sequence": "Process Parameter Identifier Sequence",
|
||||||
|
"format_pattern": "Process Parameter Format Pattern",
|
||||||
|
"v_format": "Process Parameter V Format",
|
||||||
|
"default_value": "Process Parameter Default Value",
|
||||||
|
"default_value_to": "Process Parameter Default Value To",
|
||||||
|
"field_length": 2,
|
||||||
|
"value_max": 3,
|
||||||
|
"is_identifier": true,
|
||||||
|
"is_parent": false,
|
||||||
|
"is_key": true,
|
||||||
|
"is_selection_column": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_always_updateable": false,
|
||||||
|
"is_allow_copy": true,
|
||||||
|
"is_heading": false,
|
||||||
|
"is_allow_logging": true,
|
||||||
|
"is_translated": false,
|
||||||
|
"column_sql": "Process Parameter Column SQL",
|
||||||
|
"is_displayed": true,
|
||||||
|
"is_displayed_grid": false,
|
||||||
|
"is_mandatory": true,
|
||||||
|
"is_read_only": false,
|
||||||
|
"is_query_criteria": true,
|
||||||
|
"is_order_by": false,
|
||||||
|
"is_info_only": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"display_logic": "Process Parameter Display Logic",
|
||||||
|
"mandatory_logic": "Process Parameter Mandatory Logic",
|
||||||
|
"read_only_logic": "Process Parameter Read Only Logic",
|
||||||
|
"Fieldgroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"table_name": "Process Parameter Reference Table Name",
|
||||||
|
"key_column_name": "Process Parameter Reference Key Column Name",
|
||||||
|
"display_column_name": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"direct_query": "Process Parameter Reference Direcy Query",
|
||||||
|
"validation_code": "Process Parameter Reference Validation Code",
|
||||||
|
"zoom_windows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"is_active": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Fielddefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"Value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"is_active": false,
|
||||||
|
"field_group_type": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"style_sheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"column_name": "Process Parameter Column Name",
|
||||||
|
"element_name": "Process Parameter Element Name",
|
||||||
|
"is_active": true,
|
||||||
|
"display_type": "Process Parameter Display Type",
|
||||||
|
"is_field_only": false,
|
||||||
|
"is_range": true,
|
||||||
|
"is_same_line": false,
|
||||||
|
"is_encrypted": true,
|
||||||
|
"is_quick_entry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seq_no_grid": 6,
|
||||||
|
"sort_no": 1,
|
||||||
|
"identifier_sequence": "Process Parameter Identifier Sequence",
|
||||||
|
"format_pattern": "Process Parameter Format Pattern",
|
||||||
|
"v_format": "Process Parameter V Format",
|
||||||
|
"default_value": "Process Parameter Default Value",
|
||||||
|
"default_value_to": "Process Parameter Default Value To",
|
||||||
|
"field_length": 2,
|
||||||
|
"value_max": 3,
|
||||||
|
"is_identifier": true,
|
||||||
|
"is_parent": false,
|
||||||
|
"is_key": true,
|
||||||
|
"is_selection_column": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_always_updateable": false,
|
||||||
|
"is_allow_copy": true,
|
||||||
|
"is_heading": false,
|
||||||
|
"is_allow_logging": true,
|
||||||
|
"is_translated": false,
|
||||||
|
"column_sql": "Process Parameter Column SQL",
|
||||||
|
"is_displayed": true,
|
||||||
|
"is_displayed_grid": false,
|
||||||
|
"is_mandatory": true,
|
||||||
|
"is_read_only": false,
|
||||||
|
"is_query_criteria": true,
|
||||||
|
"is_order_by": false,
|
||||||
|
"is_info_only": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"display_logic": "Process Parameter Display Logic",
|
||||||
|
"mandatory_logic": "Process Parameter Mandatory Logic",
|
||||||
|
"read_only_logic": "Process Parameter Read Only Logic",
|
||||||
|
"Fieldgroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"table_name": "Process Parameter Reference Table Name",
|
||||||
|
"key_column_name": "Process Parameter Reference Key Column Name",
|
||||||
|
"display_column_name": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"direct_query": "Process Parameter Reference Direcy Query",
|
||||||
|
"validation_code": "Process Parameter Reference Validation Code",
|
||||||
|
"zoom_windows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"is_active": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Fielddefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"Value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"is_active": false,
|
||||||
|
"field_group_type": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"style_sheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"uuid": "uuid",
|
||||||
|
"id": "id",
|
||||||
|
"value": "value",
|
||||||
|
"tax_id": "tax_id",
|
||||||
|
"duns": "duns",
|
||||||
|
"naics": "naics",
|
||||||
|
"name": "name",
|
||||||
|
"last_name": "last_name",
|
||||||
|
"description": "description"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"chat_uuid": "chat_uuid",
|
||||||
|
"chat_entry_uuid": "chat_entry_uuid",
|
||||||
|
"subject": "subject",
|
||||||
|
"character_data": "character_data",
|
||||||
|
"user_uuid": "user_uuid",
|
||||||
|
"user_name": "user_name",
|
||||||
|
"chat_entry_type": "chat_entry_type",
|
||||||
|
"chat_entry_type_name": "chat_entry_type_name",
|
||||||
|
"confidential_type": "confidential_type",
|
||||||
|
"confidential_type_name": "confidential_type_name",
|
||||||
|
"moderator_status": "moderator_status",
|
||||||
|
"moderator_status_name": "moderator_status_name",
|
||||||
|
"log_date": "log_date"
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"uuid": "converstion rateuuid",
|
||||||
|
"id": "converstion rateid",
|
||||||
|
"conversion_type_uuid": "converstion rateconversion_type_uuid",
|
||||||
|
"valid_from": "converstion rate valid_from",
|
||||||
|
"currency_from": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iso_code": "34534",
|
||||||
|
"currency_symbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standard_precision": "currency standard precision",
|
||||||
|
"costing_precision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"currency_to": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iso_code": "34534",
|
||||||
|
"currency_symbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standard_precision": "currency standard precision",
|
||||||
|
"costing_precision": "currency coasting precision"
|
||||||
|
},
|
||||||
|
"multiply_rate": "converstion rate multiply_rate",
|
||||||
|
"divide_rate": "converstion rate converstion ratedivide_rate"
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"uuid": "converstion rateuuid",
|
||||||
|
"id": "converstion rateid",
|
||||||
|
"conversion_type_uuid": "converstion rateconversion_type_uuid",
|
||||||
|
"valid_from": "converstion rate valid_from",
|
||||||
|
"multiply_rate": "converstion rate multiply_rate",
|
||||||
|
"divide_rate": "converstion rate converstion ratedivide_rate"
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"country_code": "AUS",
|
||||||
|
"name": "Australia",
|
||||||
|
"description": "country description",
|
||||||
|
"has_region": true,
|
||||||
|
"region_name": "NSW",
|
||||||
|
"display_sequence": "country display sequence",
|
||||||
|
"is_address_lines_reverse": false,
|
||||||
|
"capture_sequence": "country capture sequence",
|
||||||
|
"display_sequence_local": "country display seq local",
|
||||||
|
"is_address_lines_local_reverse": false,
|
||||||
|
"expression_postal": "country expression postal",
|
||||||
|
"has_postal_add": "country has postal add",
|
||||||
|
"expression_phone": "country expression phone",
|
||||||
|
"media_size": "country media size",
|
||||||
|
"expression_bank_routing_no": "country expression baking routing no",
|
||||||
|
"expression_bank_account_no": "country expression banking account no",
|
||||||
|
"language": "EN",
|
||||||
|
"allow_cities_out_of_list": true,
|
||||||
|
"is_post_code_lookup": false,
|
||||||
|
"currency": {
|
||||||
|
"id": "345345345",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"iso_code": "34534",
|
||||||
|
"currency_symbol": "$",
|
||||||
|
"description": "currency description",
|
||||||
|
"standard_precision": "currency standard precision",
|
||||||
|
"costing_precision": "currency coasting precision"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"country_code": "AUS",
|
||||||
|
"name": "Australia",
|
||||||
|
"description": "country description",
|
||||||
|
"has_region": true,
|
||||||
|
"region_name": "NSW",
|
||||||
|
"display_sequence": "country display sequence",
|
||||||
|
"is_address_lines_reverse": false,
|
||||||
|
"capture_sequence": "country capture sequence",
|
||||||
|
"display_sequence_local": "country display seq local",
|
||||||
|
"is_address_lines_local_reverse": false,
|
||||||
|
"expression_postal": "country expression postal",
|
||||||
|
"has_postal_add": "country has postal add",
|
||||||
|
"expression_phone": "country expression phone",
|
||||||
|
"media_size": "country media size",
|
||||||
|
"expression_bank_routing_no": "country expression baking routing no",
|
||||||
|
"expression_bank_account_no": "country expression banking account no",
|
||||||
|
"language": "EN",
|
||||||
|
"allow_cities_out_of_list": true,
|
||||||
|
"is_post_code_lookup": false
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"window_uuid": "953269ba-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"browser_uuid": "95326a6e-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"dashboard_name": "dashboard name",
|
||||||
|
"dashboard_description": "dashboard description",
|
||||||
|
"dashboard_html": "dashboard html",
|
||||||
|
"column_no": 0,
|
||||||
|
"line_no": 1,
|
||||||
|
"is_collapsible": true,
|
||||||
|
"is_open_by_default": true,
|
||||||
|
"is_event_required": false,
|
||||||
|
"file_name": "dashboard file name"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "document status name",
|
||||||
|
"description": "document status description",
|
||||||
|
"value": "document status value"
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"uuid": "document type uuid",
|
||||||
|
"id": "document type id",
|
||||||
|
"name": "document type name",
|
||||||
|
"description": "document type description",
|
||||||
|
"print_name": "doc type print_name"
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"table_name": "table_name",
|
||||||
|
"print_name": "print_name"
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "entity id",
|
||||||
|
"uuid": "entity uuid",
|
||||||
|
"table_name": "entity table_name",
|
||||||
|
"attributes": [
|
||||||
|
{ "key": "key1", "value": "value1" },
|
||||||
|
{ "key": "key2", "value": "value2" }
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"chat_uuid": "chat_uuid",
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "123234",
|
||||||
|
"table_name": "table_name",
|
||||||
|
"chat_type_uuid": "chat_type_uuid",
|
||||||
|
"description": "description",
|
||||||
|
"confidential_type": "confidential_type",
|
||||||
|
"confidential_type_name": "confidential_type_name",
|
||||||
|
"moderation_type": "moderation_type",
|
||||||
|
"moderation_type_name": "moderation_type_name",
|
||||||
|
"log_date": "log_date"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"next_page_token": "entity list next_page_token",
|
||||||
|
"record_count": "entity list record_count",
|
||||||
|
"records": [
|
||||||
|
{
|
||||||
|
"id": "entity list id",
|
||||||
|
"uuid": "entity list uuid",
|
||||||
|
"table_name": "entity list table_name",
|
||||||
|
"attributes": [
|
||||||
|
{ "key": "key1", "value": "value1" },
|
||||||
|
{ "key": "key2", "value": "value2" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"log_id": "log_id",
|
||||||
|
"id": "id",
|
||||||
|
"uuid": "uuid",
|
||||||
|
"table_name": "table_name",
|
||||||
|
"session_uuid": "session_uuid",
|
||||||
|
"user_uuid": "user_uuid",
|
||||||
|
"user_name": "user_name",
|
||||||
|
"transaction_name": "transaction_name",
|
||||||
|
"event_type": "event_type",
|
||||||
|
"event_type_name": "event_type_name",
|
||||||
|
"log_date": "log_date",
|
||||||
|
"change_logs": [
|
||||||
|
{
|
||||||
|
"column_name": "column_name",
|
||||||
|
"display_column_name": "display_column_name",
|
||||||
|
"old_value": "old_value",
|
||||||
|
"new_value": "new_value",
|
||||||
|
"old_display_value": "old_display_value",
|
||||||
|
"new_display_value": "new_display_value",
|
||||||
|
"description": "description"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"menu_uuid": "953266fe-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"menu_name": "favorite menu name",
|
||||||
|
"menu_description": "favorite menu description",
|
||||||
|
"reference_uuid": "953268fc-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"action": "favorite action"
|
||||||
|
}
|
@ -0,0 +1,106 @@
|
|||||||
|
{
|
||||||
|
"id": "5678",
|
||||||
|
"uuid": "95325d26-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Name",
|
||||||
|
"description": "Process Parameter Description",
|
||||||
|
"help": "Process Parameter Help",
|
||||||
|
"column_name": "Process Parameter Column Name",
|
||||||
|
"element_name": "Process Parameter Element Name",
|
||||||
|
"is_active": true,
|
||||||
|
"display_type": "Process Parameter Display Type",
|
||||||
|
"is_field_only": false,
|
||||||
|
"is_range": true,
|
||||||
|
"is_same_line": false,
|
||||||
|
"is_encrypted": true,
|
||||||
|
"is_quick_entry": false,
|
||||||
|
"sequence": "Process Parameter Sequence",
|
||||||
|
"seq_no_grid": 6,
|
||||||
|
"sort_no": 1,
|
||||||
|
"identifier_sequence": "Process Parameter Identifier Sequence",
|
||||||
|
"format_pattern": "Process Parameter Format Pattern",
|
||||||
|
"v_format": "Process Parameter V Format",
|
||||||
|
"default_value": "Process Parameter Default Value",
|
||||||
|
"default_value_to": "Process Parameter Default Value To",
|
||||||
|
"field_length": 2,
|
||||||
|
"value_max": 3,
|
||||||
|
"is_identifier": true,
|
||||||
|
"is_parent": false,
|
||||||
|
"is_key": true,
|
||||||
|
"is_selection_column": false,
|
||||||
|
"is_updateable": true,
|
||||||
|
"is_always_updateable": false,
|
||||||
|
"is_allow_copy": true,
|
||||||
|
"is_heading": false,
|
||||||
|
"is_allow_logging": true,
|
||||||
|
"is_translated": false,
|
||||||
|
"column_sql": "Process Parameter Column SQL",
|
||||||
|
"is_displayed": true,
|
||||||
|
"is_displayed_grid": false,
|
||||||
|
"is_mandatory": true,
|
||||||
|
"is_read_only": false,
|
||||||
|
"is_query_criteria": true,
|
||||||
|
"is_order_by": false,
|
||||||
|
"is_info_only": true,
|
||||||
|
"callout": "Process Parameter Callout",
|
||||||
|
"display_logic": "Process Parameter Display Logic",
|
||||||
|
"mandatory_logic": "Process Parameter Mandatory Logic",
|
||||||
|
"read_only_logic": "Process Parameter Read Only Logic",
|
||||||
|
"Fieldgroup": {
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
},
|
||||||
|
"reference": {
|
||||||
|
"table_name": "Process Parameter Reference Table Name",
|
||||||
|
"key_column_name": "Process Parameter Reference Key Column Name",
|
||||||
|
"display_column_name": "Process Parameter Reference Display Column Name",
|
||||||
|
"query": "Process Parameter Reference Query",
|
||||||
|
"direct_query": "Process Parameter Reference Direcy Query",
|
||||||
|
"validation_code": "Process Parameter Reference Validation Code",
|
||||||
|
"zoom_windows": [
|
||||||
|
{
|
||||||
|
"id": "974634",
|
||||||
|
"uuid": "95325ede-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Reference Zoom Windows Name",
|
||||||
|
"description": "Process Parameter Reference Zoom Windows Description",
|
||||||
|
"is_sales_transaction": false,
|
||||||
|
"is_active": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"context_info": {
|
||||||
|
"id": "8546456",
|
||||||
|
"uuid": "95325f9c-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Context Info Name",
|
||||||
|
"description": "Process Parameter Context Info Description",
|
||||||
|
"sql_statement": "Process Parameter Context Info SQL Statement",
|
||||||
|
"is_active": false,
|
||||||
|
"message_text": {
|
||||||
|
"id": "4383456",
|
||||||
|
"value": "Process Parameter Context Info Message Text Value",
|
||||||
|
"message_type": "Process Parameter Context Info Message Text Type",
|
||||||
|
"message_text": "Process Parameter Context Info Message Text Text",
|
||||||
|
"message_tip": "Process Parameter Context Info Message Text Tip",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Fielddefinition": {
|
||||||
|
"id": "4364567",
|
||||||
|
"uuid": "95326050-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"Value": "Process Parameter Field Definition Value",
|
||||||
|
"name": "Process Parameter Field Definition Name",
|
||||||
|
"is_active": false,
|
||||||
|
"field_group_type": "Process Parameter Field Definition Type",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"id": "4567568",
|
||||||
|
"uuid": "953262d0-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"condition": "Process Parameter Field Definition Condition",
|
||||||
|
"style_sheet": "Process Parameter Field Definition Condition Style Sheet",
|
||||||
|
"is_active": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"id": "3455",
|
||||||
|
"uuid": "95325e16-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "Process Parameter Fieldgroup Name",
|
||||||
|
"field_group_type": "Process Parameter Fieldgroup Type",
|
||||||
|
"is_active": true
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "34534534",
|
||||||
|
"uuid": "95325b0a-a67b-11eb-bcbc-0242ac130002",
|
||||||
|
"name": "form name",
|
||||||
|
"description": "form description",
|
||||||
|
"help": "form help",
|
||||||
|
"access_level": "form accessLevel",
|
||||||
|
"file_name": "form file_name",
|
||||||
|
"is_active": true
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user