1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2025-01-05 14:53:23 +03:00
parent a5f9fc0ccb
commit 86be1e973c
90 changed files with 6981 additions and 6237 deletions

3
docs/en/data/SQLite/DeletePosts.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"Base": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\v8_1FD0_29.sqlite"
}

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Format = "A5";
Copies = 1;

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Tariff = 139;
Result = OPI_CDEK.CreateCustomerRefund(Token, UUID, Tariff, True);

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Point = "NSK27";
TransferDate = OPI_Tools.GetCurrentDate() + 60 * 60 * 24;

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Type = "tpl_russia";
Copies = 1;

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.CreateRefusal(Token, UUID, True);

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.DeleteOrder(Token, UUID, True);

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetAvailableDeliveryIntervals(Token, UUID, True);

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetCashboxCheck(Token, UUID, True);

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetOrder(Token, UUID, True);

View File

@ -1,4 +1,4 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetPassportDataStatus(Token, UUID, True);

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
OrderUUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
OrderUUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Day = 60 * 60 * 24;
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());

View File

@ -1,5 +1,5 @@
 Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
OrderDescription = New Structure("comment", "NewComment");

View File

@ -4,7 +4,7 @@
PictureFile = GetTempFileName("png");
Image.Write(PictureFile); // PictureFile - File to disk
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
DataArray = New Array;

View File

@ -1,4 +1,4 @@
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
ColoumnsStruct = New Structure;

16
docs/en/examples/SQLite/DeletePosts.txt vendored Normal file
View File

@ -0,0 +1,16 @@
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Result = OPI_SQLite.DeletePosts(Table, FilterStructure, Base);

View File

@ -1,4 +1,4 @@
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
Fields = New Array;

View File

@ -1,4 +1,4 @@
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
FieldsStructure = New Structure;

View File

