Tag: customization

AgilizTech’s Customization for Creatio (formerly bpm’online) – Conditionally Enable / Disable Field in bpm’online mobile app

In this blog we will be discussing on how to conditionally enable or disable a field in Creatio (formerly bpm’online) mobile app.

In this third use case, the user can enter the product details, price and quantity needed, and can edit the total amount field in the order page of the mobile app. The total amount field should be an auto computed one based on the price and quantity given at order product level. To restrict this we have created a code which completely disables the ‘order total amount’ field.

creatio

Figure:1 By default if you add the “total order amount” in mobile page, it will be editable.

creatio

Figure:2 After applying the below code, the field will not be editable.

How to make changes in the page?

To apply these changes and set the corrections, you should be aware of the workplace in which the changes have to be done.

In the Custom package > MobileApplicationManifestDefaultWorkplace select the mobile app workplace where the changes need to be done.

As a business rule, the module UsrMobileDisableModelConfig must be created and you need to write the business event for accessibility.

Below is the code for this customization:

Terrasoft.sdk.Model.addBusinessRule(“Order”,{
ruleType : Terrasoft.RuleTypes.Activation,
events:[Terrasoft.BusinessRuleEvents.Load,Terrasoft.BusinessRuleEvents.ValueChanged],
triggeredByColumns : [“Id”],
conditionalColumns :[ {name :”Id”,value : “Disable All the time”} ],
dependentColumnNames : [“Amount”]

The above code will disable ‘amount’ field which stores the ‘total order value’only if the order ID field is having a value other than the value mentioned in the condition line (i.e. value of ‘Disable All the time’). In this code we have chosen ‘ID’ field as the conditional field, but you can choose a field of your choice as per the business need.

Once UsrMobileDisableModelConfig module is created, we need to place this in the
custom package >  MobileApplicationManifestDefaultWorkplace

For Example:
UsrMobileDisableModelConfig – if this Business rule is created for accessing the columns, then you will have to mention this name in Model > Object’s Page Extension section.

Below is the code:

“Models”: {
“Order”: {
“RequiredModels”: [
“Order”,
“Account”,
“OrderStatus”,
“OrderPaymentStatus”,
“OrderDeliveryStatus”,
“Currency”,
“DeliveryType”,
“PaymentType”,
“LeadType”,
“SocialMessage”,
“OrderProduct”,
“Product”,
“Unit”,
“Pricelist”,
“OrderVisa”,
“VisaStatus”
],
“ModelExtensions”: [],
“PagesExtensions”: [
” UsrMobileDisableModelConfig “, // Module Name
“UsrMobileOrderGridPageSettingsDefaultWorkplace”,
“UsrMobileOrderRecordPageSettingsDefaultWorkplace”
]
},
}

Once the above codes are implemented, the user cannot change the order amount because the field will be disabled.
Click here to navigate to the main blog post which contains the complete list of Creatio (formerly bpm’online) customization use cases.

Different ways Creatio (formerly bpm’online) can be customized for your business’ unique needs

Creatio (formerly bpm’online) is a global business software company leading in the space of business process automation and CRM. The company has been highly recognized as a market leader by key industry analysts. Its intelligent platform accelerates sales, marketing, service and operations for thousands of customers and hundreds of partners worldwide.

AgilizTech partners with bpm’online to deploy and implement advanced CRM solutions that helps organizations strengthen customer acquisition, retention, loyalty and advocacy strategies.

We work with clients to customize Creatio (formerly bpm’online) as per their unique organizational needs. In this series of blog posts, we will explore certain scenarios in which customization can be made to improve efficiency and increase productivity.

We will be adding blog posts for each of the use cases mentioned below in the coming weeks. Do stay tuned to learn how Creatio (formerly bpm’online) can be tailored to suit your unique organizational needs.

Use Case 1: Custom Section Filters to view records

Use Case 2: Conditionally Hide/Show Fields in app

Use Case 3: Disable Edit of Total Amount Field

Use Case 4: Enable Display of Active Products in System

Use Case 5: WordPress Landing Page Integration 

Update Access Rights For Accounts and Contacts

Coming soon….

Lead and Opportunity Turn Around Time (TAT) in Creatio