biuan SAP® BUSINESS ONE SDK
DTW Document
API Report Layout

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

SAP® B1 DI-API C# definition

public class ReportLayoutClass : IReportLayout, ReportLayout { public virtual BoYesNoEnum AllignFooterToBottom { get; set; } public virtual string Author { get; set; } public virtual string B1Version { get; set; } public virtual int BottomMargin { get; set; } public virtual ReportLayoutCategoryEnum Category { get; set; } public virtual int ChangeFontSizeForEMail { get; set; } public virtual int ChangeFontSizeInPreview { get; set; } public virtual BoYesNoEnum ConvertFontForEMail { get; set; } public virtual BoYesNoEnum ConvertFontInPrintPreview { get; set; } public virtual string CRVersion { get; set; } public virtual BoYesNoEnum Editable { get; } public virtual string EMailFont { get; set; } public virtual BoExtensionErrorActionEnum ExtensionErrorAction { get; set; } public virtual string ExtensionName { get; set; } public virtual string FollowUpReport { get; set; } public virtual BoYesNoEnum ForeignLanguageReport { get; set; } public virtual int GridSize { get; set; } public virtual BoGridTypeEnum GridType { get; set; } public virtual int Height { get; set; } public virtual int ImpExpObjCode { get; set; } public virtual int language { get; set; } public virtual string LayoutCode { get; } public virtual string LeaderReport { get; set; } public virtual int LeftMargin { get; set; } public virtual string Localization { get; set; } public virtual string Name { get; set; } public virtual int NumberOfCopies { get; set; } public virtual BoOrientationEnum Orientation { get; set; } public virtual string PaperSize { get; set; } public virtual string Picture { get; set; } public virtual string PreviewPrintingFont { get; set; } public virtual string Printer { get; set; } public virtual string PrinterFirstPage { get; set; } public virtual string Query { get; set; } public virtual BoQueryTypeEnum QueryType { get; set; } public virtual string Remarks { get; set; } public virtual int RepetitiveAreasNumber { get; } public virtual SAPbobsCOM.ReportLayoutItems ReportLayoutItems { get; set; } public virtual int RightMargin { get; set; } public virtual BoYesNoEnum ShowGrid { get; set; } public virtual BoYesNoEnum SnapToGrid { get; set; } public virtual BoYesNoEnum Sortable { get; } public virtual int TopMargin { get; set; } public virtual ReportLayout_TranslationLines TranslationLines { get; } public virtual string TypeCode { get; set; } public virtual string TypeDetail { get; set; } public virtual BoYesNoEnum UseFirstPrinter { get; set; } public virtual int Width { get; set; } public extern ReportLayoutClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

Related information


Report Layout Translation Lines ReportLayout_TranslationLines Collection
ReportLayout_TranslationLines Class
   Parent: Report Layout ReportLayout Object· Table: RDOC

Report Layout Items ReportLayoutItems Collection
A collection of ReportLayoutItem objects.
   Parent: Report Layout ReportLayout Object· Table: RDOC

Bo Extension Error Action Enum BoExtensionErrorActionEnum Enumeration
Sets or returns current definition of the action to be taken upon printer extension error.
   Parent: Report Layout ReportLayout Object· Table: RDOC

Bo Grid Type Enum BoGridTypeEnum Enumeration
Specifies the Grid type of reports layout.
   Parent: Report Layout ReportLayout Object· Table: RDOC

Bo Orientation Enum BoOrientationEnum Enumeration
Specifies Direction Orientation.
   Parent: Report Layout ReportLayout Object· Table: RDOC

Bo Query Type Enum BoQueryTypeEnum Enumeration
Specifies Query Type.
   Parent: Report Layout ReportLayout Object· Table: RDOC


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates