public InventoryReservationReport(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; Init(syncEntity.Row); SetHeader(); }
public ContactPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; Init(syncEntity.Row); SetHeader(); }
public InventoryTransactions(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitializePage(syncEntity.Row); SetHeader(); }
public CreditorTransactions(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; Initialize(syncEntity.Row); SetHeader(); }
public WorkInstallationPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public InvSeriesBatch(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.pageMaster = syncEntity.Row; InitializeComponent(); Init(syncEntity.Row); SetHeader(); }
void ViewDocument(SynchronizeEntity sourceData, string header = null) { if (header == null) { header = string.Format("{0} {1}", Uniconta.ClientTools.Localization.lookup("View"), Uniconta.ClientTools.Localization.lookup("PhysicalVoucher")); } if (docViewer == null) { docViewer = new DocumentViewerWindow(api, header); docViewer.InitViewer(sourceData); docViewer.Owner = Application.Current.MainWindow; docViewer.Closing += delegate { docViewer.Owner = null; }; docViewer.Closed += delegate { docViewer = null; }; } if (DocumentViewerWindow.lastHeight != 0) { docViewer.Width = DocumentViewerWindow.lastWidth; docViewer.Height = DocumentViewerWindow.lastHeight; } if (DocumentViewerWindow.isMaximized) { docViewer.WindowState = WindowState.Maximized; } docViewer.Show(); }
public DebtorPaymentMandate(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public RegenerateOrderFromProjectPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { if (syncEntity != null) { InitPage(syncEntity.Row); } }
public CompanyUsers(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; CrudAPI Crudapi = new CrudAPI(session, syncEntity.Row as CompanyClient); Init(Crudapi); }
public ProjectTransactionPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { UnicontaBaseEntity master = syncEntity.Row; UnicontaBaseEntity argsProj = null; var proj = master as Uniconta.DataModel.Project; if (proj != null) { argsProj = proj; } else { var projectPosted = master as ProjectJournalPostedClient; if (projectPosted != null) { argsProj = projectPosted; } #if !SILVERLIGHT else { var WIPreport = master as UnicontaClient.Pages.ProjectTransLocalClient; if (WIPreport != null) { argsProj = WIPreport.ProjectRef; } } #endif } InitializePage(argsProj); SetHeader(); }
public DocsSendLogGridPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public InvItemStoragePage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; Init(syncEntity.Row); RemoveMenuItem(); }
public Invoices(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public InvVariantDetailPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { invMaster = (InvItemClient)syncEntity.Row; InitializeComponent(); Init(); SetHeader(); }
public UserDocsPage(SynchronizeEntity entity) : base(entity, true) { InitializeComponent(); synchronizeEntity = entity; InitPage(entity.Row); SetHeader(); }
public ProjectTransCategorySumPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; Init(syncEntity.Row); SetHeader(); }
public VoucherJournalLines(SynchronizeEntity entity) : base(entity, true) { this.syncEntity = entity; InitPage(syncEntity.Row); SetHeader(); }
public CreditorOpenTrans(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public ProjectOrders(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; InitPage(syncEntity.Row); SetHeader(); }
public DebtorOrderProjectLinePage(SynchronizeEntity syncEntity) : base(syncEntity, true) { if (syncEntity != null) { InitPage(syncEntity.Row); } }
public ProjectInvoiceProjectLinePage(SynchronizeEntity syncEntity) : base(syncEntity, true) { if (syncEntity != null) { InitPage(syncEntity.Row); } }
public PartInvItemsPage(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; if (syncEntity != null) { InitPage(syncEntity.Row); } SetHeader(); }
public CreditorStatement(SynchronizeEntity syncEntity) : base(syncEntity, true) { _master = syncEntity.Row as Uniconta.DataModel.Creditor; if (_master != null) { FromAccount = _master._Account; ToAccount = _master._Account; } Init(); SetHeader(); }
static SynchronizeEntity GetUserDoc(SynchronizeEntity syncEntity) { if (syncEntity.Row is InvItemClient) { var userDocClient = new UserDocsClient(); userDocClient.SetMaster(syncEntity.Row); syncEntity.Row = userDocClient; } return(syncEntity); }
public ProjInvProposal(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; if (syncEntity != null) { Init(syncEntity.Row); } SetHeader(); }
public AccountStatement2(SynchronizeEntity syncEntity) : base(syncEntity, true) { _master = syncEntity.Row as GLAccount; if (_master != null) { FromAccount = _master._Account; ToAccount = _master._Account; } Init(); SetHeader(); }
public DebtorOffers(SynchronizeEntity syncEntity) : base(syncEntity, true) { this.syncEntity = syncEntity; if (syncEntity != null) { Init(syncEntity.Row); } SetHeader(); }
public UserDocsPage3(SynchronizeEntity master) : base(true, GetUserDoc(master)) { this.DataContext = this; InitializeComponent(); var corasauMaster = master.Row; InitMaster(corasauMaster, true); Loaded += UserDocsPage3_Loaded; }
public TransactionReport(SynchronizeEntity master) : base(master, true) { this.DataContext = this; pageMaster = master; InitializeComponent(); var corasauMaster = master.Row; InitMaster(corasauMaster); Initialize(); }