I´m using this piece of code to reffer to Sales Order ID and I can access the record, but I need ideas to get the info
This is the JSON with the data registered in the Sales Order record that I´m using to to the tests.
JSON.stringify with null, 4: {
"_Owner_Lookup_Id": "6049481000000443001",
"_Deal_Name_Lookup_Id": "6049481000000863046",
"_Quote_Name_Lookup_Id": "6049481000000886164",
"_Contact_Name_Lookup_Id": null,
"_Account_Name_Lookup_Id": null,
"_Created_By_Lookup_Id": null,
"_Modified_By_Lookup_Id": null,
"_keyModified": {},
"_$line_tax": [],
"_Owner": null,
"_SO_Number": "6049481000000908007",
"_Subject": "Pedido",
"_Deal_Name": null,
"_Customer_No": null,
"_Purchase_Order": null,
"_Quote_Name": null,
"_Due_Date": "2024-01-02",
"_Pending": null,
"_Contact_Name": {
"name": "jhon Doe",
"id": "6049481000000559052"
},
"_Carrier": "FedEX",
"_Status": "Aprobado",
"_Account_Name": {
"name": "Su empresa",
"id": "6049481000000559049"
},
"_Created_By": {
"name": "Pedro Perez",
"id": "6049481000000443001",
},
"_Proforma": null,
"_Modified_By": {
"name": "Jhon Doe",
"id": "6049481000000443001",
},
"_Factura_P_F": null,
"_Tag": [],
"_Locked__s": false,
"_Billing_Street": "A",
"_Shipping_Street": null,
"_Billing_City": "B",
"_Shipping_City": null,
"_Billing_State": "C",
"_Shipping_State": null,
"_Billing_Code": "D",
"_Shipping_Code": null,
"_Billing_Country": null,
"_Shipping_Country": null,
"_Product_Details": [
{
"_product_Lookup_Id": "6049481000000664005",
"_keyModified": {},
"_$line_tax": null,
"_product": null,
"_quantity": 10,
"_Discount": 0.32,
"_total_after_discount": 31.68,
"_net_total": 31.68,
"_book": null,
"_Tax": 0,
"_list_price": 3.2,
"_unit_price": 3.5,
"_quantity_in_stock": 0,
"_total": 32,
"_product_description": null
},
{
"_product_Lookup_Id": "6049481000000666071",
"_keyModified": {},
"_$line_tax": null,
"_product": null,
"_quantity": 15,
"_Discount": 0,
"_total_after_discount": 52.5,
"_net_total": 52.5,
"_book": null,
"_Tax": 0,
"_list_price": 3.5,
"_unit_price": 0,
"_quantity_in_stock": 0,
"_total": 52.5,
"_product_description": null
}