Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.

Bài viết này áp dụng cho Microsoft Dynamics NAV cho tất cả các nước và tất cả ngôn ngữ.

Triệu chứng

Khi bạn nhập một giá trị Vận chuyển đến địa chỉ mã đơn bán hàng trong Microsoft Dynamics NAV 2013, Bài viết mã, thành phốquận giá trị được không chuyển thẻ vận chuyển đến địa chỉ Vận chuyển đến bài mã trường, trường Vận chuyển đến thành phốVận chuyển đến quận trường vào đơn bán hàng. Sự cố này chỉ xảy ra nếu giá trị Tàu để mã quốc gia/khu vực đã được chỉ định vào đơn bán hàng và giá trị khác với giá trị Mã quốc gia/khu vực mới vận chuyển đến địa chỉ.

Giải pháp

Thông tin về cập nhật nóng

Microsoft hiện đã cung cấp bản cập nhật nóng được hỗ trợ. Tuy nhiên, nó chỉ được dùng để khắc phục sự cố được mô tả trong bài viết này. Áp dụng cho các hệ thống đang gặp sự cố cụ thể này. Hotfix này có thể được kiểm tra thêm. Vì vậy, nếu bạn không bị ảnh hưởng bởi sự cố này, chúng tôi khuyến nghị bạn đợi cho gói dịch vụ tiếp theo của Microsoft Dynamics NAV 2013 hoặc các phiên bản Microsoft Dynamics NAV tiếp theo có chứa hotfix này.

Lưu ý Trong trường hợp đặc biệt, chi phí thường phát sinh để hỗ trợ cuộc gọi có thể được hủy bỏ nếu chuyên viên hỗ trợ kỹ thuật cho Microsoft Dynamics và sản phẩm liên quan xác định rằng một Cập Nhật cụ thể sẽ giải quyết vấn đề của bạn. Chi phí hỗ trợ thông thường sẽ áp dụng cho các vấn đề không phù hợp với bản Cập Nhật cụ thể trong câu hỏi và câu hỏi hỗ trợ bổ sung.


Thông tin cài đặt

Microsoft cung cấp mô hình lập trình để minh hoạ, không bảo hành hoặc rõ ràng hay ngụ ý. Điều này bao gồm, nhưng không giới hạn ở các bảo đảm cho một mục đích cụ thể hoặc sự. Bài viết này giả định rằng bạn đã quen với ngôn ngữ lập trình đang được giải thích và các công cụ được sử dụng để tạo và quy trình gỡ lỗi. Các kỹ sư hỗ trợ Microsoft có thể giúp giải thích các chức năng của một quy trình cụ thể. Tuy nhiên, họ sẽ không sửa đổi các ví dụ để cung cấp thêm chức năng hoặc xây dựng quy trình nhằm đáp ứng các yêu cầu cụ thể của bạn.

Lưu ý Trước khi cài đặt hotfix này, xác minh rằng tất cả Microsoft Navision khách người dùng đăng xuất hệ thống. Điều này bao gồm Microsoft Navision ứng dụng dịch vụ (NAS) khách người dùng. Bạn nên khách hàng chỉ người được đăng nhập khi bạn áp dụng hotfix này.

Để áp dụng hotfix này, bạn phải có giấy phép nhà phát triển.

Chúng tôi khuyên bạn nên tài khoản người dùng trong cửa sổ thông tin đăng nhập Windows hoặc trong cửa sổ thông tin đăng nhập cơ sở dữ liệu được gán vai trò "Siêu" của bạn. Nếu tài khoản người dùng không thể gán vai trò "SUPER" ID, bạn phải xác minh rằng tài khoản người dùng có các quyền sau đây:

  • Thay đổi quyền cho các đối tượng mà bạn sẽ thay đổi.

  • Quyền thực thi các đối tượng hệ thống đối tượng ID 5210 và các đối tượng hệ thống đối tượng ID 9015 .



Lưu ý Bạn không cần phải có quyền để lưu trữ dữ liệu nếu bạn phải tiến hành sửa chữa dữ liệu.

Thay đổi mã

