how to avoid message box (validating) when import data?

julkifli33julkifli33 Member Posts: 1,092
hi all
i create import data to sales header using codeunit
when i validate sell to customer no
it always show this message box
"Do you want to change bill-to customer no?"

how to automatic click yes ?
thanks

Answers

  • julkifli33julkifli33 Member Posts: 1,092
    i found it...
    add code SalesHeader.SetHideValidationDialog(TRUE);
Sign In or Register to comment.