นำไปใช้กับ
Dynamics NAV 2013

บทความนี้นำไปใช้กับ Microsoft Dynamics NAV สำหรับประเทศทั้งหมดและตำแหน่งที่ตั้งภาษาทั้งหมด

อาการ

เมื่อคุณป้อนค่ารหัสจัดส่งไปที่อยู่บน ใบสั่งขายใน 2013 NAV Dynamics ของ Microsoftรหัสไปรษณีย์เมืองและเขตค่าจะไม่ถ่ายโอนจากบัตรจัดส่งที่ที่อยู่ฟิลด์จัดส่งที่รหัสไปรษณีย์ฟิลด์จัดส่งที่เมืองและฟิลด์จัดส่งที่เขตในใบสั่งขาย ปัญหานี้เกิดขึ้นถ้ามีระบุค่าจัดส่งที่รหัสประเทศ/ภูมิภาครหัสบนใบสั่งขายแล้ว และค่าแตกต่างจากค่ารหัสประเทศ/ภูมิภาคในที่อยู่การจัดส่งไปใหม่เท่านั้น

การแก้ปัญหา

ข้อมูลโปรแกรมแก้ไขด่วน

โปรแกรมแก้ไขด่วนจะพร้อมใช้งานได้ในขณะนี้จาก Microsoft อย่างไรก็ตาม มีเป้าหมายเพียงเพื่อการแก้ไขปัญหาที่อธิบายไว้ในบทความนี้ นำวิธีนี้ไปใช้กับระบบที่ประสบกับปัญหาที่เฉพาะเจาะจงเท่านั้น โปรแกรมแก้ไขด่วนนี้อาจได้รับการทดสอบเพิ่มเติม ดังนั้น ถ้าคุณจะไม่รุนแรงได้รับผลกระทบจากปัญหานี้ เราขอแนะนำให้ คุณรอ service pack ถัดไปของ 2013 NAV Dynamics ของ Microsoft หรือ Microsoft Dynamics NAV เวอร์ชันถัดไปที่ประกอบด้วยโปรแกรมแก้ไขด่วนนี้หมายเหตุ ในกรณีพิเศษ ค่าธรรมเนียมค่าใช้จ่ายสำหรับการสนับสนุนโทรศัพท์อาจถูกยกเลิกถ้า Technical Support Professional สำหรับ Microsoft Dynamics และผลิตภัณฑ์ที่เกี่ยวข้องตรวจพบว่าการปรับปรุงเฉพาะจะแก้ปัญหาของคุณ ค่าใช้จ่ายในการสนับสนุนตามปกติจะใช้กับคำถามและปัญหาในการสนับสนุนเพิ่มเติมซึ่งไม่สอดคล้องตามเกณฑ์สำหรับโปรแกรมปรับปรุงเฉพาะที่เกี่ยวข้อง

ข้อมูลการติดตั้ง

Microsoft ให้ตัวอย่างการเขียนโปรแกรมไว้สำหรับประกอบการอธิบายเท่านั้นโดยไม่มีการรับประกันไม่ว่าจะโดยชัดแจ้งหรือโดยนัย กรณีนี้รวมถึงแต่มิได้จำกัดเพียงแค่การการรับประกันโดยนัยเกี่ยวกับการจำหน่ายเป็นสินค้าหรือความเหมาะสำหรับวัตถุประสงค์เฉพาะ บทความนี้ตั้งสมมติฐานว่าคุณมีความคุ้นเคยกับภาษาการเขียนโปรแกรมที่กำลังแสดงและคุ้นเคยกับเครื่องมือที่ใช้ใน การสร้างและแก้จุดบกพร่องของขั้นตอนการดำเนินการ วิศวกรฝ่ายสนับสนุนของ Microsoft สามารถช่วยอธิบายเกี่ยวกับหน้าที่การใช้งานของกระบวนการเฉพาะ อย่างไรก็ตาม จะไม่แก้ไขตัวอย่างเหล่านี้เพื่อเพิ่มฟังก์ชัน หรือสร้างขั้นตอนเพื่อตอบสนองความต้องการเฉพาะของคุณหมายเหตุ ก่อนที่คุณติดตั้งโปรแกรมแก้ไขด่วนนี้ โปรดตรวจสอบว่า ผู้ใช้ไคลเอนต์ของ Microsoft Navision ทั้งหมดเข้าสู่ระบบออกจากระบบ ข้อมูลนี้รวมถึงผู้ใช้ไคลเอ็นต์บริการแอพลิเคชัน Navision Microsoft (NAS) คุณควรไคลเอ็นต์เฉพาะผู้ใช้ที่เข้าสู่ระบบเมื่อคุณใช้โปรแกรมแก้ไขด่วนนี้เมื่อต้องการใช้โปรแกรมแก้ไขด่วนนี้ คุณต้องมีสิทธิ์การใช้งานสำหรับนักพัฒนาเราขอแนะนำว่า บัญชีผู้ใช้ ในหน้าต่างล็อกอินของ Windows หรือ ในหน้าต่างล็อกอินฐานข้อมูลสามารถกำหนดรหัสการเข้าถึงข้อมูล "ขั้นสูง" ถ้าบัญชีผู้ใช้ไม่สามารถกำหนดรหัสการบทบาท "SUPER" คุณต้องตรวจสอบว่า บัญชีผู้ใช้มีสิทธิ์ต่อไปนี้:

  • สิทธิ์การปรับเปลี่ยนสำหรับออปเจ็กต์ที่คุณจะสามารถเปลี่ยน

  • สิทธิ์ Execute สำหรับออบเจ็กต์5210 รหัสวัตถุของระบบและ สำหรับออบเจ็กต์ระบบ 9015 ID ของวัตถุ

หมายเหตุ คุณไม่จำเป็นต้องมีสิทธิ์ไปยังร้านค้าข้อมูลยกเว้นว่าคุณจำเป็นต้องซ่อมแซมข้อมูล

การเปลี่ยนแปลงรหัส

หมายเหตุ เสมอทดสอบรหัสแก้ไขในสภาพแวดล้อมการควบคุมก่อนที่คุณนำไปใช้แก้ไขปัญหากับคอมพิวเตอร์ของคุณผลิตเมื่อต้องการแก้ไขปัญหานี้ ให้ทำตามขั้นตอนเหล่านี้:

  1. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางตั้ง (14) ดังนี้:รหัสที่มีอยู่

    ...                                                     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);...

    รหัสแทน

    ...                                                     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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางลูกค้า (18) ดังนี้:รหัสที่มีอยู่

    ...      { 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),...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางผู้จัดจำหน่าย (23) เป็นดังนี้:รหัสที่มีอยู่

    ...      { 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] }...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการขาย (36) เป็นดังนี้:รหัสที่อยู่ 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;...

    รหัสแทนที่ 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;...

    รหัสที่มีอยู่ 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;...

    รหัสแทนที่ 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;...

    รหัสที่มีอยู่ 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;...

    รหัสแทนที่ 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการซื้อ (38) เป็นดังนี้:รหัสที่อยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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");...

    รหัสแทนที่ 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางรายละเอียดบริษัท (79) ดังนี้:รหัสที่มีอยู่

    ...                                                     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         }...

    รหัสแทน

    ...                                                     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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางทรัพยากร (156) เป็นดังนี้:รหัสที่มีอยู่

    ...      { 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),...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางงาน (167) เป็นดังนี้:รหัสที่มีอยู่

    ...                                                     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...

    รหัสแทน

    ...                                                     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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางอยู่ที่จัดส่ง (222) ดังนี้:รหัสที่มีอยู่

    ...                                                                  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"...

    รหัสแทน

    ...                                                                  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. เปลี่ยนแปลงรหัสนี้ในฟังก์ชันClearFieldsในตารางรหัสไปรษณีย์ (225) เป็นดังนี้:รหัสที่มีอยู่

    ...          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.    }  }...

    รหัสแทน

    ...          CountryCode := PostCodeRec."Country/Region Code";          County := PostCodeRec.County;        END;      END;      BEGIN      END.    }  }...
  11. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางบัญชีธนาคาร (270 องศา) เป็นดังนี้:รหัสที่มีอยู่

    ...                                                                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.)));...

    รหัสแทน

    ...                                                                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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อจดหมายเตือนชำระเงิน (295) เป็นดังนี้:รหัสที่มีอยู่

    ...                                                                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...

    รหัสแทน

    ...                                                                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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการบันทึกค่าธรรมเนียมทางการเงิน (302) เป็นดังนี้:รหัสที่มีอยู่

    ...                                                                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...

    รหัสแทน

    ...                                                                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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางผู้ติดต่อ (5050) เป็นดังนี้:รหัสที่มีอยู่

    ...      { 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 }...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางที่อยู่อื่นของผู้ติดต่อ (5051) ดังนี้:รหัสที่มีอยู่

    ...                                                                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         }...

    รหัสแทน

    ...                                                                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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางพนักงาน (5200) เป็นดังนี้:รหัสที่มีอยู่

    ...      { 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...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางที่อยู่อื่น (5201) ดังนี้:รหัสที่มีอยู่

    ...      { 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 }    }...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางสหภาพ (5209) เป็นดังนี้:รหัสที่มีอยู่

    ...      { 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 }    }...

    รหัสแทน

    ...      { 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางศูนย์ความรับผิดชอบ (5714) เป็นดังนี้:รหัสที่มีอยู่

    ...                                                                  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));...

    รหัสแทน

    ...                                                                  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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการโอนย้าย (5740) เป็นดังนี้:รหัสที่อยู่ 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...

    รหัสแทนที่ 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...

    รหัสที่มีอยู่ 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",...

    รหัสแทนที่ 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางส่วนหัวงานบริการ (5900) เป็นดังนี้:รหัสที่อยู่ 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;...

    รหัสแทนที่ 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;...

    รหัสที่มีอยู่ 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...

    รหัสแทนที่ 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...

    รหัสที่มีอยู่ 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;...

    รหัสแทนที่ 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการจัดส่งที่ส่งคืน (6650) เป็นดังนี้:รหัสที่อยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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           }...

    รหัสแทนที่ 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. เปลี่ยนแปลงรหัสนี้ในฟิลด์ในตารางหัวข้อการรับสินค้าส่งคืน (6660) เป็นดังนี้:รหัสที่อยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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);...

    รหัสแทนที่ 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);...

    รหัสที่มีอยู่ 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        }...

    รหัสแทนที่ 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        }...

ข้อกำหนดเบื้องต้น

คุณต้องมี Microsoft Dynamics NAV 2013 ติดตั้งอยู่เพื่อใช้โปรแกรมแก้ไขด่วนนี้

ข้อมูลการเอาออก

คุณไม่สามารถเอาโปรแกรมแก้ไขด่วนนี้

สถานะ

Microsoft ยืนยันว่านี่เป็นปัญหาในผลิตภัณฑ์ของ Microsoft ซึ่งแสดงไว้ในส่วน "นำไปใช้กับ"

หมายเหตุ นี่คือบทความ "เผยแพร่เร็ว" ที่สร้างขึ้นโดยตรงจากภายใน Microsoft สนับสนุนองค์กร ข้อมูลในที่นี้ให้ไว้ตามสภาพ เพื่อตอบสนองกับปัญหาที่เกิดขึ้นใหม่ เป็นผลมาจากความเร็วในการทำให้พร้อมใช้งาน วัสดุอาจรวมถึงข้อผิดพลาดการพิมพ์ผิด และอาจแก้ไขได้ตลอดเวลาโดยไม่ต้องแจ้งให้ทราบ ดูข้อตกลงการใช้สำหรับข้อควรพิจารณาอื่น ๆ

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