Lưu ý Luôn kiểm tra mã khắc phục trong một môi trường được kiểm soát trước khi bạn áp dụng bản vá để sản xuất máy tính của bạn.
Để khắc phục sự cố này, hãy làm theo các bước sau:

  1. Thay đổi mã trong lĩnh vực trong bảng vị trí (14) như sau:
    Mã hiện tại

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 5715; ;County ;Text30 }
    { 5718; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 5719; ;Home Page ;Text90 ;ExtendedDatatype=URL }

    // Delete the following lines.
    { 5720; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND ("Country/Region Code" <> '') THEN
    Postcode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 5724; ;Use As In-Transit ;Boolean ;OnValidate=BEGIN
    IF "Use As In-Transit" THEN BEGIN
    TESTFIELD("Require Put-away",FALSE);
    TESTFIELD("Require Pick",FALSE);
    TESTFIELD("Use Cross-Docking",FALSE);
    ...

    Thay thế mã

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 5715; ;County ;Text30 }
    { 5718; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 5719; ;Home Page ;Text90 ;ExtendedDatatype=URL }

    // Add the following line.
    { 5720; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 5724; ;Use As In-Transit ;Boolean ;OnValidate=BEGIN
    IF "Use As In-Transit" THEN BEGIN
    TESTFIELD("Require Put-away",FALSE);
    TESTFIELD("Require Pick",FALSE);
    TESTFIELD("Use Cross-Docking",FALSE);
    ...

  2. Thay đổi mã trong lĩnh vực trong bảng khách hàng (18) như sau:
    Mã hiện tại

    ...      { 32  ;   ;Place of Export     ;Code20         }
    { 33 ; ;Invoice Disc. Code ;Code20 ;TableRelation=Customer;
    ValidateTableRelation=No;
    TestTableRelation=No }
    { 34 ; ;Customer Disc. Group;Code20 ;TableRelation="Customer Discount Group" }

    // Delete the following lines.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 36 ; ;Collection Method ;Code20 }
    { 37 ; ;Amount ;Decimal ;AutoFormatType=1;
    AutoFormatExpr="Currency Code" }
    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Customer),
    ...

    Thay thế mã

    ...      { 32  ;   ;Place of Export     ;Code20         }
    { 33 ; ;Invoice Disc. Code ;Code20 ;TableRelation=Customer;
    ValidateTableRelation=No;
    TestTableRelation=No }
    { 34 ; ;Customer Disc. Group;Code20 ;TableRelation="Customer Discount Group" }

    // Add the following line.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 36 ; ;Collection Method ;Code20 }
    { 37 ; ;Amount ;Decimal ;AutoFormatType=1;
    AutoFormatExpr="Currency Code" }
    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Customer),
    ...

  3. Thay đổi mã trong lĩnh vực trong bảng nhà cung cấp (23) như sau:
    Mã hiện tại

    ...      { 30  ;   ;Shipment Method Code;Code10        ;TableRelation="Shipment Method" }
    { 31 ; ;Shipping Agent Code ;Code10 ;TableRelation="Shipping Agent" }
    { 33 ; ;Invoice Disc. Code ;Code20 ;TableRelation=Vendor;
    ValidateTableRelation=No;
    TestTableRelation=No }

    // Delete the following lines.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Vendor),
    No.=FIELD(No.)));
    Editable=No }
    { 39 ; ;Blocked ;Option ;OptionString=[ ,Payment,All] }
    ...

    Thay thế mã

    ...      { 30  ;   ;Shipment Method Code;Code10        ;TableRelation="Shipment Method" }
    { 31 ; ;Shipping Agent Code ;Code10 ;TableRelation="Shipping Agent" }
    { 33 ; ;Invoice Disc. Code ;Code20 ;TableRelation=Vendor;
    ValidateTableRelation=No;
    TestTableRelation=No }

    // Add the following line.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Vendor),
    No.=FIELD(No.)));
    Editable=No }
    { 39 ; ;Blocked ;Option ;OptionString=[ ,Payment,All] }
    ...

  4. Thay đổi mã trong lĩnh vực trong bán hàng tiêu đề bảng (36) như sau:
    Hiện có mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Delete the following lines.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Bill-to Country/Region Code" <> xRec."Bill-to Country/Region Code") AND (xRec."Bill-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Bill-to City","Bill-to Post Code","Bill-to County");
    END;
    }
    // End of the lines.

    { 88 ; ;Sell-to Post Code ;Code20 ;TableRelation="Post Code";
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Sell-to City","Sell-to Post Code","Sell-to County","Sell-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Thay thế mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Add the following line.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 88 ; ;Sell-to Post Code ;Code20 ;TableRelation="Post Code";
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Sell-to City","Sell-to Post Code","Sell-to County","Sell-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Hiện có mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Sell-to County ;Text30 }

    // Delete the following lines.
    { 90 ; ;Sell-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Sell-to Country/Region Code" <> xRec."Sell-to Country/Region Code") AND (xRec."Sell-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Sell-to City","Sell-to Post Code","Sell-to County");
    END;
    }
    // End of the lines.

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation="Post Code";
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Thay thế mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Sell-to County ;Text30 }

    // Add the following line.
    { 90 ; ;Sell-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation="Post Code";
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Mã hiện 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Delete the following lines.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");
    END;
    }
    // End of the lines.

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 97 ; ;Exit Point ;Code10 ;TableRelation="Entry/Exit Point";
    OnValidate=BEGIN
    UpdateSalesLines(FIELDCAPTION("Exit Point"),FALSE);
    END;
    ...

    Thay thế mã 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Add the following line.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 97 ; ;Exit Point ;Code10 ;TableRelation="Entry/Exit Point";
    OnValidate=BEGIN
    UpdateSalesLines(FIELDCAPTION("Exit Point"),FALSE);
    END;
    ...

  5. Thay đổi mã trong lĩnh vực trong bảng mua tiêu đề (38) như sau:
    Hiện có mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Pay-to County ;Text30 }

    // Delete the following lines.
    { 87 ; ;Pay-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Pay-to Country/Region Code" <> xRec."Pay-to Country/Region Code") AND (xRec."Pay-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Pay-to City","Pay-to Post Code","Pay-to County");
    END;
    }
    // End of the lines.

    { 88 ; ;Buy-from Post Code ;Code20 ;TableRelation=IF (Buy-from Country/Region Code=CONST()) "Post Code"
    ELSE IF (Buy-from Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Buy-from Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Buy-from City","Buy-from Post Code","Buy-from County","Buy-from Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Pay-to County ;Text30 }

    // Add the following line.
    { 87 ; ;Pay-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 88 ; ;Buy-from Post Code ;Code20 ;TableRelation=IF (Buy-from Country/Region Code=CONST()) "Post Code"
    ELSE IF (Buy-from Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Buy-from Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Buy-from City","Buy-from Post Code","Buy-from County","Buy-from Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Hiện có mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Buy-from County ;Text30 }

    // Delete the following lines.
    { 90 ; ;Buy-from Country/Region Code;Code10;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Buy-from Country/Region Code" <> xRec."Buy-from Country/Region Code") AND (xRec."Buy-from Country/Region Code" <> '') THEN
    PostCode.ClearFields("Buy-from City","Buy-from Post Code","Buy-from County");
    END;
    }
    // End of the lines.

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Buy-from County ;Text30 }

    // Add the following line.
    { 90 ; ;Buy-from Country/Region Code;Code10;TableRelation=Country/Region }

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Mã hiện 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Delete the following lines.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");
    END;
    }
    // End of the lines.

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 95 ; ;Order Address Code ;Code10 ;TableRelation="Order Address".Code WHERE (Vendor No.=FIELD(Buy-from Vendor No.));
    OnValidate=BEGIN
    IF "Order Address Code" <> '' THEN BEGIN
    OrderAddr.GET("Buy-from Vendor No.","Order Address Code");
    ...

    Thay thế mã 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Add the following line.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 95 ; ;Order Address Code ;Code10 ;TableRelation="Order Address".Code WHERE (Vendor No.=FIELD(Buy-from Vendor No.));
    OnValidate=BEGIN
    IF "Order Address Code" <> '' THEN BEGIN
    OrderAddr.GET("Buy-from Vendor No.","Order Address Code");
    ...

  6. Thay đổi mã trong lĩnh vực trong bảng thông tin công ty (79) như sau:
    Mã hiện tại

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 33 ; ;Ship-to County ;Text30 }
    { 34 ; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 35 ; ;Home Page ;Text80 ;ExtendedDatatype=URL }

    // Delete the following lines.
    { 36 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    { 37 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");
    END;
    }
    // End of the lines.

    { 38 ; ;IBAN ;Code50 ;OnValidate=BEGIN
    CheckIBAN(IBAN);
    END;
    }
    { 39 ; ;SWIFT Code ;Code20 }
    ...

    Thay thế mã

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 33 ; ;Ship-to County ;Text30 }
    { 34 ; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 35 ; ;Home Page ;Text80 ;ExtendedDatatype=URL }

    // Add the following lines.
    { 36 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }
    { 37 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region }
    // End of the lines.

    { 38 ; ;IBAN ;Code50 ;OnValidate=BEGIN
    CheckIBAN(IBAN);
    END;
    }
    { 39 ; ;SWIFT Code ;Code20 }
    ...

  7. Thay đổi mã trong lĩnh vực trong bảng tài nguyên (156) như sau:
    Mã hiện tại

    ...      { 55  ;   ;Automatic Ext. Texts;Boolean        }
    { 56 ; ;No. Series ;Code10 ;TableRelation="No. Series";
    Editable=No }
    { 57 ; ;Tax Group Code ;Code10 ;TableRelation="Tax Group" }
    { 58 ; ;VAT Prod. Posting Group;Code10 ;TableRelation="VAT Product Posting Group" }

    // Delete the following lines.
    { 59 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 60 ; ;IC Partner Purch. G/L Acc. No.;Code20;
    TableRelation="IC G/L Account" }
    { 900 ; ;Qty. on Assembly Order;Decimal ;FieldClass=FlowField;
    CalcFormula=Sum("Assembly Line"."Remaining Quantity (Base)" WHERE (Document Type=CONST(Order),
    Type=CONST(Resource),
    ...

    Thay thế mã

    ...      { 55  ;   ;Automatic Ext. Texts;Boolean        }
    { 56 ; ;No. Series ;Code10 ;TableRelation="No. Series";
    Editable=No }
    { 57 ; ;Tax Group Code ;Code10 ;TableRelation="Tax Group" }
    { 58 ; ;VAT Prod. Posting Group;Code10 ;TableRelation="VAT Product Posting Group" }

    // Add the following line.
    { 59 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 60 ; ;IC Partner Purch. G/L Acc. No.;Code20;
    TableRelation="IC G/L Account" }
    { 900 ; ;Qty. on Assembly Order;Decimal ;FieldClass=FlowField;
    CalcFormula=Sum("Assembly Line"."Remaining Quantity (Base)" WHERE (Document Type=CONST(Order),
    Type=CONST(Resource),
    ...

  8. Thay đổi mã trong lĩnh vực trong công việc bảng (167) như sau:
    Mã hiện tại

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 66 ; ;No. Series ;Code10 ;TableRelation="No. Series";
    Editable=No }
    { 67 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region;

    // Delete the following lines.
    OnValidate=BEGIN
    IF ("Bill-to Country/Region Code" <> xRec."Bill-to Country/Region Code") AND (xRec."Bill-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Bill-to City","Bill-to Post Code","Bill-to County");
    END;

    // End of the lines.

    Editable=Yes }
    { 68 ; ;Bill-to Name 2 ;Text50 }
    { 117 ; ;Reserve ;Option ;OptionString=Never,Optional,Always }
    { 1000; ;WIP Method ;Code20 ;TableRelation="Job WIP Method".Code WHERE (Valid=CONST(Yes));
    OnValidate=VAR
    ...

    Thay thế mã

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 66 ; ;No. Series ;Code10 ;TableRelation="No. Series";
    Editable=No }
    { 67 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    Editable=Yes }
    { 68 ; ;Bill-to Name 2 ;Text50 }
    { 117 ; ;Reserve ;Option ;OptionString=Never,Optional,Always }
    { 1000; ;WIP Method ;Code20 ;TableRelation="Job WIP Method".Code WHERE (Valid=CONST(Yes));
    OnValidate=VAR
    ...

  9. Thay đổi mã trong lĩnh vực trong bảng địa chỉ vận chuyển (222) như sau:
    Mã hiện tại

    ...                                                                  IF "Shipping Agent Code" <> xRec."Shipping Agent Code" THEN
    VALIDATE("Shipping Agent Service Code",'');
    END;
    }
    { 32 ; ;Place of Export ;Code20 }

    // Delete the following lines.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 54 ; ;Last Date Modified ;Date ;Editable=No }
    { 83 ; ;Location Code ;Code10 ;TableRelation=Location WHERE (Use As In-Transit=CONST(No)) }
    { 84 ; ;Fax No. ;Text30 }
    { 85 ; ;Telex Answer Back ;Text20 }
    { 91 ; ;Post Code ;Code20 ;TableRelation=IF (Country/Region Code=CONST()) "Post Code"
    ...

    Thay thế mã

    ...                                                                  IF "Shipping Agent Code" <> xRec."Shipping Agent Code" THEN
    VALIDATE("Shipping Agent Service Code",'');
    END;
    }
    { 32 ; ;Place of Export ;Code20 }

    // Add the following line.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 54 ; ;Last Date Modified ;Date ;Editable=No }
    { 83 ; ;Location Code ;Code10 ;TableRelation=Location WHERE (Use As In-Transit=CONST(No)) }
    { 84 ; ;Fax No. ;Text30 }
    { 85 ; ;Telex Answer Back ;Text20 }
    { 91 ; ;Post Code ;Code20 ;TableRelation=IF (Country/Region Code=CONST()) "Post Code"
    ...

  10. Thay đổi mã chức năng ClearFields trong bảng sau mã (225) như sau:
    Mã hiện tại

    ...          CountryCode := PostCodeRec."Country/Region Code";
    County := PostCodeRec.County;
    END;
    END;

    // Delete the following lines.
    PROCEDURE ClearFields@1(VAR City@1000 : Text[30];VAR PostCode@1001 : Code[20];VAR County@1002 : Text[30]);
    BEGIN
    City := '';
    PostCode := '';
    County := '';
    END;

    // End of the lines.

    BEGIN
    END.
    }
    }
    ...

    Thay thế mã

    ...          CountryCode := PostCodeRec."Country/Region Code";
    County := PostCodeRec.County;
    END;
    END;

    BEGIN
    END.
    }
    }
    ...

  11. Thay đổi mã trong lĩnh vực trong bảng tài khoản ngân hàng (270) như sau:
    Mã hiện tại

    ...                                                                END;
    }
    { 24 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 26 ; ;Statistics Group ;Integer }
    { 29 ; ;Our Contact Code ;Code10 ;TableRelation=Salesperson/Purchaser }

    // Delete the following lines.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 37 ; ;Amount ;Decimal ;AutoFormatType=1;
    AutoFormatExpr="Currency Code" }
    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Bank Account),
    No.=FIELD(No.)));
    ...

    Thay thế mã

    ...                                                                END;
    }
    { 24 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 26 ; ;Statistics Group ;Integer }
    { 29 ; ;Our Contact Code ;Code10 ;TableRelation=Salesperson/Purchaser }

    // Add the following line.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 37 ; ;Amount ;Decimal ;AutoFormatType=1;
    AutoFormatExpr="Currency Code" }
    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Comment Line" WHERE (Table Name=CONST(Bank Account),
    No.=FIELD(No.)));
    ...

  12. Thay đổi mã trong lĩnh vực trong bảng nhắc nhở tiêu đề (295) như sau:
    Mã hiện tại

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Delete the following line.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 11 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 12 ; ;Currency Code ;Code10 ;TableRelation=Currency;
    OnValidate=BEGIN
    IF CurrFieldNo = FIELDNO("Currency Code") THEN
    IF Undo THEN BEGIN
    ...

    Thay thế mã

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Add the following line.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 11 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 12 ; ;Currency Code ;Code10 ;TableRelation=Currency;
    OnValidate=BEGIN
    IF CurrFieldNo = FIELDNO("Currency Code") THEN
    IF Undo THEN BEGIN
    ...

  13. Thay đổi mã trong lĩnh vực trong bảng tiêu đề ghi phí tài chính (302) như sau:
    Mã hiện tại

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Delete the folloiwng lines.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '')THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 11 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 12 ; ;Currency Code ;Code10 ;TableRelation=Currency;
    OnValidate=BEGIN
    IF CurrFieldNo = FIELDNO("Currency Code") THEN
    IF Undo THEN BEGIN
    ...

    Thay thế mã

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Add the following line.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 11 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 12 ; ;Currency Code ;Code10 ;TableRelation=Currency;
    OnValidate=BEGIN
    IF CurrFieldNo = FIELDNO("Currency Code") THEN
    IF Undo THEN BEGIN
    ...

  14. Thay đổi mã trong lĩnh vực trong bảng liên lạc (5050) như sau:
    Mã hiện tại

    ...      { 10  ;   ;Telex No.           ;Text20         }
    { 15 ; ;Territory Code ;Code10 ;TableRelation=Territory }
    { 22 ; ;Currency Code ;Code10 ;TableRelation=Currency }
    { 24 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 29 ; ;Salesperson Code ;Code10 ;TableRelation=Salesperson/Purchaser }

    // Delete the following lines.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Rlshp. Mgt. Comment Line" WHERE (Table Name=CONST(Contact),
    No.=FIELD(No.),
    Sub No.=CONST(0)));
    Editable=No }
    ...

    Thay thế mã

    ...      { 10  ;   ;Telex No.           ;Text20         }
    { 15 ; ;Territory Code ;Code10 ;TableRelation=Territory }
    { 22 ; ;Currency Code ;Code10 ;TableRelation=Currency }
    { 24 ; ;Language Code ;Code10 ;TableRelation=Language }
    { 29 ; ;Salesperson Code ;Code10 ;TableRelation=Salesperson/Purchaser }

    // Add the following line.
    { 35 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 38 ; ;Comment ;Boolean ;FieldClass=FlowField;
    CalcFormula=Exist("Rlshp. Mgt. Comment Line" WHERE (Table Name=CONST(Contact),
    No.=FIELD(No.),
    Sub No.=CONST(0)));
    Editable=No }
    ...

  15. Thay đổi mã trong lĩnh vực trong bảng địa chỉ liên hệ Alt. (5051) như sau:
    Mã hiện tại

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Delete the following lines.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 12 ; ;Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 13 ; ;Telex No. ;Text20 }
    { 14 ; ;Extension No. ;Text30 }
    { 15 ; ;Mobile Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 16 ; ;Pager ;Text30 }
    ...

    Thay thế mã

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;County ;Text30 }

    // Add the following line.
    { 10 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 12 ; ;Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 13 ; ;Telex No. ;Text20 }
    { 14 ; ;Extension No. ;Text30 }
    { 15 ; ;Mobile Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 16 ; ;Pager ;Text30 }
    ...

  16. Thay đổi mã trong lĩnh vực trong bảng nhân viên (5200) như sau:
    Mã hiện tại

    ...      { 20  ;   ;Birth Date          ;Date           }
    { 21 ; ;Social Security No. ;Text30 }
    { 22 ; ;Union Code ;Code10 ;TableRelation=Union }
    { 23 ; ;Union Membership No.;Text30 }
    { 24 ; ;Gender ;Option ;OptionString=[ ,Female,Male] }

    // Delete the following lines.
    { 25 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 26 ; ;Manager No. ;Code20 ;TableRelation=Employee }
    { 27 ; ;Emplymt. Contract Code;Code10 ;TableRelation="Employment Contract" }
    { 28 ; ;Statistics Group Code;Code10 ;TableRelation="Employee Statistics Group" }
    { 29 ; ;Employment Date ;Date }
    { 31 ; ;Status ;Option ;OnValidate=BEGIN
    ...

    Thay thế mã

    ...      { 20  ;   ;Birth Date          ;Date           }
    { 21 ; ;Social Security No. ;Text30 }
    { 22 ; ;Union Code ;Code10 ;TableRelation=Union }
    { 23 ; ;Union Membership No.;Text30 }
    { 24 ; ;Gender ;Option ;OptionString=[ ,Female,Male] }

    // Add the following line.
    { 25 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 26 ; ;Manager No. ;Code20 ;TableRelation=Employee }
    { 27 ; ;Emplymt. Contract Code;Code10 ;TableRelation="Employment Contract" }
    { 28 ; ;Statistics Group Code;Code10 ;TableRelation="Employee Statistics Group" }
    { 29 ; ;Employment Date ;Date }
    { 31 ; ;Status ;Option ;OnValidate=BEGIN
    ...

  17. Thay đổi mã trong lĩnh vực trong bảng địa chỉ thay thế (5201) như sau:
    Mã hiện tại

    ...      { 13  ;   ;Comment             ;Boolean       ;FieldClass=FlowField;
    CalcFormula=Exist("Human Resource Comment Line" WHERE (Table Name=CONST(Alternative Address),
    No.=FIELD(Employee No.),
    Alternative Address Code=FIELD(Code)));
    Editable=No }

    // Delete the following lines.
    { 14 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    }
    KEYS
    {
    { ;Employee No.,Code ;Clustered=Yes }
    }
    ...

    Thay thế mã

    ...      { 13  ;   ;Comment             ;Boolean       ;FieldClass=FlowField;
    CalcFormula=Exist("Human Resource Comment Line" WHERE (Table Name=CONST(Alternative Address),
    No.=FIELD(Employee No.),
    Alternative Address Code=FIELD(Code)));
    Editable=No }

    // Add the following line.
    { 14 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    }
    KEYS
    {
    { ;Employee No.,Code ;Clustered=Yes }
    }
    ...

  18. Thay đổi mã trong lĩnh vực trong bảng tập hợp (5209) như sau:
    Mã hiện tại

    ...      { 9   ;   ;Address 2           ;Text50         }
    { 10 ; ;County ;Text30 }
    { 11 ; ;Fax No. ;Text30 }
    { 12 ; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 13 ; ;Home Page ;Text80 ;ExtendedDatatype=URL }

    // Delete the following lines.
    { 14 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    }
    KEYS
    {
    { ;Code ;Clustered=Yes }
    }
    ...

    Thay thế mã

    ...      { 9   ;   ;Address 2           ;Text50         }
    { 10 ; ;County ;Text30 }
    { 11 ; ;Fax No. ;Text30 }
    { 12 ; ;E-Mail ;Text80 ;ExtendedDatatype=E-Mail }
    { 13 ; ;Home Page ;Text80 ;ExtendedDatatype=URL }

    // Add the following line.
    { 14 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    }
    KEYS
    {
    { ;Code ;Clustered=Yes }
    }
    ...

  19. Thay đổi mã trong lĩnh vực trong bảng trung tâm trách nhiệm (5714) như sau:
    Mã hiện tại

    ...                                                                  PostCode.ValidatePostCode(City,"Post Code",County,"Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;

    ValidateTableRelation=No;
    TestTableRelation=No }

    // Delete the folloiwng lines.
    { 7 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    END;
    }
    // End of the lines.

    { 8 ; ;Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 9 ; ;Fax No. ;Text30 }
    { 10 ; ;Name 2 ;Text50 }
    { 11 ; ;Contact ;Text50 }
    { 12 ; ;Global Dimension 1 Code;Code20 ;TableRelation="Dimension Value".Code WHERE (Global Dimension No.=CONST(1));
    ...

    Thay thế mã

    ...                                                                  PostCode.ValidatePostCode(City,"Post Code",County,"Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;

    ValidateTableRelation=No;
    TestTableRelation=No }

    // Add the following line.
    { 7 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region }

    { 8 ; ;Phone No. ;Text30 ;ExtendedDatatype=Phone No. }
    { 9 ; ;Fax No. ;Text30 }
    { 10 ; ;Name 2 ;Text50 }
    { 11 ; ;Contact ;Text50 }
    { 12 ; ;Global Dimension 1 Code;Code20 ;TableRelation="Dimension Value".Code WHERE (Global Dimension No.=CONST(1));
    ...

  20. Thay đổi mã trong lĩnh vực trong bảng chuyển tiêu đề (5740) như sau:
    Hiện có mã 1

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;Transfer-from County;Text30 }
    { 10 ; ;Trsf.-from Country/Region Code;Code10;

    // Delete the following lines.
    TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Trsf.-from Country/Region Code" <> xRec."Trsf.-from Country/Region Code") AND
    (xRec."Trsf.-from Country/Region Code" <> '')
    THEN
    PostCode.ClearFields("Transfer-from City","Transfer-from Post Code","Transfer-from County");
    END;
    }
    // End of the lines.

    { 11 ; ;Transfer-to Code ;Code10 ;TableRelation=Location WHERE (Use As In-Transit=CONST(No));
    OnValidate=VAR
    Location@1000 : Record 14;
    Confirmed@1001 : Boolean;
    BEGIN
    ...

    Thay thế mã 1

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 9 ; ;Transfer-from County;Text30 }
    { 10 ; ;Trsf.-from Country/Region Code;Code10;

    // Add the folloiwng line.
    TableRelation=Country/Region }

    { 11 ; ;Transfer-to Code ;Code10 ;TableRelation=Location WHERE (Use As In-Transit=CONST(No));
    OnValidate=VAR
    Location@1000 : Record 14;
    Confirmed@1001 : Boolean;
    BEGIN
    ...

    Hiện có mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 18 ; ;Transfer-to County ;Text30 }

    // Delete the following lines.
    { 19 ; ;Trsf.-to Country/Region Code;Code10;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Trsf.-to Country/Region Code" <> xRec."Trsf.-to Country/Region Code") AND (xRec."Trsf.-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Transfer-to City","Transfer-to Post Code","Transfer-to County");
    END;
    }
    // End of the lines.

    { 20 ; ;Posting Date ;Date }
    { 21 ; ;Shipment Date ;Date ;OnValidate=BEGIN
    TestStatusOpen;
    TransferRoute.CalcReceiptDate(
    "Shipment Date",
    ...

    Thay thế mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 18 ; ;Transfer-to County ;Text30 }

    // Add the following line.
    { 19 ; ;Trsf.-to Country/Region Code;Code10;TableRelation=Country/Region }

    { 20 ; ;Posting Date ;Date }
    { 21 ; ;Shipment Date ;Date ;OnValidate=BEGIN
    TestStatusOpen;
    TransferRoute.CalcReceiptDate(
    "Shipment Date",
    ...

  21. Thay đổi mã trong lĩnh vực trong bảng dịch vụ đầu (5900) như sau:
    Hiện có mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Delete the following lines.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Bill-to Country/Region Code" <> xRec."Bill-to Country/Region Code") AND (xRec."Bill-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Bill-to City","Bill-to Post Code","Bill-to County");
    END;
    }
    // End of the lines.

    { 88 ; ;Post Code ;Code20 ;TableRelation=IF (Country/Region Code=CONST()) "Post Code"
    ELSE IF (Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(City,"Post Code",County,"Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Thay thế mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Add the following line.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 88 ; ;Post Code ;Code20 ;TableRelation=IF (Country/Region Code=CONST()) "Post Code"
    ELSE IF (Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(City,"Post Code",County,"Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    END;
    ...

    Hiện có mã 2

    ...                                                     TestTableRelation=No }
    { 89 ; ;County ;Text30 }
    { 90 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    VALIDATE("Ship-to Country/Region Code");

    // Delete the following lines.
    IF ("Country/Region Code" <> xRec."Country/Region Code") AND (xRec."Country/Region Code" <> '') THEN
    PostCode.ClearFields(City,"Post Code",County);
    // End of the lines.

    END;
    }
    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    ...

    Thay thế mã 2

    ...                                                     TestTableRelation=No }
    { 89 ; ;County ;Text30 }
    { 90 ; ;Country/Region Code ;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    VALIDATE("Ship-to Country/Region Code");
    END;
    }
    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    ...

    Mã hiện 3

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN

    // Delete the following lines.
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");

    // End of the lines.

    IF "Ship-to Country/Region Code" <> '' THEN
    "VAT Country/Region Code" := "Ship-to Country/Region Code"
    ELSE
    "VAT Country/Region Code" := "Country/Region Code"
    END;
    ...

    Thay thế mã 3

    ...                                                     ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF "Ship-to Country/Region Code" <> '' THEN
    "VAT Country/Region Code" := "Ship-to Country/Region Code"
    ELSE
    "VAT Country/Region Code" := "Country/Region Code"
    END;
    ...

  22. Thay đổi mã trong lĩnh vực trong bảng trả lại hàng đầu (6650) như sau:
    Hiện có mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Pay-to County ;Text30 }

    // Delete the following lines.
    { 87 ; ;Pay-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Pay-to Country/Region Code" <> xRec."Pay-to Country/Region Code") AND (xRec."Pay-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Pay-to City","Pay-to Post Code","Pay-to County");
    END;
    }
    // End of the lines.

    { 88 ; ;Buy-from Post Code ;Code20 ;TableRelation=IF (Buy-from Country/Region Code=CONST()) "Post Code"
    ELSE IF (Buy-from Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Buy-from Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Buy-from City","Buy-from Post Code","Buy-from County","Buy-from Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Pay-to County ;Text30 }

    // Add the following line.
    { 87 ; ;Pay-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 88 ; ;Buy-from Post Code ;Code20 ;TableRelation=IF (Buy-from Country/Region Code=CONST()) "Post Code"
    ELSE IF (Buy-from Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Buy-from Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Buy-from City","Buy-from Post Code","Buy-from County","Buy-from Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Hiện có mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Buy-from County ;Text30 }

    // Delete the following lines.
    { 90 ; ;Buy-from Country/Region Code;Code10;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Buy-from Country/Region Code" <> xRec."Buy-from Country/Region Code") AND (xRec."Buy-from Country/Region Code" <> '') THEN
    PostCode.ClearFields("Buy-from City","Buy-from Post Code","Buy-from County");
    END;
    }
    // End of the lines.

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Buy-from County ;Text30 }

    // Add the following line.
    { 90 ; ;Buy-from Country/Region Code;Code10;TableRelation=Country/Region }

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Mã hiện 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Delete the following lines.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");
    END;
    }
    // End of the lines.

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 95 ; ;Order Address Code ;Code10 ;TableRelation="Order Address".Code WHERE (Vendor No.=FIELD(Buy-from Vendor No.)) }
    { 97 ; ;Entry Point ;Code10 ;TableRelation="Entry/Exit Point" }
    { 98 ; ;Correction ;Boolean }
    { 99 ; ;Document Date ;Date }
    ...

    Thay thế mã 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Add the following line.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 95 ; ;Order Address Code ;Code10 ;TableRelation="Order Address".Code WHERE (Vendor No.=FIELD(Buy-from Vendor No.)) }
    { 97 ; ;Entry Point ;Code10 ;TableRelation="Entry/Exit Point" }
    { 98 ; ;Correction ;Boolean }
    { 99 ; ;Document Date ;Date }
    ...

  23. Thay đổi mã trong lĩnh vực trong bảng trở lại đầu trang nhận (6660) như sau:
    Hiện có mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Delete the following lines.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Bill-to Country/Region Code" <> xRec."Bill-to Country/Region Code") AND (xRec."Bill-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Bill-to City","Bill-to Post Code","Bill-to County");
    END;
    }
    // End of the lines.

    { 88 ; ;Sell-to Post Code ;Code20 ;TableRelation=IF (Sell-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Sell-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Sell-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Sell-to City","Sell-to Post Code","Sell-to County","Sell-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 1

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 86 ; ;Bill-to County ;Text30 }

    // Add the following line.
    { 87 ; ;Bill-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 88 ; ;Sell-to Post Code ;Code20 ;TableRelation=IF (Sell-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Sell-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Sell-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Sell-to City","Sell-to Post Code","Sell-to County","Sell-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Hiện có mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Sell-to County ;Text30 }

    // Delete the following lines.
    { 90 ; ;Sell-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Sell-to Country/Region Code" <> xRec."Sell-to Country/Region Code") AND (xRec."Sell-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Sell-to City","Sell-to Post Code","Sell-to County");
    END;
    }
    // End of the lines.

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Thay thế mã 2

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 89 ; ;Sell-to County ;Text30 }

    // Add the following line.
    { 90 ; ;Sell-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 91 ; ;Ship-to Post Code ;Code20 ;TableRelation=IF (Ship-to Country/Region Code=CONST()) "Post Code"
    ELSE IF (Ship-to Country/Region Code=FILTER(<>'')) "Post Code" WHERE (Country/Region Code=FIELD(Ship-to Country/Region Code));
    OnValidate=BEGIN
    PostCode.ValidatePostCode(
    "Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code",(CurrFieldNo <> 0) AND GUIALLOWED);
    ...

    Mã hiện 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Delete the following lines.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region;
    OnValidate=BEGIN
    IF ("Ship-to Country/Region Code" <> xRec."Ship-to Country/Region Code") AND (xRec."Ship-to Country/Region Code" <> '') THEN
    PostCode.ClearFields("Ship-to City","Ship-to Post Code","Ship-to County");
    END;
    }
    // End of the lines.

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 97 ; ;Exit Point ;Code10 ;TableRelation="Entry/Exit Point" }
    { 98 ; ;Correction ;Boolean }
    { 99 ; ;Document Date ;Date }
    { 100 ; ;External Document No.;Code35 }
    ...

    Thay thế mã 3

    ...                                                                END;

    ValidateTableRelation=No;
    TestTableRelation=No }
    { 92 ; ;Ship-to County ;Text30 }

    // Add the following line.
    { 93 ; ;Ship-to Country/Region Code;Code10 ;TableRelation=Country/Region }

    { 94 ; ;Bal. Account Type ;Option ;OptionString=G/L Account,Bank Account }
    { 97 ; ;Exit Point ;Code10 ;TableRelation="Entry/Exit Point" }
    { 98 ; ;Correction ;Boolean }
    { 99 ; ;Document Date ;Date }
    { 100 ; ;External Document No.;Code35 }
    ...

Điều kiện tiên quyết

Bạn phải có Microsoft Dynamics NAV 2013 cài đặt để áp dụng hotfix này.

Thông tin về việc loại bỏ

Bạn không thể xoá hotfix này.

Trạng thái

Microsoft đã xác nhận rằng đây là sự cố trong sản phẩm của Microsoft được liệt kê trong phần "Áp dụng cho".

Lưu ý Đây là một bài viết "XUẤT BẢN NHANH" được tạo trực tiếp từ trung tâm hỗ trợ của Microsoft. Thông tin này được cung cấp-trả lời cho các vấn đề mới xuất hiện. Vì nhanh chóng có sẵn, các tài liệu có thể bao gồm lỗi và có thể được sửa đổi bất kỳ lúc nào mà không cần thông báo. Xem Điều khoản sử dụng để xem xét khác.

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Khám phá các lợi ích của gói đăng ký, xem qua các khóa đào tạo, tìm hiểu cách bảo mật thiết bị của bạn và hơn thế nữa.

Cộng đồng giúp bạn đặt và trả lời các câu hỏi, cung cấp phản hồi và lắng nghe ý kiến từ các chuyên gia có kiến thức phong phú.

Thông tin này có hữu ích không?

Bạn hài lòng đến đâu với chất lượng dịch thuật?
Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×