Se connecter avec Microsoft
S'identifier ou créer un compte.
Bonjour,
Sélectionnez un autre compte.
Vous avez plusieurs comptes
Choisissez le compte avec lequel vous voulez vous connecter.

Cet article s’applique à Microsoft Dynamics NAV pour la région de l’espagnol (es).

Symptômes

Lorsque vous sélectionnez le factures automatiques d’afficher / note Autocr. option pour le rapport du Registre de factures de vente dans la version espagnole de Microsoft Dynamics NAV 2013, le rapport affiche des valeurs incorrectes de N° de série et le Total de factures automatiques et AutoCreditMemos.

Résolution

Informations sur le correctif

Un correctif pris en charge est désormais disponible auprès de Microsoft. Toutefois, il est conçu uniquement pour corriger le problème décrit dans cet article. Il s’applique uniquement aux systèmes rencontrant ce problème spécifique. Ce correctif peut subir des tests supplémentaires. Par conséquent, si vous n’êtes pas sérieusement concerné par ce problème, nous vous recommandons d’attendre le prochain service pack Microsoft Dynamics NAV 2013 ou la prochaine version de Microsoft Dynamics NAV qui comprendra ce correctif.

Remarque Dans certains cas, les frais généralement encourus pour la prise en charge des appels peuvent être annulés si un technicien du Support technique pour Microsoft Dynamics et les produits associés détermine qu’une mise à jour spécifique peut résoudre votre problème. Les coûts habituels du support technique s’appliqueront aux autres questions et problèmes qui ne relèvent pas de la mise à jour spécifique en question.

Informations sur l’installation

Microsoft fournit des exemples de programmation à titre d'illustration uniquement, sans garantie expresse ou implicite. Ceci inclut, mais n'est pas limité à, les garanties implicites de qualité marchande ou d'adéquation à un usage particulier. Cet article suppose que vous êtes familiarisé avec le langage de programmation présenté et les outils utilisés pour créer et déboguer des procédures. Les ingénieurs du support technique Microsoft peuvent aider à expliquer la fonctionnalité d'une procédure particulière. Toutefois, ils ne modifieront pas ces exemples pour fournir des fonctionnalités supplémentaires ou créer des procédures répondant à vos besoins spécifiques.

Remarque Avant d’installer ce correctif, vérifiez que tous les utilisateurs du client Microsoft Dynamics NAV sont déconnectés sur le système. Ceci comprend les services de Microsoft Dynamics NAV Application Server (NAS). Vous devez être le seul utilisateur client connecté lors de l’implémentation de ce correctif.

Pour appliquer ce correctif, vous devez posséder une licence développeur.

Il est recommandé que le compte d’utilisateur dans la fenêtre Logins Windows ou dans la fenêtre Logins base de données est affecté à l’ID de rôle « SUPER ». Si le compte d’utilisateur ne peut pas être affecté à l’ID de rôle « SUPER », vous devez vérifier que le compte d’utilisateur dispose des autorisations suivantes :

  • L’autorisation de modification pour l’objet que vous allez modifier.

  • L’autorisation d’exécution pour l’objet ID objet système 5210 et pour l' ID objet système 9015

    objet.

Remarque Vous n’êtes pas obligé de disposer des droits pour les banques de données excepté si vous devez réparer des données.

Modifications du code

Remarque Toujours tester le code des correctifs dans un environnement contrôlé, avant d'appliquer les correctifs à vos ordinateurs de production.

