[Resolved] Bug Subform delete row ?

[Resolved] Bug Subform delete row ?

Hi,

I noticed that there was a delay when deleting a row from a subform.

I have a script that updates price fields, but when I delete a row, the first row isn't updated, but it is updated on the second row deleted.

Here's a video, as well as my script. Thanks for your help!

  1. // Initialiser les totaux globaux avec leurs valeurs respectives, utilisation de la fonction personnalisée CheckFieldsIfNull
  2. totalPrixMateriauxGlobal = thisapp.CheckFieldsIfNull(input.total_list_prix_materiaux);
  3. totalPrixFinitionGlobal = thisapp.CheckFieldsIfNull(input.total_list_prix_fintion);
  4. totalPrixQuincaillerieGlobal = thisapp.CheckFieldsIfNull(input.total_list_prix_quincaillerie);
  5. totalPrixFraisSuppGlobal = 0;
  6. totalAvantTaxes = thisapp.CheckFieldsIfNull(input.Sous_total_avant_taxes);
  7. totalTps = thisapp.CheckFieldsIfNull(input.total_tps);
  8. totalTvq = thisapp.CheckFieldsIfNull(input.total_tvq);
  9. grandTotal = thisapp.CheckFieldsIfNull(input.sous_total);
  10. // Parcourir chaque ligne du sous-formulaire
  11. for each  price in input.subform_supp
  12. {
  13. // Vérifier si les champs nécessaires sont remplis
  14. if(!isNull(price.supp_qty) && !isNull(price.supp_prix_unitaire))
  15. {
  16. // Calculer le total pour cette ligne
  17. price.supp_total=price.supp_qty * price.supp_prix_unitaire;
  18. // Ajouter au total global
  19. totalPrixFraisSuppGlobal = totalPrixFraisSuppGlobal + price.supp_total;
  20. }
  21. else
  22. {
  23. // Si les champs sont vides, définir le total de la ligne à 0
  24. price.supp_prix_unitaire=0;
  25. }
  26. }
  27. // Mettre à jour les totaux globaux
  28. totalAvantTaxes = totalPrixFinitionGlobal + totalPrixMateriauxGlobal + totalPrixQuincaillerieGlobal + totalPrixFraisSuppGlobal;
  29. totalTps = thisapp.CalculateTax(totalAvantTaxes,input.tps_taxe);
  30. totalTvq = thisapp.CalculateTax(totalAvantTaxes,input.tvq_taxe);
  31. grandTotal = totalAvantTaxes + totalTps + totalTvq;
  32. input.total_list_prix_materiaux = totalPrixMateriauxGlobal;
  33. input.total_list_prix_fintion = totalPrixFinitionGlobal;
  34. input.total_list_prix_quincaillerie = totalPrixQuincaillerieGlobal;
  35. input.total_list_prix_frais_supp = totalPrixFraisSuppGlobal;
  36. input.Sous_total_avant_taxes = totalAvantTaxes;
  37. input.total_tps = totalTps;
  38. input.total_tvq = totalTvq;
  39. input.sous_total = grandTotal;

    Nederlandse Hulpbronnen


      • Recent Topics

      • Zeptomail API error 500 internal server error

        Hi Everyone, getting this eror continuously! Can anyone please guide around the same! Zeptomail API error 500 internal server error Best Regards
      • We’re transitioning from Zoho ShowTime to TrainerCentral

        Hello everyone, Zoho ShowTime was originally built as a training platform to serve training agencies, HR teams, and individual trainers. As the platform grew, we realized that more creators and businesses could benefit from its capabilities. That’s why
      • Emails Are Not Being Delivered to My Inbox

        Hello Zoho Support Team, I am experiencing an issue with my Zoho Mail account. The most important problem is that emails are not being delivered to my inbox. Details: My Zoho Mail address: info@coreforcelife.com What happens: I am not receiving any incoming
      • Upload my theme.

        Hello. I would like to upload my own theme, this one: https://themeforest.net/item/panagea-travel-and-tours-listings-template/21957086 Is it compatible and where I upload it? If not I will hire a developer, what do I have to ask when I search for one?
      • Radar In Focus: Track customer support metrics using Radar's static reports

        Hello everyone, Welcome back to the Radar In Focus series, where we explore how Radar features can add value to your business. In this episode, we're looking at Radar static reports. The help desk is filled with vast amounts of data that can be analyzed
      • Mail ToDo & Tasks Webhooks

        Our company uses Zoho ToDo inside Mail to manage our tasks. When I create a task and assign it to a team member it does not notify them unless I add a reminder via mail. I'm trying to create a webhook for when a task is created to send a cliq message
      • Allocating inventory to specific SO's

        Is there a way that allocate inventory to a specific sales order? For example, let's say we have 90 items in stock. Customer 1 orders 100 items. This allocates all 90 items to their order, and they have a back order for the remaining 10 items which could
      • Improved UI for a Seamless User Experience - Calls, Tasks, and Meetings

        Hello all, We are making UI unification across CRM so that the UI experience is seamless across the product. As part of that effort, we have made changes to the details page of activity-based module records—Meetings, Calls, and Tasks. Let's look at these
      • Where can I find rejected inbound mails and their reason for rejection

        Hi, I was recently made aware by a mailing list which I am subscribed to (ffmpeg-devel@ffmpeg.org) that my Zoho mail Mail account is rejecting some emails. If I look under Admin Panel > Security & Compliance > Quarantine > Incoming, the list there is
      • Refund

        Hi There, Please refund me asap possible, because of no support given. Thank you
      • Empowered Custom Views: Cross-Module Criteria Now Supported in Zoho CRM

        Hello everyone, We’re excited to introduce cross-module criteria support in custom views! Custom views provide personalized perspectives on your data and that you can save for future use. You can share these views with all users or specific individuals
      • تغيير عمله الدفع"Change payment currency"

        ما هى طريقه تغيير عمله الدفع "ما هي طريقة تغيير عملة الدفع؟"
      • How do I fix this? Unable to send message; Reason:554 5.1.8 Email Outgoing Blocked.

        How do I fix this? Unable to send message; Reason:554 5.1.8 Email Outgoing Blocked.
      • Attention API Users: Upcoming Support for Renaming System Fields

        Hello all! We are excited to announce an upcoming enhancement in Zoho CRM: support for renaming system-defined fields! Current Behavior Currently, system-defined fields returned by the GET - Fields Metadata API have display_label and field_label properties
      • Zia's ability to generate and improve content extended to Desk mobile app (iOS and Android)

        In support, agents will have to understand customers' pain points completely to provide empathetic personalized solutions and a positive experience. However, at times, agents might find it challenging to comprehend the customer issues and connect with
      • BANK FEED - MAYBANK , provider from YODLEE IS NOT WORKING

        As per topic, the provider YODLEE is not working for the BANK FEED. It have been reported since 2023 Q3, and second report on 2023 Q4. now almost end of 2024 Q1, and coming to 2024 Q2. Malaysia Bank Maybank is NOT working. can anyone check on this issue?
      • Customer Grouping

        Hi, how can I group multiple customers into single group. So that I can have idea of accounts receivables of all the customers in single group. Like if there are multiple subsidiaries of same company we have having a business with, and want to view the
      • Enable / show scroll bar when Mega Menu is opened

        Hey there I am using the mega menu add-on and experience a "flicker" whenever the mega menu opens. The reason is, that the scrollbar, which has a width of a few pixels, stops showing when the mega menu opens. As the scrollbar disappears the whole page
      • Item images

        Can we get an "On hover" expanded image for items please ?
      • Free webinar—Redefining workforce security with Zoho Vault: Passwords, passkeys, and multi-factor authentication

        Hi everyone! Did you know that in Q2 alone, 94 million data records were leaked globally? Behind every breach is a combination of poor password habits, phishing attacks, privilege misuse, and simple human error. The fallout—including reputational damage,
      • Zoho Sign product updates - Q3 2025

        Hello everyone! Q3 was all about AI. Here's the list of features and enhancements that have gone live, along with a list of what we have in pipeline for the last quarter: AI-powered agreement management Sending documents and authenticating recipients
      • Zoho sites header

        Good day, Im stuck with this situation. I choose a template for my website creation. I have tweaked every instance of the visual editor, regarding the header, I have created created customize fonts presets... I have followed every single step. and my
      • Zoho Books Sandbox environment

        Hello. Is there a free sandbox environment for the developers using Zoho Books API? I am working on the Zoho Books add-on and currently not ready to buy a premium service - maybe later when my add-on will start to bring money. Right now I just need a
      • Quick Create needs Client Script support

        As per the title. We need client scripts to apply at a Quick Create level. We enforce logic on the form to ensure data quality, automate field values, etc. However, all this is lost when a user attempts a "Quick Create". It is disappointing because, from
      • Kaizen #152 - Client Script Support for the new Canvas Record Forms

        Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved
      • DNS set up

        I want to create an email with my company domain. When I tried to add new record with cloudflare it didn't work. The DNS record can't be manually added. I followed the instruction but still can't add it. Could you help?
      • Pocket from Mozilla is closing shop. Don’t lose your favorites . Move them to Zoho Mail Bookmarks now! 📥🔖

        The end of Pocket shouldn't mean the end of your important links and content. Easily import them into Zoho Mail's Bookmarks and continue right where you left off. You can bring over your entire Saves, Collections, and tags just the way they are. Bookmarks
      • General suggestions

        Hello, I've picked this forum as it is at the top of the list! :) First suggestion: A general forum for issues and comments that are not specific to a particular Zoho application. Second suggestion: Put a link on the home page to "Zoho Identity Access Manager" The first suggestion came about because I didn't know where to post the second! ;) Regards Mark
      • All new Address Field in Zoho CRM: maintain structured and accurate address inputs

        The address field will be available exclusively for IN DC users. We'll keep you updated on the DC-specific rollout soon. It's currently available for all new sign-ups and for existing Zoho CRM orgs which are in the Professional edition. Managing addresses
      • Can't upload attachments.

        I can't upload attachment in Zoho Mail.
      • Need Guidance on SPF Flattening for Zoho Mail Configuration

        Hi everyone, I'm hoping to get some advice on optimizing my SPF record for a Zoho Mail setup. I use Zoho Mail along with several other Zoho services, and as a result, my current SPF record has grown to include multiple include mechanisms. My Cloudflare
      • How use

        Good morning sir I tried Zoho Mail
      • Zoho Mail Desktop App Not Loading + Can’t Manage Multiple Accounts

        Hi everyone, I’ve been having ongoing issues with the Zoho Mail desktop app for the past few weeks. The app starts to load but gives up midway and never actually opens — there’s no error message, it just stops loading. The main reason I use the desktop
      • not able to convert pdf to jpg and other forms and vice versa.

        i want to change my pdf to jpg, word, etc and some times jpg to pdf. i don't know how to do in this.
      • Connecting two modules - phone number

        Hi, I’d like some guidance on setting up an automation in Zoho CRM that links records between the Leads module and a custom module called Customer_Records whenever the phone numbers match. Here’s what I’m trying to achieve: When a new Lead is created
      • Error when sending emails from Zoho

        Hello, When trying to send an email from Zoho CRM I keep getting the below error: javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect. Any support on this will be much appreciated. Thanks,
      • Zoho Tables is now live in Australia & New Zealand!

        Hey everyone! We’ve got some great news to share — Zoho Tables is now officially available in the Australian Data Center serving users across Australia and New Zealand regions! Yes, it took us a bit longer to get here, but this version of Zoho Tables
      • Zoho Inventory - How to pay a supplier up front then receive multiple deliveries

        How do we manage situations where we pay a supplier up front, then the receive the products in increments? Example Workflow: Create Purchase Order > Receive Bill for full amount > Receive Items 2 or more deliveries. Currently, once a Bill is created against
      • Not all emails from outlook365 migrated to my new zoho account

        I recently setup a new email address hosted by zoho. I migrated all my folders and email from my Outlook365 account to my new zoho account, but not all my emails migrated. Looks like only the past 12 months, or so, made the move. How do I get the rest
      • Clients not receiving emails

        I've been informed that my emails are not being received. Is there anything that I should look into to rectify this? Many thanks!
      • Next Page