• hsd ssds
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
I have a fashion related blog website, where i update all lates fashions on daily basis. Now I want a mobile application for my blogs so that my users can easily have access to my blogs. Kindly guide me from where i can get it in cheap rate ?
My URl : http://ashstyles.com/
Hello People.
I want to write one trigger can anyone help me with that.

I am Having 2 custome Object 

1.Interaction .
filed:Inateraction name

2. Movie 
Fileds :1. Name 
            2. Release Date .

Movies object is having interaction lookup.
I want the Movies list (movie record for that interaction record) which displayed on the Interaction object .
Filter should be applied on a release date it should show only latest and updated movie record over the interaction object.
Like i am having movie list for years 2001, 2002, 2003,
It should display only the 2003 record and if i add any other movie to list with further dates 2004 then it must update .&if i add movie with date 1994 still it shows the latest movie  record of 2004 record as per date.
@isTest
public class PropRentTotalSumTEST {
    @isTest
    static void testFeeCalculation() {



        Property__c prop = new Property__c();
        prop.Name = 'Test';
        prop.Monthly_Rate__c = 0;

        insert prop;

        List<Fee__c> fees = new List<Fee__c>();
        Fee__c fees1=new Fee__c();
        fees1.Name = 'Realtor';
        fees1.Cost__c = 1000;
        fees1.Property__c = prop.Id;

        Fee__c fees2=new Fee__c();
        fees2.Name = 'Lawyer';
        fees2.Cost__c = 2000;
        fees2.Property__c = prop.Id;
        fees.add(fees1);
        fees.add(fees2);

        Test.startTest();

    insert fees;
    delete fees;

        Test.stopTest();

    Property__c propsProperty = [SELECT Monthly_Rate__c FROM Property__c WHERE Id =: prop.Id];

        System.assertEquals(0, propsProperty.Monthly_Rate__c);

    }
}

 
  • April 03, 2020
  • Like
  • 0
Which API cannot be used to create the data model?
a. Ajax Toolkit for Force.com
b. Force.com API
c. Force.com single sign on API
d. Force.com MetaData API

Please let me know the answer with explanation .  Thanks in advance 
Hi guys,

How do I check if an object's row has any related child records when the child records point to the master object? What is the best solution to tackle this problem (Apex, validation rules, etc...)? For example, I want a custom object called "musicians", and I want to assign a type of music to each musician (ie- "country", "rock", etc... all of which are stored as rows in another custom object). Before each musician enters an approval process, how would i check to see if in fact a type of music has already been assigned to the musician if the type of musician object is storing the ID of the musician it refers to?

I guess what i'm trying to figure out is if a master object (like musicians) is considered "updated" after a child object (like type of music) relates to it.

Thanks in advance,

Justin

Message Edited by jwickett on 07-27-2008 09:08 PM