Время создания
Filters

Since a few days , I get this error : "Terrasoft.Common.InvalidObjectStateException: Specify data type for parameter "P1" with null value." when calling a select command in my script tasks. The way is call them is like this : 

  public Guid Get_bankaccountid(string bankaccount)
 {
     Guid bankaccountid = new Guid();
     string ourBankAccountTable = "UsrOurBankaccount";
     var userconnection = UserConnection.Current;
     var entitySchemaManager = userconnection.EntitySchemaManager;
     var entitySchema_ourbank = entitySchemaManager.GetInstanceByName(ourBankAccountTable);
     var bankrec = new QueryParameter(bankaccount);
     var select_bank = new Select(userconnection)
         .Column("Id")
         .Column("UsrName")
         .Column("UsrActive")
         .From(ourBankAccountTable)
         .Where("UsrName").IsEqual(bankrec)
         as Select;
     using (DBExecutor dbExecutor_bank = userconnection.EnsureDBConnection())
     {
         using (System.Data.IDataReader reader = select_bank.ExecuteReader(dbExecutor_bank))
         {
             if (reader.Read())
             {
                 if ((bool)reader["UsrActive"])
                 {
                     bankaccountid = (Guid)reader["Id"];
                 }
             }
         }

     }
     return bankaccountid;
 }

This code has run for months, and is now causing problems in my clouded deployments. On my local system however, it runs perfectly. Has anyone any idea what has changed?

 

Greetings,

 

Vincent

 

 

 

Like 0

Like

0 comments
Show all comments
TechHour
#CreatioAcademy
GoogleAnalytics
marketing
CreatioMarketing

Learn how to turn insights into action with Google Analytics inside Creatio.
In this 1-hour session, we’ll walk you through setting up analytics, tracking key user interactions, and leveraging data to optimize your processes and boost performance.

Perfect for marketers and analysts who want to make smarter, data-driven decisions.

 

When: December 3, 9:00 AM EST/ 3:00 PM CET

Join tomorrow: https://creatio-global.zoom.us/meeting/register/mLa-5as5RQO7FoweAX0CFQ

Like 0

Like

Share

0 comments
Show all comments

We are trying to debug C# code in the provided demo cloud environment, but we haven’t been able to find any documentation that explains how to perform debugging in the cloud. The academy materials only describe debugging methods for on-premise installations.

Additionally, we noticed that File System Development Mode is disabled under Actions > Configuration, and cannot be enabled.

Could you please advise whether debugging is supported in the cloud demo environment, and if so, how we can enable or use it?

Like 0

Like

1 comments

As far as i know, you can't. I develop my c-code on a local system specifically because of that reason. But I'm not an expert, so i would be glad if someone could proof me wrong

Show all comments

The funnel shows all possible stages, after which it outputs data only to those fields that we filter. And it is necessary that the filtered fields are not shown, hidden or deleted. It will not be possible to get it through the observer because it comes as one monolithic object, not different fields

Like 0

Like

0 comments
Show all comments
edit page
Studio_Creatio
8.0

Hi;
I set Boolean field on edit page
it looks fine but when i want to change value i have to click on label not on the checkbox.
html looks like this


    
        No Payment Disposition
    
    
        
            
        
    


I try to add jQuery
            

$("#UsrClaimRequestsPageUsrNoPaymentDispositionFieldCheckBoxEdit-wrapEl").bind("click", function() {
                this.onClickNoPaymentDisposition();
            });
putting different IDs of input span div
but it doesn't work,

Does anyone can help me?

regards
Tomek

Like 0

Like

1 comments

Hi,

It’s quite difficult to determine the exact cause of the issue without seeing the full page configuration.

Since such UI behavior can depend on the full page layout, custom containers, or extended code, we would also recommend contacting Creatio Support so they can analyze your configuration directly and assist further with the investigation.

Show all comments