Desktop version

Main > Forum > Learning > 1C Junior Developer Course > TASK3 IN 5.MODULE - JUNIOR DEVELOPER EXAM

Forum

Search UsersRules
TASK3 IN 5.MODULE - JUNIOR DEVELOPER EXAM
#1
Interested
Points:: 0
Joined:: Sep 30, 2020

Mr. Rupasov, I have completed Task3 ın 5.module as true,but system says that it is not completed.Can you see that please?

Also,5.Module nearly will finish.Can you control the module and can you say the wrong things me please.

Profile
#2
Active user
Points:: 0
Joined:: May 8, 2013

Hi Mesut,

This is what happened with this task. Here is the original Sales dynamic list query:

Code
SELECT
   Sales.Number AS Number,
   Sales.Date AS Date,
   Sales.AmountPaid AS AmountPaid,
   Sales.PaymentMethod AS PaymentMethod
FROM
   Document.Sales AS Sales


You added a parameter in there, and this is what you got:

Code
SELECT
   Sales.Date AS Date,
   Sales.Number AS Number,   
   Sales.AmountPaid AS AmountPaid,
   Sales.PaymentMethod AS PaymentMethod
FROM
   Document.Sales AS Sales
WHERE
   AmountPaid >= &Parameter
ORDER BY
   AmountPaid DESC


The problem is that in your query Date and Number fields are swapped. Our auto-check algorithm is sensitive to the fields order, so it sees it as a different query. Please, restore the original order of this two fields (Number goes first, Date goes second) and everything should work.

We'll think of making the auto-check algorithm order-insensitive in the future.

Thank you,
Konstantin

Profile
#3
Interested
Points:: 0
Joined:: Sep 30, 2020

Thank you very much!

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.