Sql error 1861 22008 ora 01861 литерал не соответствует формату строки

When I try to execute this snippet: cmd.CommandText = "SELECT alarm_id,definition_description,element_id, TO_CHAR (alarm_datetime, 'YYYY-MM-DD HH24:MI:SS'),severity, problem_text,status FROM

When I try to execute this snippet:

cmd.CommandText = "SELECT alarm_id,definition_description,element_id,
    TO_CHAR (alarm_datetime, 'YYYY-MM-DD HH24:MI:SS'),severity,
    problem_text,status FROM aircom.alarms 
    WHERE status = 1 and 
    TO_DATE (alarm_datetime,'DD.MM.YYYY HH24:MI:SS') > TO_DATE ('07.09.2008 
    09:43:00', 'DD.MM.YYYY HH24:MI:SS') 
    order 
    by ALARM_DATETIME desc";

I get:

ORA-01861: literal does not match format string

There is no problem with database connection because I can execute basic SQL commands.

What is the problem with this statement?

a_horse_with_no_name's user avatar

asked Sep 7, 2009 at 7:00

1

Remove the TO_DATE in the WHERE clause

TO_DATE (alarm_datetime,'DD.MM.YYYY HH24:MI:SS')

and change the code to

alarm_datetime

The error comes from to_date conversion of a date column.

Added Explanation: Oracle converts your alarm_datetime into a string using its nls depended date format. After this it calls to_date with your provided date mask. This throws the exception.

answered Sep 7, 2009 at 7:09

Christian13467's user avatar

The error means that you tried to enter a literal with a format string, but the length of the format string was not the same length as the literal.

One of these formats is incorrect:

TO_CHAR(t.alarm_datetime, 'YYYY-MM-DD HH24:MI:SS')
TO_DATE(alarm_datetime, 'DD.MM.YYYY HH24:MI:SS')

answered Sep 7, 2009 at 7:11

OMG Ponies's user avatar

OMG PoniesOMG Ponies

321k79 gold badges517 silver badges499 bronze badges

1

SELECT alarm_id
,definition_description
,element_id
,TO_CHAR (alarm_datetime, 'YYYY-MM-DD HH24:MI:SS')
,severity
, problem_text
,status 
FROM aircom.alarms 
WHERE status = 1 
    AND TO_char (alarm_datetime,'DD.MM.YYYY HH24:MI:SS') > TO_DATE ('07.09.2008  09:43:00', 'DD.MM.YYYY HH24:MI:SS') 
ORDER BY ALARM_DATETIME DESC 

Pete Carter's user avatar

Pete Carter

2,6913 gold badges23 silver badges34 bronze badges

answered Jun 4, 2012 at 6:48

sweta's user avatar

swetasweta

191 bronze badge

Just before executing the query:
alter session set NLS_DATE_FORMAT = «DD.MM.YYYY HH24:MI:SS»;
or whichever format you are giving the information to the date function. This should fix the ORA error

answered Sep 9, 2016 at 21:25

Vijay's user avatar

VijayVijay

191 bronze badge

1

A simple view like this was giving me the ORA-01861 error when executed from Entity Framework:

create view myview as 
select * from x where x.initialDate >= '01FEB2021'

Just did something like this to fix it:

create view myview as 
select * from x where x.initialDate >= TO_DATE('2021-02-01', 'YYYY-MM-DD')

I think the problem is EF date configuration is not the same as Oracle’s.

answered Feb 27, 2021 at 2:15

vaati's user avatar

vaativaati

1522 silver badges13 bronze badges

If you are using JPA to hibernate make sure the Entity has the correct data type for a field defined against a date column like use java.util.Date instead of String.

answered Dec 23, 2020 at 11:21

Pratap Kumar Panda's user avatar

When I try to execute this snippet:

cmd.CommandText = "SELECT alarm_id,definition_description,element_id,
    TO_CHAR (alarm_datetime, 'YYYY-MM-DD HH24:MI:SS'),severity,
    problem_text,status FROM aircom.alarms 
    WHERE status = 1 and 
    TO_DATE (alarm_datetime,'DD.MM.YYYY HH24:MI:SS') > TO_DATE ('07.09.2008 
    09:43:00', 'DD.MM.YYYY HH24:MI:SS') 
    order 
    by ALARM_DATETIME desc";

I get:

ORA-01861: literal does not match format string

There is no problem with database connection because I can execute basic SQL commands.

What is the problem with this statement?

a_horse_with_no_name's user avatar

asked Sep 7, 2009 at 7:00

1

Remove the TO_DATE in the WHERE clause

TO_DATE (alarm_datetime,'DD.MM.YYYY HH24:MI:SS')

and change the code to

alarm_datetime

The error comes from to_date conversion of a date column.

Added Explanation: Oracle converts your alarm_datetime into a string using its nls depended date format. After this it calls to_date with your provided date mask. This throws the exception.

answered Sep 7, 2009 at 7:09

Christian13467's user avatar

The error means that you tried to enter a literal with a format string, but the length of the format string was not the same length as the literal.

One of these formats is incorrect:

TO_CHAR(t.alarm_datetime, 'YYYY-MM-DD HH24:MI:SS')
TO_DATE(alarm_datetime, 'DD.MM.YYYY HH24:MI:SS')

answered Sep 7, 2009 at 7:11

OMG Ponies's user avatar

OMG PoniesOMG Ponies

321k79 gold badges517 silver badges499 bronze badges

1

SELECT alarm_id
,definition_description
,element_id
,TO_CHAR (alarm_datetime, 'YYYY-MM-DD HH24:MI:SS')
,severity
, problem_text
,status 
FROM aircom.alarms 
WHERE status = 1 
    AND TO_char (alarm_datetime,'DD.MM.YYYY HH24:MI:SS') > TO_DATE ('07.09.2008  09:43:00', 'DD.MM.YYYY HH24:MI:SS') 
ORDER BY ALARM_DATETIME DESC 

Pete Carter's user avatar

Pete Carter

2,6913 gold badges23 silver badges34 bronze badges

answered Jun 4, 2012 at 6:48

sweta's user avatar

swetasweta

191 bronze badge

Just before executing the query:
alter session set NLS_DATE_FORMAT = «DD.MM.YYYY HH24:MI:SS»;
or whichever format you are giving the information to the date function. This should fix the ORA error

answered Sep 9, 2016 at 21:25

Vijay's user avatar

VijayVijay

191 bronze badge

1

A simple view like this was giving me the ORA-01861 error when executed from Entity Framework:

create view myview as 
select * from x where x.initialDate >= '01FEB2021'

Just did something like this to fix it:

create view myview as 
select * from x where x.initialDate >= TO_DATE('2021-02-01', 'YYYY-MM-DD')

I think the problem is EF date configuration is not the same as Oracle’s.

answered Feb 27, 2021 at 2:15

vaati's user avatar

vaativaati

1522 silver badges13 bronze badges

If you are using JPA to hibernate make sure the Entity has the correct data type for a field defined against a date column like use java.util.Date instead of String.

answered Dec 23, 2020 at 11:21

Pratap Kumar Panda's user avatar

ORA-01861 means that the format strings of DATE and CHAR between two operands are not comparable in date format, we should make them match with each other in order to avoid ORA-01861. In this post, you will see some error patterns of ORA-01861 and their respective solutions.

The following statement looks like no problem.

SQL> conn hr/hr
Connected.
SQL> set heading off;
SQL> select count(*) || ' Persons' from employees where hire_date > '2008-03-01';
select count(*) || ' Persons' from employees where hire_date > '2008-03-01'
                                                               *
ERROR at line 1:
ORA-01861: literal does not match format string

But it threw ORA-01861 eventually. Let’s try to add TO_DATE function to convert the string into DATE value.

SQL> select count(*) || ' Persons' from employees where hire_date > to_date('2008-03-01');
select count(*) || ' Persons' from employees where hire_date > to_date('2008-03-01')
                                                                       *
ERROR at line 1:
ORA-01861: literal does not match format string

Even though they should have been comparable, their different formats stopped doing this. That is, the root cause is datetime format mismatch, not data type mismatch.

Here we talked two error patterns of ORA-01861 in this post:

  1. Date format mismatch issues.
  2. JDBC driver’s problem specific for ORA-01861.

Date Format Mismatch ORA-01861

Converting the date string into a DATE is not working. There still have format mismatching problem. Now, let’s see what date format does the database accept?

SQL> select value from v$nls_parameters where parameter = 'NLS_DATE_LANGUAGE';

AMERICAN

SQL> select value from v$nls_parameters where parameter = 'NLS_DATE_FORMAT';

DD-MON-RR

There’re 5 ways that can solve ORA-01861 and make formats between date and string match each other.

  1. Conform to NLS_DATE_FORMAT
  2. Use TO_DATE
  3. Use TO_CHAR
  4. Change NLS_DATE_FORMAT at Session-Time
  5. Set NLS_LANG

Conform to NLS_DATE_FORMAT

As we can see, our date string ‘2008-03-01’ does not match the current date format ‘DD-MON-RR’. Let’s conform to the current date format by converting the date string from ‘2008-03-01′ into ’01-MAR-08’.

SQL> select count(*) || ' Persons' from employees where hire_date > '01-MAR-08';

4 Persons

Please note that, you don’t have to use TO_DATE function to convert the string into a date value, an implicit conversion will be processed.

Use TO_DATE

The statement now is working, but sometimes you may still want to use the original date string. You can format the date string by TO_DATE function.

SQL> select count(*) || ' Persons' from employees where hire_date > to_date('2008-03-01', 'YYYY-MM-DD');

4 Persons

Use TO_CHAR

On the other hand, you can also convert DATE into string by TO_CHAR in order to compare the date string.

SQL> select count(*) || ' Persons' from employees where to_char(hire_date, 'YYYY-MM-DD') > '2008-03-01';

4 Persons

You might have some performance issue by applying this solution if the table is really big. A function-based index might be required for the computed values. In this case, it’s TO_CHAR(HIRE_DATE, ‘YYYY-MM-DD’).

Change NLS_DATE_FORMAT at Session-Time

If you don’t want to modify your statement, not even a tiny bit, you can set NLS_DATE_FORMAT at session-level to align with your date string format.

SQL> alter session set nls_date_format = 'YYYY-MM-DD';

Session altered.

SQL> select count(*) || ' Persons' from employees where hire_date > '2008-03-01';

4 Persons

SQL> exit

Set NLS_LANG

Here comes a more advanced topic about NLS_DATE_FORMAT. Sometimes, you can not change the application that you’re using in your environment, not even SQL statements inside. You may find there’re many ORA-01861 complained about the date format. This is because the format of date strings used in the application does not match NLS settings in your environment.

In such moment, the only thing you can do is set an environment variable NLS_LANG to make date format of every session running on the platform comply with the application so as to prevent ORA-01861.

In our case, the format of our date string ‘2008-03-01’ is ‘YYYY-MM-DD’, so what should we set in NLS_LANG? According to NLS_TERRITORY to NLS_DATE_FORMAT Mapping Table, there’s only few territories use ‘YYYY-MM-DD’ (or ‘RRRR-MM-DD’), one of which is SWEDEN.

In the following setting, we set NLS_LANG as SWEDISH language which subsequently changed NLS_TERRITORY into SWEDEN.

[oracle@test ~]$ export NLS_LANG=Swedish

Please note that, NLS_DATE_FORAMT is literally derived from NLS_TERRITORY, not from NLS_DATE_LANGUAGE.

[oracle@test ~]$ sqlplus /nolog
...
SQL> conn hr/hr
Connected.

It connected without ORA-12705 which means that Oracle database accepted the value of NLS_LANG.

SQL> set heading off;
SQL> select value from v$nls_parameters where parameter = 'NLS_TERRITORY';

SWEDEN

SQL> select value from v$nls_parameters where parameter = 'NLS_DATE_LANGUAGE';

SWEDISH

SQL> select value from v$nls_parameters where parameter = 'NLS_DATE_FORMAT';

YYYY-MM-DD

SQL> select count(*) || ' Persons' from employees where hire_date > '2008-03-01';

4 Persons

As you can see, NLS settings of the session follows NLS_LANG. The best thing is that we don’t need to modify the statement, we just use NLS_LANG to align with its format string.

For windows platform, you can set NLS_LANG like the followings, it also works.

C:UsersAdministrator>set NLS_LANG=Swedish

C:UsersAdministrator>echo %NLS_LANG%
Swedish

Although NLS_LANG has a fixed format including language, territory and character set that I have talked about it in another post, it can accept only languages or territory.

Please note that, NLS_DATE_FORMAT can also be set as an environment variable, but it only affects NLS date format in RMAN, not for normal connections.

In some cases, odd performance issues may occur in your query, you may consider to 1) convert DATE to CHAR type, or/and 2) add some required indexes.