Pour résoudre ce problème, procédez comme suit :

  1. Modifiez le code dans les propriétés du rapport de Registre de factures de ventes (10704) comme suit :
    Code existant

    ...SourceExpr=VATBuffer2.Base + VATBuffer2.Amount }

    { 1170000028;3;Column;Integer2__Number ;
    SourceExpr=Number }

    // Delete the following lines.
    { 113 ;3 ;Column ;TotalCaption_Control113;
    SourceExpr=TotalCaption_Control113Lbl }
    // End of the deleted lines.

    }
    REQUESTPAGE
    {
    PROPERTIES
    {
    ...

    Code de remplacement

    ...SourceExpr=VATBuffer2.Base + VATBuffer2.Amount }

    { 1170000028;3;Column;Integer2__Number ;
    SourceExpr=Number }

    }
    REQUESTPAGE
    {
    PROPERTIES
    {
    ...
  2. Modifiez le code dans les Variables globales dans le rapport du Registre de factures de ventes (10704) comme suit :
    Code existant 1

    ...ContinuedCaption_Control129Lbl@6504 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
    No_SerieCaptionLbl@1947 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
    TotalCaption_Control99Lbl@8494 : TextConst 'ENU=Total;ESP=Total';
    No_SerieCaption_Control100Lbl@2401 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
    ContinuedCaption_Control117Lbl@4855 : TextConst 'ENU=Continued;ESP=Continuaci¢n';

    // Delete the following line.
    TotalCaption_Control113Lbl@4508 : TextConst 'ENU=Total;ESP=Total';
    // End of the deleted line.

    BEGIN
    {
    <changelog>
    <add id="ES0001" dev="VGARCA" date="2004-08-27" area="AUTOINV" request="ES-START-40"
    ...

    Code de substitution 1

    ...ContinuedCaption_Control129Lbl@6504 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
    No_SerieCaptionLbl@1947 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
    TotalCaption_Control99Lbl@8494 : TextConst 'ENU=Total;ESP=Total';
    No_SerieCaption_Control100Lbl@2401 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
    ContinuedCaption_Control117Lbl@4855 : TextConst 'ENU=Continued;ESP=Continuaci¢n';

    BEGIN
    {
    <changelog>
    <add id="ES0001" dev="VGARCA" date="2004-08-27" area="AUTOINV" request="ES-START-40"
    ...

    Code existant 2

    ...<DataField>VATBuffer2_Base_VATBuffer2_Amount_Control116Format</DataField>
    </Field>
    <Field Name="Integer2__Number">
    <DataField>Integer2__Number</DataField>
    </Field>

    // Delete the following lines.
    <Field Name="TotalCaption_Control113">
    <DataField>TotalCaption_Control113</DataField>
    </Field>
    // End of the deleted lines.

    </Fields>
    <rd:DataSetInfo>
    <rd:DataSetName>DataSet</rd:DataSetName>
    <rd:SchemaPath>Report.xsd</rd:SchemaPath>
    <rd:TableName>Result</rd:TableName>
    ...

    Code de substitution 2

    ...<DataField>VATBuffer2_Base_VATBuffer2_Amount_Control116Format</DataField>
    </Field>
    <Field Name="Integer2__Number">
    <DataField>Integer2__Number</DataField>
    </Field>
    </Fields>
    <rd:DataSetInfo>
    <rd:DataSetName>DataSet</rd:DataSetName>
    <rd:SchemaPath>Report.xsd</rd:SchemaPath>
    <rd:TableName>Result</rd:TableName>
    ...

    Code existant 3

    ...<TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <FontWeight>Bold</FontWeight>

    // Delete the following line.
    <Format>=Last(Fields!VATBuffer2_BaseFormat.Value)</Format>
    // End of the deleted line.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    Code de substitution 3

    ...<TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <FontWeight>Bold</FontWeight>

    // Add the following line.
    <Format>N</Format>
    // End of the added line.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    4 le code existant

    ...<KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!TotalCaption_Control113.Value</Value>
    // End of the deleted line.

    <Style>
    <FontSize>7pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    ...

    Code de remplacement 4

    ...<KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!TotalCaption.Value</Value>
    // End of the added line.

    <Style>
    <FontSize>7pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    ...

    Code existant 5

    ...<TextRuns>
    <TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base_Control86.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>

    // Delete the following line.
    <Format>=Fields!VATBuffer2_Base_Control86Format.Value</Format>
    // End of the deleted line.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    Code de remplacement 5

    ...<TextRuns>
    <TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base_Control86.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>

    // Add the following lines.
    <FontWeight>Bold</FontWeight>
    <Format>N</Format>
    // End of the added lines.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    6 le code existant

    ...<TextRuns>
    <TextRun>
    <Value>=Code.BlankZero(SUM(Fields!VATBuffer2_Amount_Control83.Value))</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <Format>N</Format>
    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    ...

    Code de remplacement 6

    ...<TextRuns>
    <TextRun>
    <Value>=Code.BlankZero(SUM(Fields!VATBuffer2_Amount_Control83.Value))</Value>
    <Style>
    <FontSize>7pt</FontSize>

    // Add the following line.
    <FontWeight>Bold</FontWeight>
    // End of the added line.

    <Format>N</Format>
    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    ...

    Code existant 7

    ...<TextRuns>
    <TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base_VATBuffer2_Amount_Control82.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <Format>N</Format>
    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    ...

    Code de remplacement 7

    ...<TextRuns>
    <TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base_VATBuffer2_Amount_Control82.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>

    // Add the following line.
    <FontWeight>Bold</FontWeight>
    // End of the added line.

    <Format>N</Format>
    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    ...

    Code existant 8

    ...<TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <FontWeight>Bold</FontWeight>

    // Delete the following line.
    <Format>=Fields!Base_Base2Format.Value</Format>
    // End of the deleted line.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    Code de remplacement 8

    ...<TextRun>
    <Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
    <Style>
    <FontSize>7pt</FontSize>
    <FontWeight>Bold</FontWeight>

    // Add the following line.
    <Format>N</Format>
    // End of the added line.

    </Style>
    </TextRun>
    </TextRuns>
    </Paragraph>
    </Paragraphs>
    ...

    Code existant 9

    ...<KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Delete the following line.
    <Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
    // End of the deleted line.

    </Visibility>
    <KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    ...

    Code de remplacement 9

    ...<KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Add the following line.
    <Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
    // End of the added line.

    </Visibility>
    <KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    ...

    Code existant 10

    ...<KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Delete the following line.
    <Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
    // End of the deleted line.

    </Visibility>
    <KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    ...

    Code de remplacement 10

    ...<KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Add the following line.
    <Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
    // End of the added line.

    </Visibility>
    <KeepWithGroup>After</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    ...

    Code existant 11

    ...<KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Delete the following line.
    <Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
    // End of the deleted line.

    </Visibility>
    <KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    ...

    Code de remplacement 11

    ...<KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Add the following line.
    <Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
    // End of the added line.

    </Visibility>
    <KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    ...

    Code existant 12

    ...<KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Delete the following line.
    <Hidden>=iif(Fields!AutoDocNo.Value="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>
    // End of the deleted line.

    </Visibility>
    <KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    ...

    Code de remplacement 12

    ...<KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <Visibility>

    // Add the following line.
    <Hidden>=iif(LAST(Fields!AutoDocNo.Value)="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>
    // End of the added line.

    </Visibility>
    <KeepWithGroup>Before</KeepWithGroup>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    ...


Conditions préalables

Vous devez disposer de la version espagnole de Microsoft Dynamics NAV 2013 est installé pour appliquer ce correctif.

Informations sur la suppression

Vous ne pouvez pas supprimer ce correctif.

État

Microsoft a confirmé l'existence de ce problème dans les produits Microsoft répertoriés dans la section « S'applique à ».

Remarque Il s’agit d’un article de « Dernière minute » créé directement à partir de l’organisation de support technique de Microsoft. Les informations contenues dans ce document sont fournies en l'état, en réponse à des problèmes nouveaux. En raison de la rapidité de leur mise à disposition, les documents peuvent contenir des erreurs typographiques et peuvent être révisés à tout moment sans préavis. Consultez les Conditions d’utilisationpour d’autres considérations.

Besoin d’aide ?

Vous voulez plus d’options ?

Explorez les avantages de l’abonnement, parcourez les cours de formation, découvrez comment sécuriser votre appareil, etc.

Les communautés vous permettent de poser des questions et d'y répondre, de donner vos commentaires et de bénéficier de l'avis d'experts aux connaissances approfondies.

Ces informations vous ont-elles été utiles ?

Dans quelle mesure êtes-vous satisfait(e) de la qualité de la langue ?
Qu’est-ce qui a affecté votre expérience ?
En cliquant sur Envoyer, vos commentaires seront utilisés pour améliorer les produits et services de Microsoft. Votre administrateur informatique sera en mesure de collecter ces données. Déclaration de confidentialité.

Nous vous remercions de vos commentaires.

×