Mass Entry for data

0
Hello Everyone,   How to create Mass entry like, I want to add many serial numbers in one time, how to do that in overview page. I don't want click every time in the new inspection, The below image page if I will add  some serial numbers and it separated by commas, it will show in overview main page under serial number column one by one and also  which are the  columns in that new edit page I will fill the columns once, it will show depends upon how many serial number I entered in the specific page.  
asked
2 answers
1

Hi swetha,

  • Create a button on the mass entry page (e.g., "Submit") and link it to a microflow.
  • In the microflow:
    1. Retrieve the massentry object.
    2. Use a String Split Java action to split the serialnumber attribute into a list (split by commas).
    3. Loop through the list of serial numbers:
      • Create a new object for the main entity.
      • Populate the serialnumber  attribute and other columns (e.g...Inspection date) from the helper object.
    4. Commit each new object to the database.
answered
1

Hi Swetha,

Based on Ganesh’s comment, I understand that you need to enter multiple serial numbers for a single record.

To achieve this, you can use a helper entity associated with the main table and use one-to-many relationship between entities. Additionally, Split the input string into a list of serial numbers.

Loop through the list and create serial number objects and associate with main table.

 

Regards

Guna

answered