K
K
Ksenia_Arh2020-01-20 16:51:20
1C-Enterprise
Ksenia_Arh, 2020-01-20 16:51:20

How to fix an error when viewing postings on a document in 1s: enterprise, bgu 1.0?

Good afternoon!
1С:Enterprise 8.3 (8.3.12.1855)
Accounting department of a state institution, edition 1.0 (1.0.60.4)
When viewing postings on a document (any document), an error occurs (see Figure 1)
5e25b04eb0646591787389.png
In more detail:
{General Module. Working with Dialogs. Module (2786) }: Error calling context method (GetForm)
Form = Processing.MovementAdjustment.GetForm("MainForm", Owner);
due to:
Module initialization error: Document.ChangeCFO_Calculations.ObjectModule
due to:
{Document.ChangeCFO_Calculations.ObjectModule(2236)}: Value is not an object type value (Reference)
Form = Processing.MovementCorrection.GetForm("MainForm", Owner);
Checking the modules did not reveal any errors.
I did Testing and fixing, it didn’t help either (Administration -> Testing and fixing, the following options (checkboxes) were set: Reindexing infobase tables, Checking the logical integrity of the infobase, Checking the referential integrity of the infobase, Recalculating totals, Restructuring infobase tables. And radio buttons Testing and fixing, Do not change, Do not change)) Can
you please tell me how to fix the error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2020-01-20
@Dementor

Testing and fixing will never help you in such situations. You have a bug in your code!
Go in the object module "Document.Change CFA_Calculations" to line 2236 and see what happens there. There is a "Reference" variable that is expected to be a reference, but it is "something else". Look at the code above - maybe this is a copy-paste and not all variables were renamed correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question