• krix
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies

Hi All!

 

Is there an ID which the last 3 caractes from the 15 digit ID equals that the controll bits from 18 digit ID?

 

Example: ????????????ABCABC

  • June 18, 2013
  • Like
  • 0

If a roll-up field changing, will be trigger update activity?

 

Thanx,

Krix

  • April 24, 2013
  • Like
  • 0

I created a before insert trigger on the case, it querying record types. The test is OK, the trigger in the test method can querying the record types.  / @IsTest(SeeAllData=true) public static void test() {...} /

 

There are another triggers, what create cases, these triggers are not mine, i can't edit them. These tests not use sealldata=true. I can't deploy my changesets, because this test is failed.

 

What should we do?

 

Thanx, Krix

  • April 16, 2013
  • Like
  • 0

Hi!

 

I made a procedure that creates an SOQL query string. It occurs dynamically beacause it has user input dependency where clause. The where clause contains an IN operator with an apex local code variable (preceded by a colon). How can we use this variable in the query string?

 

The problem reduced: How to create this with query string?

List<T__c> L = [SELECT id, status__c FROM T__c WHERE status__c IN :tmpList];

This is not okay:

List<T__c> L = Database.query("SELECT id, status__c FROM T__c WHERE status__c IN " + tmpList );

 

Thanx, Krix

  • April 05, 2013
  • Like
  • 0

Hi All!

 

Is there an ID which the last 3 caractes from the 15 digit ID equals that the controll bits from 18 digit ID?

 

Example: ????????????ABCABC

  • June 18, 2013
  • Like
  • 0

Hi!

 

I made a procedure that creates an SOQL query string. It occurs dynamically beacause it has user input dependency where clause. The where clause contains an IN operator with an apex local code variable (preceded by a colon). How can we use this variable in the query string?

 

The problem reduced: How to create this with query string?

List<T__c> L = [SELECT id, status__c FROM T__c WHERE status__c IN :tmpList];

This is not okay:

List<T__c> L = Database.query("SELECT id, status__c FROM T__c WHERE status__c IN " + tmpList );

 

Thanx, Krix

  • April 05, 2013
  • Like
  • 0