Deploy predefined report

StatusIDPriorityType
Closed31591MajorQuestion
ProfileReply
gabossoloClient

I cannot see my Predefinied report.

---------------------------------> InvoiceImportReport

[XafDisplayName("Facture d'importation")] [Description("Modèle facture d'importation")] public class InvoiceImportReport : XafariReport { }

public class InvoiceImportDataMinerOperation : DataMinerOperationBase
{
public override void CollectData()
{
ReportData.Parameters = Parameters;
base.CollectData();
}
}

[DomainComponent] [XafDisplayName("Paramètres de facture")] [EnabledInXasMode] [RegisterEntity] public interface InvoiceParameters : XafariReportParametersBase, IPathSupport
{
[XafDisplayName("Facture")] [VisibleInAllView(true)] [RuleRequiredField(DefaultContexts.Save)] Invoice Invoice { get; set; }
}

[XafDisplayName("Source des données Facture")] public class InvoiceImportData : XafariReportDataBase
{
[DevExpress.Xpo.DisplayName("Paramètres")] public InvoiceParameters Parameters { get; set; }

[XafDisplayName("Données de la facture")] [CollectDataSpecification("Oid = ?", "Parameters.Invoice.Oid", "CreatedOn:Ascending")] public IEnumerable InvoiceData { get; set; }
}

---------------------------------> CargoAirReportsModule

public sealed partial class CargoAirReportsModule : XafariModuleBase, IReportDeployerProvider
...
public IEnumerable GetReportDeployers()
{
yield return new XtraTemplateDeployer(
ReportModuleLocalizer.Active.GetLocalizedString(ReportModuleItemsStringId
.InvoiceImportReport));
}

Replies

UserDescriptionPosted On
gabossoloClient

It's fine now! I found the solution. Thanks for your support.

Regards,

× This ticket is closed.

Write US