• Vijaya Bhaskar Rao Battina
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies
Hi All

I'm new to Apex and Need your help in getting the logic for below:

We have a list(L1) of custom object(DataValues with fields Start_Date,End_date, unit).
I beign to insert Data into the list(L1) and my logic should be incorporated as below:

if the existing data in the List is as below:
Start_date             End_Date , Unit
15-mar-2018 ,   31-mar-2018 , 10 

If I insert into list(L1)with data , [18-mar-2018 , 21-mar-2018 , 15] ; my new data in the List should be:
Start_date             End_Date , Unit
15-mar-2018 ,   18-mar-2018 , 10 
18-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [14-mar-2018 , 19-mar-2018, 12]; my new data in the List should be :
Start_date             End_Date , Unit
14-mar-2018 ,   19-mar-2018 , 12
20-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [14-mar-2018 , 19-mar-2018, 18]; my new data in the List should be :
Start_date             End_Date , Unit
14-mar-2018 ,   19-mar-2018 , 18
20-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [13-mar-2018 , 23-mar-2018, 26]; my new data in the List should be :
Start_date             End_Date , Unit
13-mar-2018 ,   23-mar-2018 , 26
24-mar-2018 , 31-mar-2018 , 10

So the list should get updated based on the new entry added.
Requesting your support.
 
Hi

I have code and metadata for a Managed Package in my local. I do not have the org details on which the manged package is created.
Please suggest a way and steps to push the code into a Fresh Salesforce developer Org?
Hi

My production org is on Managed Package Version 1.3.
There  is a bug on the released version which needs an immdeiate fix.
Another developer who created the Managed package has made changes to the code on the Developer org.(Created few beta packages 1.4)
The developer now left the organisation and I am given access to the org and I can view the code.

I have to fix the issue on 1.3 version and as the code has many changes,is it possible to fix on older version.
If yes, please help me how as I am completely new to this area.
 
I have a released a managed package with version 1.3. Now I am working on Beta Version 1.4.
There are so many customizations that are done on Beta version.
There has been a serious issue/bug identified on deployed version of Managed Package(i.e 1.3).
How can I fix the bug on the Managed Package(I am the creator of the Package) without having any impact on the latest changes done.
That too the changes have to be made on top of 1.3 version.Please help
Hi All

I'm new to Apex and Need your help in getting the logic for below:

We have a list(L1) of custom object(DataValues with fields Start_Date,End_date, unit).
I beign to insert Data into the list(L1) and my logic should be incorporated as below:

if the existing data in the List is as below:
Start_date             End_Date , Unit
15-mar-2018 ,   31-mar-2018 , 10 

If I insert into list(L1)with data , [18-mar-2018 , 21-mar-2018 , 15] ; my new data in the List should be:
Start_date             End_Date , Unit
15-mar-2018 ,   18-mar-2018 , 10 
18-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [14-mar-2018 , 19-mar-2018, 12]; my new data in the List should be :
Start_date             End_Date , Unit
14-mar-2018 ,   19-mar-2018 , 12
20-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [14-mar-2018 , 19-mar-2018, 18]; my new data in the List should be :
Start_date             End_Date , Unit
14-mar-2018 ,   19-mar-2018 , 18
20-mar-2018 , 21-mar-2018 , 15
22-mar-2018 , 31-mar-2018 , 10

If I now add to the list the date [13-mar-2018 , 23-mar-2018, 26]; my new data in the List should be :
Start_date             End_Date , Unit
13-mar-2018 ,   23-mar-2018 , 26
24-mar-2018 , 31-mar-2018 , 10

So the list should get updated based on the new entry added.
Requesting your support.
 
Hi

My production org is on Managed Package Version 1.3.
There  is a bug on the released version which needs an immdeiate fix.
Another developer who created the Managed package has made changes to the code on the Developer org.(Created few beta packages 1.4)
The developer now left the organisation and I am given access to the org and I can view the code.

I have to fix the issue on 1.3 version and as the code has many changes,is it possible to fix on older version.
If yes, please help me how as I am completely new to this area.