@ -32,7 +32,7 @@ Method at API documentation: [Getting delivery intervals (RU)](https://api-docs.
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetAvailableDeliveryIntervals(Token, UUID, True);
```

View File

@ -32,7 +32,7 @@ Method at API documentation: [Registration of delivery appointment](https://api-
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
OrderUUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
OrderUUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Day = 60 * 60 * 24;
CurrentDate = BegOfDay(OPI_Tools.GetCurrentDate());

View File

@ -35,7 +35,7 @@ Method at API documentation: [Creating barcode CP for the order](https://api-doc
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Format = "A5";
Copies = 1;

View File

@ -37,7 +37,7 @@ Method at API documentation: [Registration of refusal](https://api-docs.cdek.ru/
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Tariff = 139;
Result = OPI_CDEK.CreateCustomerRefund(Token, UUID, Tariff, True);

View File

@ -34,7 +34,7 @@ Method at API documentation: [Registration of Prealert document](https://api-doc
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Point = "NSK27";
TransferDate = OPI_Tools.GetCurrentDate() + 60 * 60 * 24;

View File

@ -38,7 +38,7 @@ Method at API documentation: [Creating order receipt](https://api-docs.cdek.ru/3
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Type = "tpl_russia";
Copies = 1;

View File

@ -32,7 +32,7 @@ Method at API documentation: [Registration of refusal](https://api-docs.cdek.ru/
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.CreateRefusal(Token, UUID, True);
```

View File

@ -32,7 +32,7 @@ Method at API documentation: [Deleting an order](https://api-docs.cdek.ru/338288
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.DeleteOrder(Token, UUID, True);
```

View File

@ -32,7 +32,7 @@ Method at API documentation: [Cashbox check information](https://api-docs.cdek.r
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetCashboxCheck(Token, UUID, True);
```

View File

@ -32,7 +32,7 @@ Method at API documentation: [Order details](https://api-docs.cdek.ru/33828849.h
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetOrder(Token, UUID, True);
```

View File

@ -32,7 +32,7 @@ Method at API documentation: [Passport data information](https://api-docs.cdek.r
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Result = OPI_CDEK.GetPassportDataStatus(Token, UUID, True);
```

View File

@ -33,7 +33,7 @@ Method at API documentation: [Update an order](https://api-docs.cdek.ru/36989543
```bsl title="1C:Enterprise/OneScript code example"
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
OrderDescription = New Structure("comment", "NewComment");

View File

@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
PictureFile = GetTempFileName("png");
Image.Write(PictureFile); // PictureFile - File to disk
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
DataArray = New Array;

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
ColoumnsStruct = New Structure;

View File

@ -27,7 +27,22 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Result = OPI_SQLite.DeletePosts(Table, FilterStructure, Base);
```

View File

@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
Fields = New Array;

View File

@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Table = "test";
FieldsStructure = New Structure;

View File

@ -0,0 +1,3 @@
{
"База": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\v8_1FD0_29.sqlite"
}

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUIDЗаказа = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUIDЗаказа = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Сутки = 60 * 60 * 24;
ТекущаяДата = НачалоДня(OPI_Инструменты.ПолучитьТекущуюДату());

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
ОписаниеЗаказа = Новый Структура("comment", "Новый комментарий");

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Тариф = 139;
Результат = OPI_CDEK.ОформитьКлиентскийВозврат(Токен, UUID, Тариф, Истина);

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьДоступныеИнтервалыДоставки(Токен, UUID, Истина);

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьЗаказ(Токен, UUID, Истина);

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьСтатусПаспортныхДанных(Токен, UUID, Истина);

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьЧекЗаказа(Токен, UUID, Истина);

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.СоздатьОтказ(Токен, UUID, Истина);

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
ПВЗ = "NSK27";
ДатаПередачи = OPI_Инструменты.ПолучитьТекущуюДату() + 60 * 60 * 24;

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Тип = "tpl_russia";
Копий = 1;

View File

@ -1,5 +1,5 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Формат = "A5";
Копий = 1;

View File

@ -1,4 +1,4 @@
 Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.УдалитьЗаказ(Токен, UUID, Истина);

View File

@ -4,7 +4,7 @@
ФайлКартинки = ПолучитьИмяВременногоФайла("png");
Картинка.Записать(ФайлКартинки); // ФайлКартинки - Файл на диске
База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
МассивДанных = Новый Массив;

View File

@ -1,4 +1,4 @@
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
СтруктураПолей = Новый Структура;

View File

@ -1,4 +1,4 @@
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
Поля = Новый Массив;

View File

@ -1,4 +1,4 @@
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
СтруктураКолонок = Новый Структура;

View File

@ -0,0 +1,16 @@
 База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
Фильтры = Новый Массив;
СтруктураФильтра = Новый Структура;
СтруктураФильтра.Вставить("field", "name");
СтруктураФильтра.Вставить("type" , "=");
СтруктураФильтра.Вставить("value", "Vitaly A.");
СтруктураФильтра.Вставить("union", "AND");
СтруктураФильтра.Вставить("raw" , Ложь);
Фильтры.Добавить(СтруктураФильтра);
Результат = OPI_SQLite.УдалитьЗаписи(Таблица, СтруктураФильтра, База);

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьДоступныеИнтервалыДоставки(Токен, UUID, Истина);
```

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUIDЗаказа = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUIDЗаказа = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Сутки = 60 * 60 * 24;
ТекущаяДата = НачалоДня(OPI_Инструменты.ПолучитьТекущуюДату());

View File

@ -35,7 +35,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Формат = "A5";
Копий = 1;

View File

@ -37,7 +37,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Тариф = 139;
Результат = OPI_CDEK.ОформитьКлиентскийВозврат(Токен, UUID, Тариф, Истина);

View File

@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
ПВЗ = "NSK27";
ДатаПередачи = OPI_Инструменты.ПолучитьТекущуюДату() + 60 * 60 * 24;

View File

@ -38,7 +38,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Тип = "tpl_russia";
Копий = 1;

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.СоздатьОтказ(Токен, UUID, Истина);
```

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.УдалитьЗаказ(Токен, UUID, Истина);
```

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьЧекЗаказа(Токен, UUID, Истина);
```

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьЗаказ(Токен, UUID, Истина);
```

View File

@ -32,7 +32,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
Результат = OPI_CDEK.ПолучитьСтатусПаспортныхДанных(Токен, UUID, Истина);
```

View File

@ -33,7 +33,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
Токен = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3MzUwNjM4MzYsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJhcGktdmVyc2lvbjoxLjEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_27DD_1d.sqlite";
UUID = "C:\Users\Administrator\AppData\Local\Temp\v8_1AD2_16.sqlite";
ОписаниеЗаказа = Новый Структура("comment", "Новый комментарий");

View File

@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
ФайлКартинки = ПолучитьИмяВременногоФайла("png");
Картинка.Записать(ФайлКартинки); // ФайлКартинки - Файл на диске
База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
МассивДанных = Новый Массив;

View File

@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
СтруктураКолонок = Новый Структура;

View File

@ -27,7 +27,22 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
Фильтры = Новый Массив;
СтруктураФильтра = Новый Структура;
СтруктураФильтра.Вставить("field", "name");
СтруктураФильтра.Вставить("type" , "=");
СтруктураФильтра.Вставить("value", "Vitaly A.");
СтруктураФильтра.Вставить("union", "AND");
СтруктураФильтра.Вставить("raw" , Ложь);
Фильтры.Добавить(СтруктураФильтра);
Результат = OPI_SQLite.УдалитьЗаписи(Таблица, СтруктураФильтра, База);
```

View File

@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
Поля = Новый Массив;

View File

@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript"
База = "C:\Users\Administrator\AppData\Local\Temp\v8_D671_13.sqlite";
База = "C:\Users\Administrator\AppData\Local\Temp\v8_1FD0_29.sqlite";
Таблица = "test";
СтруктураПолей = Новый Структура;

File diff suppressed because it is too large Load Diff

View File

@ -61,6 +61,7 @@ Function CreateConnection(Val Base = "") Export
EndIf;
OPI_TypeConversion.GetLine(Base);
OPI_Tools.RestoreEscapeSequences(Base);
Connector = AttachAddInOnServer("OPI_SQLite");

View File

@ -2239,6 +2239,7 @@ Procedure SQLL_ORM() Export
SQLite_AddRecords(TestParameters);
SQLite_GetRecords(TestParameters);
SQLite_UpdateRecords(TestParameters);
SQLite_DeletePosts(TestParameters);
Try
DeleteFiles(Base);
@ -2246,7 +2247,6 @@ Procedure SQLL_ORM() Export
OPI_TestDataRetrieval.WriteLog(ErrorDescription(), "Database file deletion error", "SQLite");
EndTry
EndProcedure
#EndRegion
@ -16444,6 +16444,37 @@ Procedure SQLite_UpdateRecords(FunctionParameters)
EndProcedure
Procedure SQLite_DeletePosts(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Result = OPI_SQLite.DeletePosts(Table, FilterStructure, Base);
// END
OPI_TestDataRetrieval.WriteLog(Result, "DeletePosts", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Check = OPI_SQLite.GetRecords(Table, "['name','salary']", Filters, , , Base);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteNoRows(Check);
EndProcedure
#EndRegion
#EndRegion

View File

@ -2229,6 +2229,10 @@ Procedure CLI_SQLL_ORM() Export
OPI_TestDataRetrieval.ParameterToCollection("Picture", TestParameters);
CLI_SQLite_CreateTable(TestParameters);
CLI_SQLite_AddRecords(TestParameters);
CLI_SQLite_GetRecords(TestParameters);
CLI_SQLite_UpdateRecords(TestParameters);
CLI_SQLite_DeletePosts(TestParameters);
Try
DeleteFiles(Base);
@ -18248,16 +18252,292 @@ Procedure CLI_SQLite_CreateTable(FunctionParameters)
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "CreateTable", Options);
Options.Insert("noex", True);
Text = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "CreateTable", Options);
OPI_TestDataRetrieval.WriteLogCLI(Text, "CreateTable (query)", "SQLite");
OPI_TestDataRetrieval.WriteLogCLI(Result, "CreateTable", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
EndProcedure
Procedure CLI_SQLite_AddRecords(FunctionParameters)
Image = FunctionParameters["Picture"];
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
PictureFile = GetTempFileName("png");
Image.Write(PictureFile); // PictureFile - File to disk
Base = FunctionParameters["SQLite_DB"];
Table = "test";
DataArray = New Array;
RowStructure2 = New Structure;
RowStructure2.Insert("name" , "Vitaly"); // TEXT
RowStructure2.Insert("age" , 25); // INTEGER
RowStructure2.Insert("salary" , 1000.12); // REAL
RowStructure2.Insert("is_active" , True); // BOOL
RowStructure2.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME
RowStructure2.Insert("data" , New Structure("blob", PictureFile)); // BLOB
RowStrucutre1 = New Structure;
RowStrucutre1.Insert("name" , "Lesha") ; // TEXT
RowStrucutre1.Insert("age" , 20); // INTEGER
RowStrucutre1.Insert("salary" , 200.20) ; // REAL
RowStrucutre1.Insert("is_active" , False) ; // BOOL
RowStrucutre1.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME
RowStrucutre1.Insert("data" , New Structure("blob", PictureFile)); // BLOB
DataArray.Add(RowStructure2);
DataArray.Add(RowStrucutre1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
// END
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("trn" , False);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (no tr)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
RowStrucutre1.Insert("error", "Lesha") ;
DataArray.Add(RowStrucutre1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (field error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("trn" , False);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (field error without tr)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteRows(Result, 1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , "not valid json");
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (json error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
RowMap = New Map;
RowMap.Insert("[An obscure column]", "yo");
Options = New Structure;
Options.Insert("table", "test1");
Options.Insert("rows" , RowMap);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (obscure column)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Try
DeleteFiles(PictureFile);
Except
OPI_TestDataRetrieval.WriteLog(ErrorDescription(), "Error deleting a picture file", "SQLite");
EndTry
EndProcedure
Procedure CLI_SQLite_GetRecords(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Fields = New Array;
Fields.Add("name");
Fields.Add("salary");
Filters = New Array;
FilterStructure1 = New Structure;
FilterStructure1.Insert("field", "name");
FilterStructure1.Insert("type" , "=");
FilterStructure1.Insert("value", "Vitaly");
FilterStructure1.Insert("union", "AND");
FilterStructure1.Insert("raw" , False);
FilterStructure2 = New Structure;
FilterStructure2.Insert("field", "age");
FilterStructure2.Insert("type" , "BETWEEN");
FilterStructure2.Insert("value", "20 AND 30");
FilterStructure2.Insert("raw" , True);
Filters.Add(FilterStructure1);
Filters.Add(FilterStructure2);
Sort = New Structure("created_at", "DESC");
Count = 1;
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", Fields);
Options.Insert("filter", Filters);
Options.Insert("order" , Sort);
Options.Insert("limit" , Count);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", "['name','age','salary','is_active','created_at']");
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (no params)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
FilterStructure2.Insert("type" , "BEETWEEN");
Filters.Add(FilterStructure2);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", "['name','age','salary','is_active','created_at']");
Options.Insert("filter", Filters);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
Options = New Structure;
Options.Insert("table" , "test1");
Options.Insert("db" , Base);
Result = OPI_SQLite.GetRecords(, , , , , Base);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (obscure column)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
EndProcedure
Procedure CLI_SQLite_UpdateRecords(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
FieldsStructure = New Structure;
FieldsStructure.Insert("name" , "Vitaly A.");
FieldsStructure.Insert("salary", "999999");
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("values", FieldsStructure);
Options.Insert("filter", Filters);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "UpdateRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "UpdateRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
FilterStructure.Insert("value", "Vitaly A.");
Filters = New Array;
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields" , "['name','salary']");
Options.Insert("filters", Filters);
Options.Insert("db" , Base);
Check = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Check);
OPI_TestDataRetrieval.Check_SQLiteFieldsValues(Check["data"][0], FieldsStructure);
EndProcedure
Procedure CLI_SQLite_DeletePosts(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("filter", FilterStructure);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "DeletePosts", Options);
OPI_TestDataRetrieval.WriteLog(Result, "DeletePosts", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields" , "['name','salary']");
Options.Insert("filters", Filters);
Options.Insert("db" , Base);
Check = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteNoRows(Check);
EndProcedure
#EndRegion
#EndRegion

View File

@ -288,6 +288,7 @@ Function EmptySchemeDelete()
Scheme.Insert("table" , "");
Scheme.Insert("filter", New Array);
Scheme.Insert("values", New Array);
Return Scheme;

View File

@ -2091,6 +2091,10 @@ Procedure Check_SQLiteFieldsValues(Val Result, Val ValueStructure) Export
EndProcedure
Procedure Check_SQLiteNoRows(Val Result) Export
ExpectsThat(Result["data"].Count()).Равно(0);
EndProcedure
#EndRegion
#EndRegion

View File

@ -1003,11 +1003,7 @@ EndProcedure
Procedure ReplaceEscapeSequences(Text) Export
CharacterMapping = New Map;
CharacterMapping.Insert("\n", Chars.LF);
CharacterMapping.Insert("\r", Chars.CR);
CharacterMapping.Insert("\f", Chars.FF);
CharacterMapping.Insert("\v", Chars.VTab);
CharacterMapping = GetEscapeSequencesMap();
For Each Symbol In CharacterMapping Do
@ -1018,6 +1014,18 @@ Procedure ReplaceEscapeSequences(Text) Export
EndProcedure
Procedure RestoreEscapeSequences(Text) Export
CharacterMapping = GetEscapeSequencesMap();
For Each Symbol In CharacterMapping Do
Text = StrReplace(Text, Symbol.Value, Symbol.Key);
EndDo;
EndProcedure
Function NumberToString(Val Number) Export
Return StrReplace(String(Number), Chars.NBSp, "");
EndFunction
@ -1652,6 +1660,19 @@ Function RelevantNodeType(Val NodeType)
EndFunction
Function GetEscapeSequencesMap()
CharacterMapping = New Map;
CharacterMapping.Insert("\n", Chars.LF);
CharacterMapping.Insert("\r", Chars.CR);
CharacterMapping.Insert("\f", Chars.FF);
CharacterMapping.Insert("\v", Chars.VTab);
Return CharacterMapping;
EndFunction
#Region AddinsManagement
Function InitializeAddIn(Val AddInName, Val Class, AddIn)

View File

@ -288,6 +288,7 @@ Function EmptySchemeDelete()
Scheme.Insert("table" , "");
Scheme.Insert("filter", New Array);
Scheme.Insert("values", New Array);
Return Scheme;

View File

@ -61,6 +61,7 @@ Function CreateConnection(Val Base = "") Export
EndIf;
OPI_TypeConversion.GetLine(Base);
OPI_Tools.RestoreEscapeSequences(Base);
Connector = AttachAddInOnServer("OPI_SQLite");

View File

@ -2091,6 +2091,10 @@ Procedure Check_SQLiteFieldsValues(Val Result, Val ValueStructure) Export
EndProcedure
Procedure Check_SQLiteNoRows(Val Result) Export
ExpectsThat(Result["data"].Count()).Равно(0);
EndProcedure
#EndRegion
#EndRegion

View File

@ -2239,6 +2239,7 @@ Procedure SQLL_ORM() Export
SQLite_AddRecords(TestParameters);
SQLite_GetRecords(TestParameters);
SQLite_UpdateRecords(TestParameters);
SQLite_DeletePosts(TestParameters);
Try
DeleteFiles(Base);
@ -2246,7 +2247,6 @@ Procedure SQLL_ORM() Export
OPI_TestDataRetrieval.WriteLog(ErrorDescription(), "Database file deletion error", "SQLite");
EndTry
EndProcedure
#EndRegion
@ -16444,6 +16444,37 @@ Procedure SQLite_UpdateRecords(FunctionParameters)
EndProcedure
Procedure SQLite_DeletePosts(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Result = OPI_SQLite.DeletePosts(Table, FilterStructure, Base);
// END
OPI_TestDataRetrieval.WriteLog(Result, "DeletePosts", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Check = OPI_SQLite.GetRecords(Table, "['name','salary']", Filters, , , Base);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteNoRows(Check);
EndProcedure
#EndRegion
#EndRegion

View File

@ -2229,6 +2229,10 @@ Procedure CLI_SQLL_ORM() Export
OPI_TestDataRetrieval.ParameterToCollection("Picture", TestParameters);
CLI_SQLite_CreateTable(TestParameters);
CLI_SQLite_AddRecords(TestParameters);
CLI_SQLite_GetRecords(TestParameters);
CLI_SQLite_UpdateRecords(TestParameters);
CLI_SQLite_DeletePosts(TestParameters);
Try
DeleteFiles(Base);
@ -18248,16 +18252,292 @@ Procedure CLI_SQLite_CreateTable(FunctionParameters)
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "CreateTable", Options);
Options.Insert("noex", True);
Text = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "CreateTable", Options);
OPI_TestDataRetrieval.WriteLogCLI(Text, "CreateTable (query)", "SQLite");
OPI_TestDataRetrieval.WriteLogCLI(Result, "CreateTable", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
EndProcedure
Procedure CLI_SQLite_AddRecords(FunctionParameters)
Image = FunctionParameters["Picture"];
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
PictureFile = GetTempFileName("png");
Image.Write(PictureFile); // PictureFile - File to disk
Base = FunctionParameters["SQLite_DB"];
Table = "test";
DataArray = New Array;
RowStructure2 = New Structure;
RowStructure2.Insert("name" , "Vitaly"); // TEXT
RowStructure2.Insert("age" , 25); // INTEGER
RowStructure2.Insert("salary" , 1000.12); // REAL
RowStructure2.Insert("is_active" , True); // BOOL
RowStructure2.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME
RowStructure2.Insert("data" , New Structure("blob", PictureFile)); // BLOB
RowStrucutre1 = New Structure;
RowStrucutre1.Insert("name" , "Lesha") ; // TEXT
RowStrucutre1.Insert("age" , 20); // INTEGER
RowStrucutre1.Insert("salary" , 200.20) ; // REAL
RowStrucutre1.Insert("is_active" , False) ; // BOOL
RowStrucutre1.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME
RowStrucutre1.Insert("data" , New Structure("blob", PictureFile)); // BLOB
DataArray.Add(RowStructure2);
DataArray.Add(RowStrucutre1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
// END
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("trn" , False);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (no tr)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
RowStrucutre1.Insert("error", "Lesha") ;
DataArray.Add(RowStrucutre1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (field error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , DataArray);
Options.Insert("trn" , False);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (field error without tr)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteRows(Result, 1);
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("rows" , "not valid json");
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (json error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
RowMap = New Map;
RowMap.Insert("[An obscure column]", "yo");
Options = New Structure;
Options.Insert("table", "test1");
Options.Insert("rows" , RowMap);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "AddRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "AddRecords (obscure column)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Try
DeleteFiles(PictureFile);
Except
OPI_TestDataRetrieval.WriteLog(ErrorDescription(), "Error deleting a picture file", "SQLite");
EndTry
EndProcedure
Procedure CLI_SQLite_GetRecords(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Fields = New Array;
Fields.Add("name");
Fields.Add("salary");
Filters = New Array;
FilterStructure1 = New Structure;
FilterStructure1.Insert("field", "name");
FilterStructure1.Insert("type" , "=");
FilterStructure1.Insert("value", "Vitaly");
FilterStructure1.Insert("union", "AND");
FilterStructure1.Insert("raw" , False);
FilterStructure2 = New Structure;
FilterStructure2.Insert("field", "age");
FilterStructure2.Insert("type" , "BETWEEN");
FilterStructure2.Insert("value", "20 AND 30");
FilterStructure2.Insert("raw" , True);
Filters.Add(FilterStructure1);
Filters.Add(FilterStructure2);
Sort = New Structure("created_at", "DESC");
Count = 1;
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", Fields);
Options.Insert("filter", Filters);
Options.Insert("order" , Sort);
Options.Insert("limit" , Count);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", "['name','age','salary','is_active','created_at']");
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (no params)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
FilterStructure2.Insert("type" , "BEETWEEN");
Filters.Add(FilterStructure2);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields", "['name','age','salary','is_active','created_at']");
Options.Insert("filter", Filters);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (error)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteError(Result);
Options = New Structure;
Options.Insert("table" , "test1");
Options.Insert("db" , Base);
Result = OPI_SQLite.GetRecords(, , , , , Base);
OPI_TestDataRetrieval.WriteLog(Result, "GetRecords (obscure column)", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
EndProcedure
Procedure CLI_SQLite_UpdateRecords(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
FieldsStructure = New Structure;
FieldsStructure.Insert("name" , "Vitaly A.");
FieldsStructure.Insert("salary", "999999");
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("values", FieldsStructure);
Options.Insert("filter", Filters);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "UpdateRecords", Options);
OPI_TestDataRetrieval.WriteLog(Result, "UpdateRecords", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
FilterStructure.Insert("value", "Vitaly A.");
Filters = New Array;
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields" , "['name','salary']");
Options.Insert("filters", Filters);
Options.Insert("db" , Base);
Check = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Check);
OPI_TestDataRetrieval.Check_SQLiteFieldsValues(Check["data"][0], FieldsStructure);
EndProcedure
Procedure CLI_SQLite_DeletePosts(FunctionParameters)
Base = FunctionParameters["SQLite_DB"];
Table = "test";
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly A.");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("filter", FilterStructure);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "DeletePosts", Options);
OPI_TestDataRetrieval.WriteLog(Result, "DeletePosts", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteSuccess(Result);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("fields" , "['name','salary']");
Options.Insert("filters", Filters);
Options.Insert("db" , Base);
Check = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "GetRecords", Options);
OPI_TestDataRetrieval.WriteLog(Check, "Check", "SQLite");
OPI_TestDataRetrieval.Check_SQLiteNoRows(Check);
EndProcedure
#EndRegion
#EndRegion

View File

@ -1003,11 +1003,7 @@ EndProcedure
Procedure ReplaceEscapeSequences(Text) Export
CharacterMapping = New Map;
CharacterMapping.Insert("\n", Chars.LF);
CharacterMapping.Insert("\r", Chars.CR);
CharacterMapping.Insert("\f", Chars.FF);
CharacterMapping.Insert("\v", Chars.VTab);
CharacterMapping = GetEscapeSequencesMap();
For Each Symbol In CharacterMapping Do
@ -1018,6 +1014,18 @@ Procedure ReplaceEscapeSequences(Text) Export
EndProcedure
Procedure RestoreEscapeSequences(Text) Export
CharacterMapping = GetEscapeSequencesMap();
For Each Symbol In CharacterMapping Do
Text = StrReplace(Text, Symbol.Value, Symbol.Key);
EndDo;
EndProcedure
Function NumberToString(Val Number) Export
Return StrReplace(String(Number), Chars.NBSp, "");
EndFunction
@ -1652,6 +1660,19 @@ Function RelevantNodeType(Val NodeType)
EndFunction
Function GetEscapeSequencesMap()
CharacterMapping = New Map;
CharacterMapping.Insert("\n", Chars.LF);
CharacterMapping.Insert("\r", Chars.CR);
CharacterMapping.Insert("\f", Chars.FF);
CharacterMapping.Insert("\v", Chars.VTab);
Return CharacterMapping;
EndFunction
#Region AddinsManagement
Function InitializeAddIn(Val AddInName, Val Class, AddIn)

View File

@ -16445,7 +16445,7 @@
КонецПроцедуры
Процедура SQLite_УдалитьЗаписи(ПараметрыФункции)
База = ПараметрыФункции["SQLite_DB"];
Таблица = "test";
@ -16472,7 +16472,7 @@
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Проверка, "Проверка", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteНетЗаписей(Проверка);
КонецПроцедуры
#КонецОбласти

View File

@ -18321,7 +18321,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка поля)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteОшибка(Результат);
@ -18332,7 +18332,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка поля без транзакции)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteСтроки(Результат, 1);
@ -18342,7 +18342,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка json)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteОшибка(Результат);
@ -18398,7 +18398,7 @@
Сортировка = Новый Структура("created_at", "DESC");
Количество = 1;
Опции = Новый Структура;
Опции.Вставить("table" , Таблица);
Опции.Вставить("fields", Поля);
@ -18499,7 +18499,7 @@
КонецПроцедуры
Процедура CLI_SQLite_УдалитьЗаписи(ПараметрыФункции)
База = ПараметрыФункции["SQLite_DB"];
Таблица = "test";
@ -18535,7 +18535,7 @@
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Проверка, "Проверка", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteНетЗаписей(Проверка);
КонецПроцедуры
#КонецОбласти

View File

@ -2131,9 +2131,9 @@
КонецФункции
Функция ПолучитьОбщийМодуль(Знач Имя)
Модуль = Вычислить(Имя);
Возврат Модуль;
КонецФункции

View File

@ -1023,7 +1023,7 @@
Текст = СтрЗаменить(Текст, Символ.Значение, Символ.Ключ);
КонецЦикла;
КонецПроцедуры
Функция ЧислоВСтроку(Знач Число) Экспорт
@ -1661,16 +1661,16 @@
КонецФункции
Функция ПолучитьСоответствиеУправляющихПоследовательностей()
СоответствиеСимволов = Новый Соответствие;
СоответствиеСимволов.Вставить("\n", Символы.ПС);
СоответствиеСимволов.Вставить("\r", Символы.ВК);
СоответствиеСимволов.Вставить("\f", Символы.ПФ);
СоответствиеСимволов.Вставить("\v", Символы.ВТаб);
Возврат СоответствиеСимволов;
КонецФункции
#Область РаботаСВнешнимиКомпонентами

View File

@ -1023,7 +1023,7 @@
Текст = СтрЗаменить(Текст, Символ.Значение, Символ.Ключ);
КонецЦикла;
КонецПроцедуры
Функция ЧислоВСтроку(Знач Число) Экспорт
@ -1661,16 +1661,16 @@
КонецФункции
Функция ПолучитьСоответствиеУправляющихПоследовательностей()
СоответствиеСимволов = Новый Соответствие;
СоответствиеСимволов.Вставить("\n", Символы.ПС);
СоответствиеСимволов.Вставить("\r", Символы.ВК);
СоответствиеСимволов.Вставить("\f", Символы.ПФ);
СоответствиеСимволов.Вставить("\v", Символы.ВТаб);
Возврат СоответствиеСимволов;
КонецФункции
#Область РаботаСВнешнимиКомпонентами

View File

@ -16445,7 +16445,7 @@
КонецПроцедуры
Процедура SQLite_УдалитьЗаписи(ПараметрыФункции)
База = ПараметрыФункции["SQLite_DB"];
Таблица = "test";
@ -16472,7 +16472,7 @@
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Проверка, "Проверка", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteНетЗаписей(Проверка);
КонецПроцедуры
#КонецОбласти

View File

@ -18321,7 +18321,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка поля)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteОшибка(Результат);
@ -18332,7 +18332,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка поля без транзакции)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteСтроки(Результат, 1);
@ -18342,7 +18342,7 @@
Опции.Вставить("db" , База);
Результат = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("sqlite", "ДобавитьЗаписи", Опции);
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ДобавитьЗаписи (ошибка json)", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteОшибка(Результат);
@ -18398,7 +18398,7 @@
Сортировка = Новый Структура("created_at", "DESC");
Количество = 1;
Опции = Новый Структура;
Опции.Вставить("table" , Таблица);
Опции.Вставить("fields", Поля);
@ -18499,7 +18499,7 @@
КонецПроцедуры
Процедура CLI_SQLite_УдалитьЗаписи(ПараметрыФункции)
База = ПараметрыФункции["SQLite_DB"];
Таблица = "test";
@ -18535,7 +18535,7 @@
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Проверка, "Проверка", "SQLite");
OPI_ПолучениеДанныхТестов.Проверка_SQLiteНетЗаписей(Проверка);
КонецПроцедуры
#КонецОбласти