Options

regarding capturing error while transfering the data

Hi guys ,
s4h3606rqlz6.png
rl7e1d1h942g.png
gi3hlzjndt2a.png
nszbrvat5f73.png
I created two tables which are having same fields but in the second table the datatype for the first field is different from the first table and I created a form for these tables and in the form command button is used to transfer the data from the first form to the second form and while doing it so it throws some error which must be captured by another table and also the process should not terminate after the popup of error or error is captured.
Can anyone suggest me some answers please.
Warm Reagards,
Mani

Answers

  • Options
    bharathnanbharathnan Member Posts: 92
    edited 2018-01-11
    try with the get last error text and validate function
  • Options
    bharathnanbharathnan Member Posts: 92
    Just create another table and use COPY function to capture the error
    thanks
  • Options
    JohnHunterJohnHunter Member Posts: 45
    or you can process fields values & validate one by one similar to how RapidStart does: EvaluateValueWithValidate, EvaluateValue and even catch exceptions and decide what to do or not, if there is a ValidationError.
  • Options
    Mani1492Mani1492 Member Posts: 5
    thanks John
    I can understand that you are asking me to validate the fields of two table can you help me on how to do that since i am new to the navision.
    Note: i am using nav 2009
    Thanks
    mani
Sign In or Register to comment.