...
END;
CaptionML=[ENU=Order Date;
PTG=Data Encomenda] }
{ 20 ; ;Posting Date ;Date ;OnValidate=BEGIN
// Delete the following lines.
TestNoSeriesDate(
"Posting No.","Posting No. Series",
FIELDCAPTION("Posting No."),FIELDCAPTION("Posting No. Series"));
TestNoSeriesDate(
"Prepayment No.","Prepayment No. Series",
FIELDCAPTION("Prepayment No."),FIELDCAPTION("Prepayment No. Series"));
TestNoSeriesDate(
"Prepmt. Cr. Memo No.","Prepmt. Cr. Memo No. Series",
FIELDCAPTION("Prepmt. Cr. Memo No."),FIELDCAPTION("Prepmt. Cr. Memo No. Series"));
VALIDATE("Document Date","Posting Date");
IF ("Document Type" IN ["Document Type"::Invoice,"Document Type"::"Credit Memo"]) AND
NOT ("Posting Date" = xRec."Posting Date")
THEN
PriceMessageIfSalesLinesExist(FIELDCAPTION("Posting Date"));
IF "Currency Code" <> '' THEN BEGIN
UpdateCurrencyFactor;
IF "Currency Factor" <> xRec."Currency Factor" THEN
ConfirmUpdateCurrencyFactor;
END;
// End of the deleted lines.
END;
CaptionML=[ENU=Posting Date;
PTG=Data Registo] }
{ 21 ; ;Shipment Date ;Date ;OnValidate=BEGIN
...
...
END;
CaptionML=[ENU=Order Date;
PTG=Data Encomenda] }
{ 20 ; ;Posting Date ;Date ;OnValidate=BEGIN
// Add the following lines.
IF "Posting Date" <> xRec."Posting Date" THEN BEGIN
TestNoSeriesDate(
"Posting No.","Posting No. Series",
FIELDCAPTION("Posting No."),FIELDCAPTION("Posting No. Series"));
TestNoSeriesDate(
"Prepayment No.","Prepayment No. Series",
FIELDCAPTION("Prepayment No."),FIELDCAPTION("Prepayment No. Series"));
TestNoSeriesDate(
"Prepmt. Cr. Memo No.","Prepmt. Cr. Memo No. Series",
FIELDCAPTION("Prepmt. Cr. Memo No."),FIELDCAPTION("Prepmt. Cr. Memo No. Series"));
VALIDATE("Document Date","Posting Date");
IF ("Document Type" IN ["Document Type"::Invoice,"Document Type"::"Credit Memo"]) AND
NOT ("Posting Date" = xRec."Posting Date")
THEN
PriceMessageIfSalesLinesExist(FIELDCAPTION("Posting Date"));
IF "Currency Code" <> '' THEN BEGIN
UpdateCurrencyFactor;
IF "Currency Factor" <> xRec."Currency Factor" THEN
ConfirmUpdateCurrencyFactor;
END;
END;
// End of the added lines.
END;
CaptionML=[ENU=Posting Date;
PTG=Data Registo] }
{ 21 ; ;Shipment Date ;Date ;OnValidate=BEGIN
...