Subform records from one form to another

Subform records from one form to another

I have a form “Add Item” (Screenshot attached).



 

I have another form “Purchase Order” which has a subform “Item Details”.

 “Item code” is a lookup field of “Add Item” form’s “Product code” field

 




 

 



We need that when the product code is selected, the code should add the records of “Diamond details” subform from “Add Items” form to “Purchase Order” form.

For each item added in the “Purchase Order” form, there should be a new table added to “Purchase Order” with “Diamond details” records from “Add Items” form.

Also when the”diamond details” subform records are added to the “purchase order” form, the code should add 2 more fields “price per carat” and “total”.

 

I have attached the “Add Item” form’s fields in a separate PDF.

Please let me know how to achieve this.

 


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns 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