JDBC Driver Problem ORA-01861

Here comes the most advanced topic about ORA-01861 in this post. By default, Java uses the locale of OS as NLS settings, therefore NLS_LANG environment variable does not affect Oracle JDBC drivers in connecting to Oracle databases.

Changing the locale of OS maybe a solution to ORA-01861, but seriously, it would be a big issue to other applications or other users. A lower-cost solution is to add another environment variable called JAVA_TOOL_OPTIONS.

There’re 2 ways to set JAVA_TOOL_OPTIONS so as to solve ORA-01861 problem from JDBC.

  1. The Run-time Setting
  2. The Permanent Setting

The Run-time Setting

C:UsersAdministrator>set JAVA_TOOL_OPTIONS=-Duser.language=en -Duser.country=US

C:UsersAdministrator>echo %JAVA_TOOL_OPTIONS%
-Duser.language=en -Duser.country=US

The Permanent Setting

Set JAVA_TOOL_OPTIONS Environment Variable

Set JAVA_TOOL_OPTIONS Environment Variable

Oracle JDBC driver will pick up JAVA_TOOL_OPTIONS Environment Variable and follow the instructions in it. That’s how we solve ORA-01861 for Oracle JDBC driver.

Further reading: How to Set NLS_DATE_FORMAT in RMAN

