Hide Confirm Message when Validating Bill-to Customer No.

hksharmaahksharmaa Member Posts: 55
Hi All...

I am Inserting a Blanket Order Through a Report from Sales Quote...
In My Code i am validating "Bill-to Customer No." in Table Sales Header. But System asks for a confirmation message...
I want to skip that...One way is to not Validate...but i want to validate...Is there any way that system doesn/t asks for confirm message and validate it...There is a Global Variable HideValidationDialog due to which system asks for confirm message??Can i control this variable thru my report???...Thanks...

Comments

  • naviannavian Member Posts: 39
    Hi hksharmaa,
    There is a function called 'SetHideValidationDialog' that will set this 'HideValidationDialog' variable.
    What you need to do is to call this function before you start validating the fields.
    E.g. SalesHeader.SetHideValidationDialog(TRUE);
  • hksharmaahksharmaa Member Posts: 55
    Thanks for the effort ...It worked... \:D/
Sign In or Register to comment.