• JohnHernandez.ax1746
  • NEWBIE
  • 5 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 0
    Questions
  • 7
    Replies
Hi everyone,
I want write test class how to write test class
Hello
I have json data as follows.

I need help in creating an object design for this json data so when I deserialize the json then I want to store in backend.

Please help me in creating the object design.
{
  "invoiceList": [
    {
      "totalPrice": 5.5,
      "statementDate": "2011-10-04T16:58:54.858Z",
      "lineItems": [
        {
          "UnitPrice": 1,
          "Quantity": 5,
          "ProductName": "Pencil"
        },
        {
          "UnitPrice": 0.5,
          "Quantity": 1,
          "ProductName": "Eraser"
        }
      ],
      "invoiceNumber": 1
    },
    {
      "totalPrice": 11.5,
      "statementDate": "2011-10-04T16:58:54.858Z",
      "lineItems": [
        {
          "UnitPrice": 6,
          "Quantity": 1,
          "ProductName": "Notebook"
        },
        {
          "UnitPrice": 2.5,
          "Quantity": 1,
          "ProductName": "Ruler"
        },
        {
          "UnitPrice": 1.5,
          "Quantity": 2,
          "ProductName": "Pen"
        }
      ],
      "invoiceNumber": 2
    }
  ]
}
Thanks
smitaB
 
Hi All, 

I want to check if there is a way, I could create a custom field on lead object called "Account" and this field populates ever time a new leads comes in to salesforce, the Account field should populate a associated existing account based on matching email criteria. 

Thanks
We just started using Case management for our Support group. One of the issues they've raised is related to Closing a Case. 
They don't want have to seperately click 'Send' mail to the customer with case closing message then click 'Close Case' to close the case. 
They would like use standard Email tab by sending Email and change status as Closed from Standard Email page layout.

Can anyone suggest how I would go about doing that?

User-added image


Thanks & Regards,
Prashant

have  a quick question:
1. we are using SF for creating contact, accounts, opportunities etc
2. than we are using netsuite to generate invoice, POs etc.
3. to get the Sales order generated we have integrated another app into salesforce that's is supporting sites through which we creat account again and than account executive create the SOs...

my question is : we are having to create account three times , in SF, netsuite and as well as in another app which we adapted into SF.
is there a way that we can eliminate that third step creating in adapted app (supporting site app) and do everything between salesforce and netsuite only? is there a way?

Let me know what you think.

Thanks in advance.

Hi,
I am stuck with the width of modal window pos up when someone clicks on a quick action. I saw there is a option to adjust the height.
But i am not able to adjust the width of modal window at all. Tried all possibilities.

Kindly help me on this.
Is it possible if a comunity user can tag an internal user by @mention tag?