Обнаруженные ошибки в конфигурации 1C:Small Business 1.4.7.37 - 42

Страницы: 1 2 След.
RSS
Обнаруженные ошибки в конфигурации 1C:Small Business 1.4.7.37 - 42, Новый релиз - новые ошибки. Исправляем и пользуемся конфигурацией. Для наших английских коллег - in english.
 
1. Does not show the user settings.



How to fix:
Код
   - ***InformationRegister.UsersSettings.Form.UserConfigurationForm
    - Module - Values differ
     Changed: 11 - 11
     < "··NewRowOfSetting.Value = Selection.Setting.ValueType.AdjustValue(Selection.Value);"
     > "··NewRowOfSetting.Value = Selection.Settings.ValueType.AdjustValue(Selection.Value);"
     Changed: 35 - 38
     < "·|·Configure.Parent,"
     < "·|·Configure.Ref AS Setting,"
     < "·|·Configure.IsFolder AS IsFolder,"
     < "·|·NOT Settings.IsFolder AS PictureNo,"
     > "·|·USettings.Parent,"
     > "·|·USettings.Ref AS Settings,"
     > "·|·USettings.IsFolder AS IsFolder,"
     > "·|·NOT USettings.IsFolder AS PictureNo,"
     Changed: 44 - 44
     < "·|·ChartOfCharacteristicTypes.UsersSettings AS Configure"
     > "·|·ChartOfCharacteristicTypes.UsersSettings AS USettings"
     Changed: 46 - 46
     < "·|···ON (SettingsValue.Settings = Configure.Ref)"
     > "·|···ON (SettingsValue.Settings = USettings.Ref)"
     Changed: 50 - 51
     < "·|·NOT Configure.DeletionMark"
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainEntity)"
     > "·|·NOT USettings.DeletionMark"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainEntity)"
     Changed: 53 - 53
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainWarehouse)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainWarehouse)"
     Changed: 55 - 55
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainDepartment)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MainDepartment)"
     Changed: 57 - 57
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewCustomerOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewCustomerOrder)"
     Changed: 59 - 59
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewVendorOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewVendorOrder)"
     Changed: 61 - 61
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewProductionOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.StatusOfNewProductionOrder)"
     Changed: 63 - 65
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MultiplePickSetting)"
     < "·|····OR Settings.Parent = VALUE(ChartOfCharacteristicTypes.UsersSettings.MultiplePickSetting))"
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseAssigneesSalaryInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.MultiplePickSetting)"
     > "·|····OR USettings.Parent = VALUE(ChartOfCharacteristicTypes.UsersSettings.MultiplePickSetting))"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseAssigneesSalaryInWorkOrder)"
     Changed: 67 - 67
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseAssigneesSalaryInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseAssigneesSalaryInWorkOrder)"
     Changed: 69 - 69
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseMaterialsInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseMaterialsInWorkOrder)"
     Changed: 71 - 71
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseConsumerMaterialsInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseConsumerMaterialsInWorkOrder)"
     Changed: 73 - 73
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseProductsInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.UseProductsInWorkOrder)"
     Changed: 75 - 75
     < "·|·AND NOT(Settings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.JobKindPositionInWorkOrder)"
     > "·|·AND NOT(USettings.Ref = VALUE(ChartOfCharacteristicTypes.UsersSettings.JobKindPositionInWorkOrder)"
     Changed: 80 - 80
     < "·|·Settings.Description";"
     > "·|·USettings.Description";"
 
 
2. Unable to add or edit calendar. Cap list form is not filled.



How to fix:

1) Remove excess command panel.



2) Fill in the blank field "Main table" and check "Read data dynamically".



3) Refill form's Command bar (uncheck/check Autofill property).
 
3. Not filled in the items names of catalog "Accrual and deduction types"

How to fix:

Replace items names in Common module: InfoBaseUpdateMSF, like bellow

