Home Discussions Questions & Answers Server-Side Excel Validation in Blitz Upload

Server-Side Excel Validation in Blitz Upload

Avatar photoCustomer August 3, 2023 at 12:24 pm

We require instant validation checks (e.g., checking if an item is enabled and valid for the selected operating unit) to happen when the user saves the Excel upload file, before it is submitted as a concurrent request. How do I configure this immediate, server-side validation?

Viewing 6 reply threads
  • Author
    Replies
    • Support August 5, 2023 at 9:48 am  

      You should use the Excel Validation feature . This configuration involves entering a call to a validation PL/SQL function, mapping its parameters to the relevant SQL columns from the main report . This function executes directly on the server when the user saves the Excel file . The key requirement for your validation function is that it must return a message only in the case of validation failure; otherwise, it must return `null` .

    • Avatar photoCustomer August 7, 2023 at 3:13 am  

      I need a column’s List of Values (LOV) to be dependent on another column’s value *within the same Excel row*. What is the dependency syntax for referencing another column in the upload LOV query?

    • Support August 9, 2023 at 5:04 am  

      To establish a dependency between columns within the Excel upload, you use the syntax `:$column$.column_name` . This differs slightly from the parameter dependency syntax (`:$flex$.`) . For instance, an Item Description LOV might depend on the Item number entered in an adjacent column using `msiv.segment1=:$column$.item` within the LOV query .

    • Avatar photoCustomer August 9, 2023 at 3:40 pm  

      If a column (e.g., `CREATION_DATE`) is used for data retrieval but should never be modified by the user during upload, how can I prevent updates to that column?

    • Support August 10, 2023 at 6:10 pm  

      You should check the ‘Read Only’ box against the `CREATION_DATE` column in the Upload Columns list . Checking ‘Read Only’ prevents the column from being updated . Conversely, checking the ‘Required’ box ensures that records are not marked for processing in the Excel file until all mandatory columns are populated .

    • Avatar photoCustomer August 12, 2023 at 6:03 pm  

      Can I hide internal processing columns from the user interface in the Excel template?

    • Support August 13, 2023 at 3:00 pm  

      Yes, if there are columns used internally for processing (such as temporary keys) that the user does not need to see, you can check the ‘Hidden’ box in the Upload Columns list . This makes the columns invisible in the Excel file template .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: