Accedi con Microsoft
Accedi o crea un account.
Salve,
Seleziona un altro account.
Hai più account
Scegli l'account con cui vuoi accedere.

In questo articolo si applica a Microsoft Dynamics NAV per tutti i paesi e tutte le lingue.

Sintomi

Quando si immette un valore di Codice dell'indirizzo di spedizione in un ordine di vendita in Microsoft Dynamics NAV 2013, il Codice postale, città e Provincia valori non vengono trasferite dalla scheda Spedire a - indirizzo per il campo Spedire a-CAP , il campo Spedire a-città e il campo Spedire a-Provincia nell'ordine di vendita. Questo problema si verifica solo se il valore di Codice di paese di spedizione è già specificato nell'ordine di vendita e il valore è diverso dal valore di Codice del paese sul nuovo indirizzo di spedizione.

Risoluzione

Informazioni sull'hotfix

Un hotfix supportato è ora disponibile da Microsoft. Tuttavia, è destinato esclusivamente alla risoluzione del problema descritto in questo articolo. Applicarlo solo ai sistemi in cui si verificano questo problema specifico. Questo hotfix potrebbe essere sottoposto ad ulteriori test. Pertanto, se il problema non causa gravi difficoltà, consiglia di attendere il prossimo service pack di Microsoft Dynamics NAV 2013 o versione successiva di Microsoft Dynamics NAV contenente tale hotfix.

Nota: In casi particolari, le spese normalmente addebitate per le chiamate potrebbero essere annullate qualora un aggiornamento del supporto tecnico di Microsoft Dynamics e prodotti correlati di supporto determina che uno specifico aggiornamento risolverà il problema. I costi di supporto normale verranno applicati per eventuali ulteriori domande e problemi che non dovessero rientrare nello specifico aggiornamento in questione.


Informazioni sull'installazione

Microsoft fornisce esempi di programmazione a scopo puramente illustrativo, senza alcuna garanzia espressa o implicita. Ciò include, ma non limitato a, le garanzie implicite di commerciabilità o idoneità per uno scopo particolare. In questo articolo si presuppone che si abbia familiarità con il linguaggio di programmazione in questione e gli strumenti utilizzati per creare ed eseguire la procedura di debug. Tecnici del supporto Microsoft consentono di spiegare la funzionalità di una particolare procedura. Tuttavia, essi non modificherà questi esempi per fornire funzionalità aggiuntive o creare procedure atte a soddisfare specifiche esigenze.

Nota: Prima di installare questo hotfix, verificare che tutti gli utenti di client Microsoft Navision siano disconnessi dal sistema. Include gli utenti client Microsoft Navision Application Services (NAS). Dovrebbe essere il solo l'utente client connesso quando si implementa questo hotfix.

Per implementare questo hotfix, è necessario disporre di una licenza di sviluppatore.

È consigliabile che l'account utente nella finestra Login Windows o Login Database assegnare l'ID di ruolo "SUPER". Se l'account utente non può essere assegnato l'ID ruolo "SUPER", è necessario verificare che l'account utente disponga delle autorizzazioni seguenti:

  • Autorizzazione alla modifica dell'oggetto che si desidera modificare.

  • L'autorizzazione di esecuzione per l'oggetto System Object ID 5210 e object ID 9015 oggetto di sistema .



Nota: Non è necessario disporre dei diritti per gli archivi dati a meno che non è necessario eseguire il ripristino di dati.

Modifiche al codice

Nota: Sempre il codice di test consente di correggere in un ambiente controllato prima di applicare le correzioni per i computer di produzione.
Per risolvere questo problema, attenersi alla seguente procedura:

  1. Modificare il codice nei campi nella tabella ubicazione (14) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                     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. Modificare il codice nei campi della tabella clienti (18) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi nella tabella fornitori (23) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi della tabella testata vendita (36) come segue:
    Codice esistente 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;
    ...

    Codice sostitutivo 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;
    ...

    Codice esistente 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;
    ...

    Codice di sostituzione 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 il codice esistente

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

    Codice di sostituzione 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. Modificare il codice nei campi nella tabella testata di acquisto (38) come segue:
    Codice esistente 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);
    ...

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

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

    Codice di sostituzione 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 il codice esistente

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

    Codice di sostituzione 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. Modificare il codice nei campi nella tabella informazioni società (79) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                     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. Modificare il codice nei campi della tabella risorsa (156) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi della tabella del processo (167) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                     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. Modificare il codice nei campi della tabella all'indirizzo di spedizione (222) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                  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. Modificare il codice nella funzione ClearFields nella tabella codice postale (225) come segue:
    Codice esistente

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

    Codice di sostituzione

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

    BEGIN
    END.
    }
    }
    ...

  11. Modificare il codice nei campi della tabella conto corrente bancario (270) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                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. Modificare il codice nei campi della tabella Testata sollecito (295) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                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. Modificare il codice nei campi della tabella Testata nota addebito interessi (302) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                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. Modificare il codice nei campi della tabella contatto (5050) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi nella tabella Indirizzi Alt (5051) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                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. Modificare il codice nei campi della tabella dipendenti (5200) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi nella tabella indirizzi alternativi (5201) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi della tabella (5209) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...      { 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. Modificare il codice nei campi della tabella Centro di responsabilità (5714) come segue:
    Codice esistente

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

    Codice di sostituzione

    ...                                                                  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. Modificare il codice nei campi della tabella Testata Trasferimenti (5740) come segue:
    Codice esistente 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
    ...

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

    Codice esistente 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",
    ...

    Codice di sostituzione 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. Modificare il codice nei campi della tabella Testata assistenza (5900) come segue:
    Codice esistente 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;
    ...

    Codice sostitutivo 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;
    ...

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

    Codice di sostituzione 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 il codice esistente

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

    Codice di sostituzione 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. Modificare il codice nei campi della tabella Testata Spediz (6650) come segue:
    Codice esistente 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);
    ...

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

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

    Codice di sostituzione 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 il codice esistente

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

    Codice di sostituzione 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. Modificare il codice nei campi della tabella di restituire Testata carico (6660) come segue:
    Codice esistente 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);
    ...

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

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

    Codice di sostituzione 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 il codice esistente

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

    Codice di sostituzione 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 }
    ...

Prerequisiti

È necessario disporre di Microsoft Dynamics NAV 2013 per applicare questo hotfix.

Informazioni sulla rimozione

Non è possibile rimuovere questo hotfix.

Stato

Microsoft ha confermato che questo è un problema dei prodotti Microsoft elencati nella sezione "Si applica a".

Nota: Si tratta di un articolo a "Pubblicazione Veloce" creato direttamente all'interno dell'organizzazione di supporto Microsoft. Le informazioni contenute nel presente documento sono fornite così come sono in risposta a problemi urgenti. Per la velocità in rendendo disponibili, i materiali possono includere errori tipografici e possono essere modificati in qualsiasi momento senza preavviso. Per altre considerazioni, vedere Condizioni di utilizzo .

Serve aiuto?

Vuoi altre opzioni?

Esplorare i vantaggi dell'abbonamento e i corsi di formazione, scoprire come proteggere il dispositivo e molto altro ancora.

Le community aiutano a porre e a rispondere alle domande, a fornire feedback e ad ascoltare gli esperti con approfondite conoscenze.

Queste informazioni sono risultate utili?

Come valuti la qualità della lingua?
Cosa ha influito sulla tua esperienza?
Premendo Inviare, il tuo feedback verrà usato per migliorare i prodotti e i servizi Microsoft. L'amministratore IT potrà raccogliere questi dati. Informativa sulla privacy.

Grazie per il feedback!

×