Hi All
I have tried below code to hide dialog when importing Sales Order lines but it's not working
SalesLine.Init();
SalesLine.validate("Document No.", SalesHeader."No.");
NextLineNo := NextLineNo + 1000;
SalesLine."Line No." := NextLineNo;
SalesLine.SetHideValidationDialog(True);
SalesLine.Validate("Shipment Date", SalesHeader."Posting Date");
However if a table extension created it works for the shipment date field
modify("Shipment Date")
{
trigger OnBeforeValidate()
begin
Rec.SetHideValidationDialog(true);
0