Pazīmes
Kad ieraksts ir negatīva (korekcija), sistēma automātiski uzņemas tā ir eksporta. Tomēr CBS vadlīnijas paziņot ir negatīva importa. Tādēļ ir jābūt funkcionalitāti norāda zīme (pozitīva vai negatīva) ieraksta un apzīmējumu nevajadzētu ietekmēt valsts importēšanas vai eksportēšanas. Šī problēma rodas ar šādiem produktiem:
-
Microsoft Dynamics NAV 2009 R2 holandiešu versija
-
Nīderlandes Microsoft Dynamics NAV 2009. gada 1. servisa pakotnes versiju
Risinājums
Informācija par labojumfailu
Pašlaik korporācija Microsoft piedāvā atbalstītu labojumfailu. Tomēr tas ir paredzēts tikai šajā rakstā aprakstītās problēmas novēršanai. Izmantojiet to tikai tām sistēmām, kurām ir radusies tieši šī problēma. Iespējams, tiks veikta šī labojumfaila papildu testēšana. Tādēļ, ja jums ir šī problēma nerada nopietnus traucējumus, ieteicams nogaidīt, līdz tiks izlaista nākamā servisa pakotne Microsoft Dynamics NAV 2009 vai nākamo Microsoft Dynamics NAV versiju, kurā ir iekļauts šis labojumfails.
Piezīme. Īpašos gadījumos standarta izmaksas par atbalsta zvaniem nav jāsedz, ja tehniskā atbalsta speciālists Microsoft Dynamics un saistītiem produktiem nosaka, ka šo problēmu novērsīs noteikts atjauninājums. Parasti atbalsta izmaksas tiek piemērotas jautājumiem par papildu atbalstu un problēmām, kas neskar specifisko atjauninājumu apspriešanu.
Informācija par instalēšanu
Microsoft piedāvā programmēšanas piemērus tikai uzskatāmībai, nesniedzot nekādas tiešas vai netiešas garantijas. Tas ietver, bet neaprobežojas ar netiešām garantijām par piemērotību pārdošanai vai atbilstību noteiktam mērķim. Šajā rakstā tiek pieņemts, ka pārzināt programmēšanas valodu, kas tiek aprakstīta, un rīkus, kas tiek izmantoti, lai izveidotu un atkļūdotu procedūras. Microsoft atbalsta inženieri var palīdzēt izskaidrot kādas noteiktas procedūras funkcionalitāti. Taču viņi nemainīs šos piemērus, lai sniegtu skaidrākus, un neveidos jaunas procedūras, kas atbilstu īpašām prasībām.
Piezīme. Pirms šī labojumfaila instalēšanas pārliecinieties, vai, ka visi Microsoft Dynamics NAV klienta lietotāji ir atteikušies sistēmu. Tas ietver Microsoft Dynamics NAV lietojumprogrammu serveris (NAS) pakalpojumus. Jums ir jābūt tikai klienta lietotājam, kurš ir pieteicies datorā, kad izmantojat šo labojumfailu.
Lai ieviestu šo labojumfailu, datorā jābūt instalētai izstrādātāja licenci.
Ieteicams, ka lietotāja konts tiek atvērts logs Windows lietotājvārdi vai logā datu bāzes lietotājvārdi piešķirt "SUPER" lomas ID. Ja lietotāja kontam nevar piešķirt "SUPER" lomas ID, ir jāpārbauda lietotāja konts ir šādas atļaujas:
-
Objektu, kad tiks mainīts modificēt atļaujas.
-
Izpildes atļauja objekta objekta ID 5210 sistēmas un sistēmas objekta ID 9015
objektu.
Piezīme. Jums nav tiesības datu krātuvju vien veikt datu labošana.
Koda izmaiņas
Piezīme. Vienmēr pārbaudes kods novērš kontrolētā vidē pirms lietojat datoru ražošanas labojumus.
Lai novērstu šo problēmu, rīkojieties šādi:
-
Nomainiet šo kodu izveidotu Intrastat deklarācijas diska ziņojumā (11413) šādi:
Kods 1...SpecialUnit@1000002 : Decimal;
RoundedWeight@1000001 : Integer;
ItemDirection@1000004 : Integer;
BEGIN
TESTFIELD("Item No.");
TESTFIELD("Tariff No.");
...Aizstāšanas kods = 1
...SpecialUnit@1000002 : Decimal;
RoundedWeight@1000001 : Integer;
ItemDirection@1000004 : Integer;
// Add the following line
IsCorrection@1000005 : Boolean;
// End of the added line.
BEGIN
TESTFIELD("Item No.");
TESTFIELD("Tariff No.");
...Kods 2.
...ZeroShipment := FALSE;
END;
END;
Write(FORMAT(Date, 0, '<Year4><Month,2>'));
Write(FORMAT(ItemDirection));
...Aizstāšanas kods 2.
...
ZeroShipment := FALSE;
END;
END;
// Add the following line.
IsCorrection := CheckCorrection("Source Entry No.",ItemDirection);
// End of the added line.
Write(FORMAT(Date, 0, '<Year4><Month,2>'));
Write(FORMAT(ItemDirection));
...Kods 3
...Write(PADSTR2("Transaction Type", 1, '', '>'));
Write(PADSTR2(DELCHR("Tariff No."), 8, '0', '<'));
Write('00');
Write(Sign(RoundedWeight)); // DELETED
Write(PADSTR2(FORMAT(RoundedWeight, 0, '<Integer>'), 10, ' ', '<'));
...Aizstāšanas kodu 3.
...Write(PADSTR2("Transaction Type", 1, '', '>'));
Write(PADSTR2(DELCHR("Tariff No."), 8, '0', '<'));
Write('00');
// Add the following line.
Write(Sign(RoundedWeight,IsCorrection));
// End of the added line.
Write(PADSTR2(FORMAT(RoundedWeight, 0, '<Integer>'), 10, ' ', '<'));
...Kods 4
...Write(PADSTR2(FORMAT(RoundedWeight, 0, '<Integer>'), 10, ' ', '<'));
// Delete the following line.
Write(Sign(SpecialUnit));
// End of the deleted line.
Write(PADSTR2(FORMAT(SpecialUnit, 0, '<Integer>'), 10, ' ', '<'));
...Aizstāšanas kodu 4
...Write(PADSTR2(FORMAT(RoundedWeight, 0, '<Integer>'), 10, ' ', '<'));
// Add the following line.
Write(Sign(SpecialUnit,IsCorrection));
// End of the added line.
Write(PADSTR2(FORMAT(SpecialUnit, 0, '<Integer>'), 10, ' ', '<'));
...5 kods
...
Write(PADSTR2(FORMAT(SpecialUnit, 0, '<Integer>'), 10, ' ', '<'));
// Delete the following line.
Write(Sign(Amount));
// End of the deleted line.
Write(PADSTR2(FORMAT(Amount, 0, '<Integer>'), 10, ' ', '<'));
...Aizstāšanas kodu 5
...
Write(PADSTR2(FORMAT(SpecialUnit, 0, '<Integer>'), 10, ' ', '<'));
// Add the following line.
Write(Sign(Amount,IsCorrection));
// End of the added line.
Write(PADSTR2(FORMAT(Amount, 0, '<Integer>'), 10, ' ', '<'));
...Kods 6
...Write(PADSTR2(FORMAT(Amount, 0, '<Integer>'), 10, ' ', '<'));
// Delete the following line.
Write('+');
// End of the deleted line.
Write(PADSTR2('0', 10, ' ', '<'));
Write(PADSTR2("Document No.", 10, ' ', '<'));
...Aizstāšanas kodu 6
...Write(PADSTR2(FORMAT(Amount, 0, '<Integer>'), 10, ' ', '<'));
// Add the following lines.
IF IsCorrection THEN
Write('-')
ELSE // ADDED
Write('+');
// End of the added lines.
Write(PADSTR2('0', 10, ' ', '<'));
Write(PADSTR2("Document No.", 10, ' ', '<'));
...Kods 7
...Write(PADSTR2('0', 10, ' ', '<'));
Write(PADSTR2("Document No.", 10, ' ', '<'));
// Delete the following line.
Write(PADSTR2('', 4, ' ', '>'));
// End of the deleted line.
Write('000');
Write(PADSTR2("Intrastat Jnl. Batch"."Currency Identifier", 1, ' ', '>'));
Write(PADSTR2('', 6, ' ', '>'));
...Aizstāšanas kodu 7
...Write(PADSTR2('0', 10, ' ', '<'));
Write(PADSTR2("Document No.", 10, ' ', '<'));
// Add the following lines.
Write(PADSTR2('', 3, ' ', '>'));
IF IsCorrection THEN
Write('C')
ELSE
Write(' ');
// End of the added lines.
Write('000');
Write(PADSTR2("Intrastat Jnl. Batch"."Currency Identifier", 1, ' ', '>'));
Write(PADSTR2('', 6, ' ', '>'));
... -
Nomainiet šo kodu zīmes funkciju izveidot Intrastat deklarācijas diska ziņojumā (11413) šādi:
Kods 1...ExportFile.SEEK(ExportFile.POS - 1);
END;
// Delete the following line.
LOCAL PROCEDURE Sign@1000006(Number@1000000 : Decimal) : Text[1];
// End of the deleted line.
BEGIN
CASE Number < 0 OF
TRUE:
...Aizstāšanas kods = 1
... ExportFile.SEEK(ExportFile.POS - 1);
END;
// Add the following line.
LOCAL PROCEDURE Sign@1000006(Number@1000000 : Decimal;IsCorrection@1000001 : Boolean) : Text[1];
// End of the added line.
BEGIN
CASE Number < 0 OF
TRUE:
...Kods 2.
...BEGIN
CASE Number < 0 OF
TRUE:
// Delete the following line.
EXIT('-');
// End of the deleted line.
FALSE:
...Aizstāšanas kods 2.
...BEGIN
CASE Number < 0 OF
TRUE:
// Add the following lines.
IF NOT IsCorrection THEN
EXIT('-')
ELSE
EXIT('+');
// End of the added lines.
FALSE:
...Kods 3
...FALSE:
// Delete the following line.
EXIT('+');
// End of the deleted line.
END;
END;
...Aizstāšanas kodu 3.
...FALSE:
// Add the following lines.
IF NOT IsCorrection THEN
EXIT('+')
ELSE
EXIT('-');
// End of the added lines.
END;
END;
... -
Nomainiet šo kodu CheckCorrection funkciju izveidot Intrastat deklarācijas diska ziņojumā (11413) šādi:
Kods...CrLf[2] := 10;
END;
BEGIN
...Aizstāšanas kodu
...CrLf[2] := 10;
END;
// Add the following lines.
PROCEDURE CheckCorrection@1000018(SourceEntryNo@1000000 : Integer;VAR ItemDirection@1000001 : Integer) : Boolean;
VAR
ItemLedgerEntry@1000002 : Record 32;
// End of the added lines.
BEGIN
... -
Nomainiet šo kodu CrLf funkciju izveidot Intrastat deklarācijas diska ziņojumā (11413) šādi:
Kods...BEGIN
// Delete the following lines.
{
// Note: Intrastat Jnl. Batch dataitem has MaxIteration = 1
}
END.
}
RDLDATA
{
}
}
// End of the deleted lines.
...Aizstāšanas kodu
...BEGIN
// Add the following lines.
WITH ItemLedgerEntry DO BEGIN
GET(SourceEntryNo);
CASE "Document Type" OF
"Document Type"::"Purchase Return Shipment":
BEGIN
ItemDirection := 6;
EXIT(TRUE);
END;
"Document Type"::"Sales Return Receipt":
BEGIN
ItemDirection := 7;
EXIT(TRUE);
END;
END;
END;
END;
// End of the added lines.
... -
Nomainiet šo kodu CheckCorrection funkciju izveidot Intrastat deklarācijas diska ziņojumā (11413) šādi:
Aizstāšanas kodu...// Add the following lines.
BEGIN
{
// Note: Intrastat Jnl. Batch dataitem has MaxIteration = 1
}
END.
}
RDLDATA
{
}
}
// End of the added lines.
...
Priekšnosacījumi
Datorā ir jābūt instalētai kādai no lai lietotu šo labojumfailu šādiem produktiem:
-
Microsoft Dynamics NAV 2009 R2 holandiešu versija
-
Microsoft Dynamics NAV 2009 SP1 holandiešu versija
Informācija par noņemšanu
Nevar noņemt šo labojumfailu.
Statuss
Korporācija Microsoft ir apstiprinājusi, ka šī problēma pastāv Microsoft produktos, kas ir minēti sadaļā "Attiecas uz".
Piezīme. Šis ir STEIDZAMI PUBLICĒJAMS raksts, kas izveidots tieši Microsoft atbalsta organizācijā. Šajā rakstā ietvertā informācija ir sniegta, reaģējot uz nesen konstatētām problēmām. Tā kā šis raksts ir tapis pieejams neilgā laikā, materiālos var būt pareizrakstības kļūdas un tās var tikt labotas jebkurā laikā bez paziņojuma. Skatīt Lietošanasciti apsvērumi.