Цитата
If Not SmallBusinessServer.AccrualAndDeductionSortsInitialFillingPerformed() Then
 
 // Folders
 NewAccrual       = Catalogs.AccrualAndDeductionSorts.CreateFolder();
 NewAccrual.Description   = "Accrual";
 NewAccrual.Write();
 GroupAccrual      = NewAccrual.Ref;
 NewAccrual       = Catalogs.AccrualAndDeductionSorts.CreateFolder();
 NewAccrual.Description   = "Deductions";
 NewAccrual.Write();
 //
 NewAccrual      = Catalogs.AccrualAndDeductionSorts.CreateItem();
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Salary daily";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.AdministrativeExpenses;
 NewAccrual.Formula   = "[TariffRate] * [DaysWorked] / [NormDays]";
 NewAccrual.Write();
 
 //
 NewAccrual      = Catalogs.AccrualAndDeductionSorts.CreateItem();
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Salary hourly";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.IndirectExpenses;
 NewAccrual.Formula    = "[TariffRate] * [HoursWorked] / [NormHours]";
 NewAccrual.Write();
 //
 NewAccrual      = Catalogs.AccrualAndDeductionSorts.CreateItem();
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Payment by jobs";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.UnfinishedProduction;
 NewAccrual.Formula    = "[TariffRate] * [HoursWorkedByJobs]";
 NewAccrual.Write();
 //
 NewAccrualReference   = Catalogs.AccrualAndDeductionSorts.PieceRatePayment;
 NewAccrual     = NewAccrualReference.GetObject();
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Piecework payment (rate)";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.UnfinishedProduction;
 NewAccrual.Formula    = "";
 NewAccrual.Write();
 //
 NewAccrualReference   = Catalogs.AccrualAndDeductionSorts.PieceRatePaymentPercent;
 NewAccrual     = NewAccrualReference.GetObject();
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Piecework payment (% from amount)";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.UnfinishedProduction;
 NewAccrual.Formula    = "";
 NewAccrual.Write();
 
 //Create fixed amount
 NewAccrualReference   = Catalogs.AccrualAndDeductionSorts.FixedAmount;
 NewAccrual     = NewAccrualReference.GetObject();
 NewAccrual.Code    = "";
 NewAccrual.Parent    = GroupAccrual;
 NewAccrual.Description   = "Piece-payment (fixed amount)";
 NewAccrual.Type    = Enums.AccrualAndDeductionTypes.Accrual;
 NewAccrual.GLExpenseAccount = ChartsOfAccounts.Managerial.UnfinishedProduction;
 NewAccrual.Formula    = "[FixedAmount]";
 
 NewAccrual.SetNewCode();
 
 NewAccrual.Write();
 
EndIf;
 
4. For correct display of dates must be in the configuration replace the following lines: "DF=D" on "DF=d", "DF=DD" on "DF=dd", "DF='D MMMM'" on "DF='d MMMM'".
 
5. Queries mistake translation, eg:
Код
 |  LEFT JOIN Catalog.NomenclatureCharacteristics.AdditionalAttributes AS NomenclatureCharacteristicsAdditionalAttributes
  |  To TemporaryTablePrices.Characteristic = NomenclatureCharacteristicsAdditionalAttributes.Ref
You need to replace "To" => "ON".
 
6. Error in Data Processor "PriceList":

Код
  - ***DataProcessor.PriceList
   - ***DataProcessor.PriceList.Form.Form
    - Module - Values differ
     Changed: 415 - 415
     < "··DecorationTitle = "Множественный Filter Not filled with";"
     > "··DecorationTitle = "Filter not filled with";"
     Changed: 423 - 423
     < "··DecorationTitle = "selected item: " + String(Object[TabularSectionName][0].Ref);"
     > "··DecorationTitle = "Selected item: " + String(Object[TabularSectionName][0].Ref);"
   - ***DataProcessor.PriceList.Form.MultipleFiltersForm
    - Module - Values differ
     Changed: 40 - 40
     < "··DecorationTitle = "Множественный Filter Not filled with";"
     > "··DecorationTitle = "Filter not filled with";"
     Changed: 48 - 48
     < "··DecorationTitle = "selected item: " + String(Object[TabularSectionName][0].Ref);"
     > "··DecorationTitle = "Selected item: " + String(Object[TabularSectionName][0].Ref);"
     Changed: 256 - 256
     < "··NewRow.Reference·= Counterparty;"
     > "··NewRow.Ref·= Counterparty;"
     Changed: 275 - 275
     < "··NewRow.Reference·= PriceKind;"
     > "··NewRow.Ref·= PriceKind;"
     Changed: 294 - 294
     < "··NewRow.Reference·= PriceGroup;"
     > "··NewRow.Ref·= PriceGroup;"
 
7. Error while initial data filling at the configuration first launch.



The cause of this error is incorrect patterns of access rights to information registers and catalogs. See the figure below. Found similar errors in the configuration - three times. You can find them using the global search by phrase: "ByValuesEx".

 
8. Errors associated with translation requests:


You need to replace "BY" => "ON".
There are 5 similar situations. You can find them on the phrase: "BY (".
 
 9. Error when creating a new unit nomenclature from classifier:



How to fix: the problem in the Russian language template file that stores the list of world units.

 
10. Error when trying to view the production scheduler in "Diagram" mode:



How to fix:

