Zoho FSM Work Order Creation Failure

Zoho FSM Work Order Creation Failure

Hello FSM team and Latha,

This automation is built in Zoho Creator and is triggered when a “New Repair Order” is created or updated through form submission. Once the form is submitted, the script automatically retrieves the related customer and company information from Zoho FSM, including billing address, service address, and contact details. After that, it processes each repair item in the request, identifies the correct product, and creates a corresponding Asset in Zoho FSM for tracking the physical equipment using its serial number. Once the asset is successfully created, the script then attempts to generate a Work Order in Zoho FSM by linking the company, asset, service location, and service line items such as the repair service and pricing. The purpose of this automation is to fully streamline the repair workflow so that a single form submission automatically creates all required records in FSM without any manual work.

The Asset creation is successfully working, but the Work Order creation consistently fails with the following error:

"code": "INVALID_DATA",
"message": "Unable to Update Grand Total",
"extra-message": "pre processing line item amount and aggregate fields"

I have attached the full script I am using along with the debug logs.

I would really appreciate your expert support in identifying why the Work Order creation is failing and how I can resolve this issue in the Deluge workflow.

      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive Resources



                          Zoho CRM Resources

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

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

                              Zoho CRM コンテンツ





                                ご検討中の方