Update Subform in specific field(Status) without affecting other fields in Zoho CRM using Deluge?

Update Subform in specific field(Status) without affecting other fields in Zoho CRM using Deluge?

Scenario: PRODUCT Module(change name Plot) in any product status change From Available to Booked then on PROJECT Custom Module have Subform So, Subform name is Property Details now in that Subform 1 field is STATUS that update according to  product status Change So, how we can achieve this using deluge in Zoho CRM!!!!! is anyone Help me through this?

here is my created Code:
plot_data = zoho.crm.getRecordById("Products",PID);
//info plot_data;
status = plot_data.get("Status");
//info status;
plot_code = plot_data.get("Product_Code");
//info plot_code;
pro_id = plot_data.get("Project").get("id");
//info pro_id;
pro_data = zoho.crm.getRecordById("Project",pro_id);
//info pro_data;
sub = pro_data.getJson("Property_Details");
//info sub;
s = list();
for each  i in sub
{
info i;
x = i.get("Plot_Code");
info x;
if(x == plot_code)
{
m = Map();
m.put("Status",status);
s.add(m);
info s;
}
else
{
info "2";
}
}
u = zoho.crm.updateRecord("Project",pro_id,{"Property_Details":s});
info u;


Problem: Subform remove all field value and add only Status and some times not change anything.

I thought that any code way available that update specific Field Status but another Field(Product Code, Name, Description, Rate, Unit Value, Tax, Discount) not affect.

Thank You in advanced.

    Access your files securely from anywhere


                  Zoho FSM Video Tutorials


                        All-in-one knowledge management and training platform for your employees and customers.






                                              Zoho Developer Community




                                                                    • Desk Community Learning Series


                                                                    • Digest


                                                                    • Functions


                                                                    • Meetups


                                                                    • Kbase


                                                                    • Resources


                                                                    • Glossary


                                                                    • Desk Marketplace


                                                                    • MVP Corner


                                                                    • Word of the Day


                                                                    • Ask the Experts





                                                                              Manage your brands on social media



                                                                                    Zoho TeamInbox Resources



                                                                                        Zoho CRM Plus Resources

                                                                                          Zoho Books Resources


                                                                                            Zoho Billing Resources

                                                                                              Zoho Projects Resources


                                                                                                Zoho Sprints Resources


                                                                                                  Qntrl Resources


                                                                                                    Zoho Creator Resources



                                                                                                        Zoho CRM Resources

                                                                                                        • CRM Community Learning Series

                                                                                                          CRM Community Learning Series


                                                                                                        • Kaizen

                                                                                                          Kaizen

                                                                                                        • Functions

                                                                                                          Functions

                                                                                                        • Meetups

                                                                                                          Meetups

                                                                                                        • Kbase

                                                                                                          Kbase

                                                                                                        • Resources

                                                                                                          Resources

                                                                                                        • Digest

                                                                                                          Digest

                                                                                                        • CRM Marketplace

                                                                                                          CRM Marketplace

                                                                                                        • MVP Corner

                                                                                                          MVP Corner






                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now


                                                                                                              Zoho Show Resources

                                                                                                                Zoho Writer

                                                                                                                Get Started. Write Away!

                                                                                                                Writer is a powerful online word processor, designed for collaborative work.

                                                                                                                  Zoho CRM コンテンツ


                                                                                                                    Nederlandse Hulpbronnen


                                                                                                                        ご検討中の方