PdcProductReport.Save: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
== Notes ==
== Notes ==


When the save returns false the error during saving is stored in PdcProductReport.Error.


== Code example ==
== Code example ==

Latest revision as of 10:10, 18 June 2012

Declaration

Save as Boolean

Description

Notes

When the save returns false the error during saving is stored in PdcProductReport.Error.

Code example

Sub CreateProductReport
dim objProductReport
  set objProjectReport = pdc.ProductRegistration.ProductReports.New
  objProjectReport.InternalReady = true
  objProjectReport.Quantity = 20
  if not objProjectReport.Save then
    msgbox objProjectReport.Error
  end if
  set objProjectReport = nothing
End Sub

Availability