| | |
| | | import { loadStyle } from "lightning/platformResourceLoader"; |
| | | import WrappedHeaderTable from "@salesforce/resourceUrl/lexdatatable"; |
| | | |
| | | import ConsumableOutboundReportId from '@salesforce/label/c.ConsumableOutboundReportId'; |
| | | const customLabel = { |
| | | ConsumableOutboundReportId |
| | | } |
| | | |
| | | export default class LexSummonsCreat extends NavigationMixin(LightningElement) { |
| | | @track label = customLabel; |
| | | @track isShowSpinner = true; |
| | | @track isEditShowSpinner = false; |
| | | @track showResults = true; |
| | |
| | | var reportId = this.ESetid; |
| | | reportId = reportId.substring(0, 15); |
| | | let reportFilters = '[{"operator":"equals","value":"' + reportId + '","column":"FK_CUSTENT_ID"}]'; |
| | | let url = "/report/00O0l000000zZtpEAE?reportFilters=" + encodeURIComponent(reportFilters); |
| | | let reportUrl = this.label.ConsumableOutboundReportId; |
| | | console.log("reportUrl = " + reportUrl); |
| | | let url = "/report/" + reportUrl + "?reportFilters=" + encodeURIComponent(reportFilters); |
| | | console.log("url = " + url); |
| | | this[NavigationMixin.Navigate]({ |
| | | type: "standard__webPage", |