• PRepaka
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 99
    Questions
  • 5
    Replies

hi

While writing apex coding, i am getting the below error. if i comment the existing class it is accepting upto some extent. even when i validate this with production there also i am getting the same error. please help me. 

Error: The total size of apex code in this application after removing comments exceeds the maximum character size of 1000000.

hi
 
 
2 objects are there. Invoice,Client and Payment. in Invoice Screen, Payments is the Related List. So if we save payment, That payment is saved under that invoice with that Invoice Client.
 
But now my requirement is:
 
On the payment screen, the user will select a Client. A screen will pop up with all the open invoices for that Client sorted in descending order. The user will select the Invoices that the payment is to be applied. When user click Apply, the payment will applied to the oldest invoices first until complete payment has been used.

If the payment amount was larger than the selected invoices, the user can select another Client. Again a screen will pop up with all the open invoices.

This process will repeat until the complete payment has been applied.
 
Is it possible to save multiple values to a single field.
How to make a field as Readonly in GUI. I done like this.
 
Setup->Accounts->PageLayouts->Phone Readonly. But if i do like that also user is able to enter value into that field. i want to disable that textbox.
For ex: In Account Tab, i want to make a Phone Field as ReadOnly in GUI. when we click on Edit on an Account, in that I want to disable that textbox related to Phone field. user not able to enter anything into that field. How can i do this.
hi,
 
How to make a field as Readonly in GUI.
For ex: In Account Tab, i want to make a Phone Field as ReadOnly in GUI. when we click on Edit on an Account, in that I want to disable that textbox related to Phone field. How can i do this.