function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zeezackzeezack 

ForceFactory class - BIG PROJECT

Hey ya guys,

ok

 

I've got several tables to play around with this one...

 

I need to create a class that will access Accounts and uncover the id for it.

 

This is the first step... how do I print values to the screen. I'm from a php background.

 

This in the right directions?

 

 ForceFactory__c mq:[SELECT AccountNumber Name FROM Account
{
mq.AccountNumber;
}

zeezackzeezack

My task is to create a form

 

 

where a user can populate it with details

 

- in the backend I need to check if that person exists or not

 

if they exist - do not add them

if they don't - add them

 

< either way I then need to recover their account id

 

and shove this account id number into a hidden field for a NEW form called claims

 

- I then want to be able to create a claim attached to the account id.

 

 

<

How do I go about this... really new to salesforce and apex

 

 

Account table

File Coloumn Header       | Name

Address1                        | PersonMailingStreet
Address2                        | PersonMailingCity
City                                | PersonMailingState
Country                          | PersonOtherPostalCode
Email Address                 | PersonEmail
First Name                     | FirstName
Introducer                      | Introducer_C    
Last Name                      | LastName
Mobile                             | PersonMobilePhone
Phone                             | Phone
Postal Code                    | PersonMailingCountry
Saluation                         | Saluation



Claim details

File Coloumn Header       | Name

Account ID                      | Primary_Account_Holder_c
Agreement State Date     | Agreement_State_Date_c
Claim Status                   | Claim_Status_c
Credit Agreement Ref      | Agreement_Ref_Acc_No_c
Debt Type                       | Debt_Type_c
Introducer                       | Introducer_c
Introducer Ref                 | Introducer_Ref_c
Lender                            | Lender_c

 

zeezackzeezack

Hey ya guys, really need help with this.

 

I am looking at http://www.salesforce.com/appexchange/detail_overview.jsp?id=a0330000006mdGoAAI

as a reference... I've installed this api and I am trying to understand the classes etc...

 

its close to what I want to create...but I want it to be able to bring a form up...allow then to get the unique id of a user and slap that into a new form as a hidden field...