oracle tutorial webinars

ORA-01861

We’ve all been there before. You’re finally set to run a statement on a table that contains 20,000 data points and a dreaded ORA message appears. Before even thinking rationally, a sense of overwhelming urgency drifts over. What mistake could you have possibly made? How will you ever find it? What can you do?

Thankfully, Oracle databases are a little simpler to navigate and a certain subsection of Oracle errors will be so simple to resolve that as soon as you regain your composure, the error will be fixed in a split second. The ORA-01861 is one of those easy errors that’ll slow your heartbeat back down to a manageable pace. All you need is a quick run-through on Oracle formatting that we’ll provide for you right here.

The Problem

The ORA-01861 lists as resulting when “literal does not match format string”. If you’re not privy to these terms then this can seem a bit unclear. However, once you’re familiar with the two terms the rest falls right into place.

A literal in Oracle is a fixed, specific data point. For instance, in a list of names you may have literals like ‘BRAD’ or ‘CHERIE’, which are known as character literals. These will be written in single quotation marks for the purpose of identifying (remember this for later). You can also have numeric literals; perhaps the unique number of sick leave remaining on a table for each employee of your company expressed in total hours.

Finally, and often the source of the ORA-01861, are Datetime literals. These are in reference to calendar dates or timestamps and following a specific predetermined format string. There are four types of datetime literals: DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, and TIMESTAMP WITH LOCAL TIME ZONE. The date time stamp uses the Gregorian calendar and follows the format ‘YYYY-MM-DD’. The TIMESTAMP adds to the date an expression of time that follows ‘HH:MM:SS.FFF’, where the F represents fractions of a second. A TIMESTAMP WITH TIME ZONE adds a ‘+HH:MM’, and a TIMESTAMP WITH LOCAL TIME ZONE simply stores the data in the time zone of the localized database. A full date/timestamp/time zone format string would appear as such:

