📚 SAP Business One SDK Help

ReportLayout Object
See Also  Members 

Description

Represents a layout for PLD or a layout/report for Crystal Reports.

Source table: RDOC

Object Model



Remarks

The ReportLayoutsService enables you to transfer PLD report layouts from one company to another. When transferring a system layout, change the following properties before adding the layout to the destination company:

  • Author: Change from System to a different name. If left unchanged, an exception is thrown.
  • Editable: Change from NO to Yes to make the new layout editable.
  • Name: Give the report layout a new name.

When this object is used to import a layout/report for Crystal Reports, the fields Name, TypeCode, Author and Category must be set. Set Category to Crystal Reports and set TypeCode to either RCRI (for standalone reports) or a document type (for layouts).

See Also