PdcProductReport.Save

From External Bemet Wiki
Jump to navigation Jump to search

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