PdcProductReports.New
Declaration
New as PdcProductReport
Description
Notes
This function return a new product report object. The product report object has two different reportstates, Report finished products or normal reports (of an operation). 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 productionorder 10200.
dim report
set report = pdc.ProductRegistration.ProductReports.New
report.ProductionNumber = "10200"
report.ContactID = "000000210"
report.Save
Availability
Available from version 4.0 onwards.