Код
 
  - ***DataProcessor.Scheduler.Form.Form
   - Module - Values differ
    Changed: 262 - 262
    < "··GanttChart.ScaleSupport = GanttChartScaleKeeping.Period;"
    > "··GanttChart.ScaleKeeping = GanttChartScaleKeeping.Period;"
    Changed: 264 - 264
    < "··GanttChart.PeriodicVariantRatio = 5;"
    > "··GanttChart.PeriodicVariantRepetition = 5;"
    Changed: 304 - 304
    < "··NewTimeScaleItem.Multiplicity = 1;"
    > "··NewTimeScaleItem.Repetition = 1;  "
    Changed: 309 - 309
    < "··GanttChart.ScaleSupport = GanttChartScaleKeeping.Period;"
    > "··GanttChart.ScaleKeeping = GanttChartScaleKeeping.Period;"
    Changed: 311 - 311
    < "··GanttChart.PeriodicVariantRatio = 15;"
    > "··GanttChart.PeriodicVariantRepetition = 15;"
    Changed: 334 - 334
    < "··NewTimeScaleItem.Multiplicity = 1;"
    > "··NewTimeScaleItem.Repetition = 1;"
    Changed: 339 - 339
    < "··GanttChart.ScaleSupport = GanttChartScaleKeeping.Period;"
    > "··GanttChart.ScaleKeeping = GanttChartScaleKeeping.Period;"
    Changed: 341 - 341
    < "··GanttChart.PeriodicVariantRatio = 1;"
    > "··GanttChart.PeriodicVariantRepetition = 1;"
    Changed: 381 - 381
    < "··NewTimeScaleItem.Multiplicity = 1;"
    > "··NewTimeScaleItem.Repetition = 1;"
    Changed: 386 - 386
    < "··GanttChart.ScaleSupport=GanttChartScaleKeeping.Auto;"
    > "··GanttChart.ScaleKeeping=GanttChartScaleKeeping.Auto;"
    Changed: 417 - 417
    < "··NewTimeScaleItem.Multiplicity = 1;"
    > "··NewTimeScaleItem.Repetition = 1;"
    Changed: 431 - 431
    < "·GanttChartPlanLine.Update = False;"
    > "·GanttChartPlanLine.RefreshEnabled = False;"
    Changed: 447 - 454
    < "··DotValue = NStr("ru='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    < "·······+ Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    < "·······+ ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " from " "
    < "·······+ Format(Selection.Date, "DF=dd.MM.yy") + ") '");"
    > "··DotValue = NStr("en='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    > "······+ Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    > "······+ ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " from " "
    > "······+ Format(Selection.Date, "DF=dd.MM.yy") + ") ';""
    < "······+ "ru='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    < "······+ Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    < "······+ ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " от " "
    < "······+ Format(Selection.Date, "DF=dd.MM.yy") + ") '");"
    Changed: 489 - 489
    < "·GanttChartPlanLine.Update = True;"
    > "·GanttChartPlanLine.RefreshEnabled = True;"
    Changed: 2188 - 2188
    < "·GanttChartResourcesLoad.Update = False;"
    > "·GanttChartResourcesLoad.RefreshEnabled = False;"
    Changed: 2221 - 2228
    < "···Point.Text = NStr("ru='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    < "·······+ Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    < "·······+ ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " from " "
    < "·······+ Format(Selection.Date, "DF=dd.MM.yy") + ") '");"
    > "···Point.Text = NStr("en='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    > "·······  + Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    > "·······  + ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " from " "
    > "·······  + Format(Selection.Date, "DF=dd.MM.yy") + ") ';" "
    < "·······  + "ru='" + Format(Selection.Start, "DF=""HH:mm""") + " - ""
    < "·······  + Format(Selection.Finish, "DF=""HH:mm""") + " (№ ""
    < "·······  + ObjectPrefixationClientServer.GetNumberForPrinting(Selection.Number, True, True) + " от " "
    < "·······  + Format(Selection.Date, "DF=dd.MM.yy") + ") '");"
    Changed: 2274 - 2274
    < "·GanttChartResourcesLoad.Update = True;"
    > "·GanttChartResourcesLoad.RefreshEnabled = True;"
  - ***DataProcessor.Scheduler.Form.OrdersChoiceForm
   - Synonym - Values differ
    Base configuration
     Value: "en" - "orders""ru" - "Заказы"
    File
     Value: "en" - "Orders""ru" - "Заказы"
   - ***Elements
    - ***Form
     Title
     < "en" - "orders""ru" - "Заказы"
     > "en" - "Orders""ru" - "Заказы"
 
Страницы: 1 2 След.
Читают тему (гостей: 1)