TIMESTAMP ‘YYYY-MM-DD HH:MM:SS.FFF +HH:MM’

 So judging by this, it should be pretty clear that often an ORA-01861 is triggered when a literal has been entered that fails to follow a format string. Perhaps you entered a date literal as ‘06/26/2015’ into a table with a date format string of ‘YYYY-MM-DD’. Naturally, the error would be thrown accordingly.

The Solution

The principle way to counter an ORA-01861 error is fairly simple. When the error is triggered, return to the line that Oracle indicated as the point of the error and edit the literal so that it matches the format string, keeping in mind that character literals require quotations and datetime literals require specific format strings. The following is an example of this solution in action.

Example of an ORA-01861 Error

SELECT TO_DATE (‘20140722’, ‘yyyy-mm-dd’)
FROM dual;
ERROR ORA-01861: literal does not match format string

Example of an ORA-01861 Solution

Above, the date literal excluded the hyphens between the year, month and day. A correct solution to this error would look as follows:

SELECT TO_DATE (‘2014-07-22’, ‘yyyy-mm-dd’)

FROM dual;

This will allow the statement to run smooth and error free. The more you remain cognizant of formatting, the less you’ll see this error.

Looking forward

As you can now see, the ORA-01861 error is about as straightforward as it gets. No coding, no deep exploration to the darkest depths of your tables to hunt down the problem. Just make sure to keep a consistent format and everything else should fall into place. With that said, there are always outlier cases with any software system. In the event that you run across such a situation, or perhaps just have a few general questions about more expansive topics like format strings, it can never hurt to contact a licensed Oracle consultant for more information.

