PdcProductReports.Open
From External Bemet Wiki
Contents |
Declaration
Open(aID as long,Aregister as Boolean) as PdcProductReport
Description
Notes
This function returns an existing product report. Input parameters: ID, the ID of the product report. Register, should be opend for read/write or readonly. Note that reporting finished products is not fully implemented yet. It is expected in version 4.3 or onwards.
Code example
This code example creates a new product report for production order 10200.
dim report set report = pdc.ProductRegistration.ProductReports.Open(125,false) if report.rejection then msgbox "Afkeur aantal: " & report.rejectionQuantity else msgbox "Aantal: " & report.Quantity end if set report = nothing
Availability
Available from version 4.0 onwards.