Desktop version

Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > Mistakes in Practical_developer_guide 1-20.pdf

Forum

Search UsersRules
Mistakes in Practical_developer_guide 1-20.pdf
#1
Active user
Points:: 0
Joined:: Apr 23, 2014

On page 411 in string:

Code
Material IN (
    SELECT 
        DocumentMaterialsAndServices.MaterialOrService 
    FROM 
        MaterialsAndServices) 
AND Warehouse = &Warehouse


On page 413 in string:
Code
Message.Text = String(- SelectionDetailRecords.QuantityBalance) + 
    " units shortage for """ + SelectionDetailRecords.Material + """ with """ +
     SelectionDetailRecords.PropertySet + """ property set.";

Profile
#2
Active user
Points:: 0
Joined:: Nov 3, 2011

Dmytro, thanks for the bug report. We will fix this in the next update of the Practical Developer Guide.

The correct script lines are:

Page 411:

Code
Material IN (
    SELECT
        DocumentMaterialsAndServices.MaterialOrService 
    FROM 
        DocumentMaterialsAndServices) 
AND Warehouse = &Warehouse 


Page 413:
Code
Message.Text = String(- SelectionDetailRecords.QuantityBalance) + 
    " units shortage for """ + SelectionDetailRecords.Material + """.";

Profile
#3
Active user
Points:: 0
Joined:: Apr 23, 2014

All right!

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.