На чтение 7 мин. Просмотров 1.9k. Опубликовано 25.01.2021

Я пытаюсь вставить данные в существующую таблицу и получаю сообщение об ошибке.

  INSERT INTO Patient (PatientNo, PatientFirstName, PatientLastName, PatientStreetAddress, PatientTown, PatientCounty)  , PatientPostcode, DOB, Gender, PatientHomeTelephoneNumber, PatientMobileTelephoneNumber) ЗНАЧЕНИЯ (121, 'Miles', 'Malone', '64 Zoo Lane ',' Clapham ',' United Kingdom ',' SW4 9LP ',' 1989-12-09 '  , 'M', 02086950291, 07498635200);  

Ошибка:

  Ошибка, начинающаяся со строки: 1 в команде -INSERT INTO  Пациент (Номер пациента, Имя пациента, Имя пациента, Адрес улицы пациента, Город пациента, Страна пациентов, Почтовый индекс пациента, Дата рождения, Пол, Номер домашнего телефона пациента, Номер мобильного телефона пациента, Номер мобильного телефона пациента) ЗНАЧЕНИЯ (121, 'Miles', 'Malone', '64  , 'SW4 9LP', '1989-12-09', 'M', 02086950291,07498635200) Отчет об ошибке -SQL Ошибка: ORA-01861: литерал не соответствует строке формата 01861.  00000 - «литерал не соответствует строке формата» * Причина: входящие литералы должны иметь ту же длину, что и литералы в строке форматирования (за исключением начальных пробелов).  Если включен модификатор "FX", литерал должен точно соответствовать, без лишних пробелов. * Действие: Исправьте строку формата, чтобы она соответствовала литералу.  

Просто не уверен почему это продолжает происходить Я сейчас изучаю SQL, я буду благодарен за любую помощь!


Попробуйте заменить строковый литерал на date '1989-12- 09 ' с TO_DATE('1989-12-09','YYYY-MM-DD')


Формат, который вы используете для даты, не соответствует формату даты по умолчанию Oracle.

При установке Oracle Database по умолчанию ФОРМАТ ДАТЫ ПО УМОЛЧАНИЮ устанавливается равным дд-МММ-гггг .

Используйте функцию TO_DATE (dateStr, formatStr) или просто используйте модель формата даты dd-MMM-yyyy .

отредактировано сентябрь 04 ’19, 21:44

Вики сообщества

2 версии, 2 пользователя 62%
Mitz


Формат, который вы используете для даты, не соответствует формату даты по умолчанию Oracle.

При установке Oracle Database по умолчанию ФОРМАТ ДАТЫ ПО УМОЛЧАНИЮ устанавливается равным дд-МММ-гггг .

Используйте функцию TO_DATE (dateStr, formatStr) или просто используйте модель формата даты dd-MMM-yyyy .


Вы также можете изменить формат даты для сеанса. Это полезно, например, в Perl DBI, где функция to_date () недоступна:

  ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD'  

Вы также можете навсегда установить nls_date_format по умолчанию:

  ALTER SYSTEM SET NLS_DATE_FORMAT = 'YYYY-MM-DD'   

В Perl DBI вы можете запускать эти команды с помощью метода do ():

  $ db-> do ("ALTER SESSION SET NLS_DATE_FORMAT =  'ГГГГ-ММ-ДД');  

http://www.dba-oracle.com/t_dbi_interface1.htmhttps://community.oracle.com/thread/682596? start = 15 & tstart = 0

ответил 13 дек. ’16 в 16:29


Вы также можете изменить ge формат даты для сеанса. Это полезно, например, в Perl DBI, где функция to_date () недоступна:

  ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD'  

Вы также можете навсегда установить nls_date_format по умолчанию:

  ALTER SYSTEM SET NLS_DATE_FORMAT = 'YYYY-MM-DD'   

В Perl DBI вы можете запускать эти команды с помощью метода do ():

  $ db-> do ("ALTER SESSION SET NLS_DATE_FORMAT =  'ГГГГ-ММ-ДД');  

http://www.dba-oracle.com/t_dbi_interface1.htmhttps://community.oracle.com/thread/682596? start = 15 & tstart = 0


  ORA-01861: литерал не соответствует строке формата  

Это происходит потому, что вы пытались ввести литерал со строкой формата, но длина строки формата не была той же длины, что и литерал.

Вы можете решить эту проблему, выполнив f последующее изменение.

  TO_DATE ('1989-12-09', 'YYYY-MM-DD')  

Как правило, если вы используете функцию TO_DATE, функцию TO_TIMESTAMP, функцию TO_CHAR и аналогичные функции, убедитесь, что предоставленный вами литерал соответствует указанной вами строке формата

ответил 21 июня ‘ 18, 5:56


  ORA-01861: литерал не соответствует строке формата   

Это происходит из-за того, что вы пытались ввести литерал со строкой формата, но длина строки форматирования не была такой же, как длина литерала.

Вы можете решить эту проблему, выполнив следующие изменения.

  TO_DATE ('1989-12-09', 'YYYY-MM-DD')   

Как правило, если вы используете функцию TO_DATE, функцию TO_TIMESTAMP, функцию TO_CHAR и аналогичные функции, убедитесь, что предоставленный вами литерал соответствует строке формата, вы указали


Попробуйте использовать формат dd-mon-yyyy, например, 02-08-2016 должен быть в формате ’08 -feb-2016 ‘.

ответил фев. 8 ’16 в 9:39


Попробуйте использовать формат как dd-mon-yyyy, например, 08.02.2016 должен быть в формате ’08 -feb-2016 ‘.


Если вы предоставите правильный формат даты, он должен работать, проверьте еще раз, если вы указали правильный формат даты во вставленных значениях

ответил 23 августа ’16 в 8:48


Если вы указали правильный формат даты, он должен работать, пожалуйста, проверьте еще раз, если вы указали правильный формат даты во вставленных значениях


попробуйте сохранить дату как это гггг-мм-дд чч: mm: ss.ms, например: 1992-07-01 00: 00: 00.0, что сработало для меня

ответил 28 сен 2017 в 15:56


попробуйте сохранить дату как это гггг-мм-дд чч: мм: сс. ms, например: 1992-07-01 00: 00: 00.0, что сработало для меня



Содержание

  1. Импортировать внешний обмен
  2. 0 комментариев
  3. Оставить ответ Отменить ответ

Импортировать внешний обмен

ЦЕЛЬ

В этом документе показана подробная процедура импорта чужих обменные операции.

ПОЧЕМУ ЭТО ВАЖНО?

Функция импорта помогает сохранить времени пользователя, одновременно вводя в систему несколько сделок FX.

ПРОЦЕДУРА

1. На экране запуска Foreign Exchange нажмите New Outright. Отображается новая исходная ставка иностранной валюты.

2 . Щелкните Импорт. Откроется экран импорта валютных сделок.

3 . Щелкните Шаблон, чтобы загрузить шаблон CS Lucas для импорта операций с иностранной валютой. Отобразятся папки компьютера, в которых будет сохранен файл.

4. Щелкните Сохранить. Файл будет сохранен в указанной папке.

5. Откройте файл. Лист Excel будет выглядеть так:

6 . Заполните столбцы. Убедитесь, что все обязательные столбцы заполнены, они отмечены знаком (*). Описание полей см. В руководстве пользователя по созданию FX Outright.

7. По завершении сохраните шаблон Excel.

8. Вернитесь на экран «Импорт валютных сделок», установите флажок перед «Прочитать файл».

9. Нажмите кнопку «Выбрать файл». Найдите сохраненный файл Excel.

10. Щелкните “Прочитать файл”. Значения, введенные в файл Excel, появятся на экране ниже.

11. В случае ошибки пользователю будет предложено исправить строки. Чтобы исправить это, откройте файл Excel для редактирования и повторной загрузки.

12. Нажмите Загрузить, если ошибок нет. Появится всплывающее окно, нажмите OK.

13. Будет отображено сообщение об успешной загрузке.

14. Нажмите кнопку «Назад», чтобы вернуться на экран «Обмен валюты». Отфильтруйте соответствующий Центр учета и поле VDate From и нажмите «Обновить».

15. Импортированные сделки отобразятся на экране запуска Foreign Exchange.

ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ

FAQ01. Я получаю сообщение об ошибке, что объект недействителен.

Ошибка недопустимого объекта означает, что то, что было введено в столбец FacilitySN, не соответствует ни одному из коротких имен в системе, или средство не предназначено для транзакции FX. Чтобы проверить, перейдите в «Настройка»> «Средство», чтобы проверить короткое имя и убедиться, что для объекта назначен продукт «Исходящий обмен иностранной валюты». Если нет, может быть создано новое предприятие; см. инструкции в разделе «Как настроить кредитную линию и лимиты».

FAQ02: Что мне вводить для форвардных пунктов, если валютный контракт является спотовой сделкой?

Если форвардные баллы не требуются для транзакции, введите их как 0.

FAQ03: Что такое Ex Rate?

Ex Rate – это контрактный обменный курс, состоящий из спотового курса и любых форвардных пунктов.

FAQ04: Я получил сообщение об ошибке «Произошла ошибка проверки загруженные данные. Пожалуйста, проверьте формат данных и/или структуру электронной таблицы.

Обычно это сообщение об ошибке возникает из-за того, что система не может прочитать файл по следующим причинам:

1) Использование устаревшего загрузочного листа.

2) Дополнительные/отсутствующие столбцы в таблице загрузки.

3) Отсутствующий заголовок столбца или имя столбца изменены.

4) В ячейках есть формулы.

5) Чтение не того шаблона. Например, прочтите загрузочный лист MM на экране импорта FX.

Поскольку файл не может быть прочитан из-за формата данных и структуры загруженного листа, система не может показать, какая строка содержит ошибка.

СВЯЗАННАЯ ИНФОРМАЦИЯ

Запуск внешнего обмена

Создание FX Outright

ИСТОРИЯ ИЗМЕНЕНИЙ


0 комментариев

Оставить ответ Отменить ответ

Понравилась статья? Поделить с друзьями:
  • Sql error 17410
  • Sql error 1024
  • Spn 625 fmi 2 камаз 5490 ошибка
  • Something script error garrys mod
  • Socket protect error udp