Hello
When i print for exemple the Test Report of an invoice i obtain the message “Shipment Date dd.mm.yyyy is before Work Date”.
Is there a way to disbale this warning ?
Thanks in advance for your help
SG
Hello
When i print for exemple the Test Report of an invoice i obtain the message “Shipment Date dd.mm.yyyy is before Work Date”.
Is there a way to disbale this warning ?
Thanks in advance for your help
SG
The message code is triggered from the ‘Sales Line’ “Shipment Date” onValidate, it will only show once per document and is called when the Header and Lines are updated, you could disable it by remarking out the code, but it is there for a reason when Shipping or Shipping and Invoicing the warning gives you a chance to change the Shipment Date and it only shows once per document:
IF (“Shipment Date” < WORKDATE) AND (Type <> Type::" ") THEN
IF NOT (HideValidationDialog OR HasBeenShown) THEN BEGIN
MESSAGE(
Text014,
FIELDCAPTION(“Shipment Date”),“Shipment Date”,WORKDATE);
HasBeenShown := TRUE;
END;
David
Thank ou for help David [Y]
Why? It is telling the user they are trying to ship it before today - in what scenario do you get this consistently enough it becomes annoying ? [:D]
Sometimes, i have to create new reports based on the layout of existing reports and i do not want to obtain this message for each document i preview.
Ahh now I understand [:D]