Пример #1
0
        /// <summary>
        /// Prints GRV, SRM or Delivery Note
        /// </summary>
        private void PrintConfirmation(int?reprintOfReceiptConfirmationPrintoutID)
        {
            String     reference = gridReceiveView.GetFocusedDataRow()["RefNo"].ToString();
            int        receiptID = Convert.ToInt32(gridReceiveView.GetFocusedDataRow()["ReceiptID"].ToString());
            XtraReport report    = WorkflowReportFactory.PrintReceiptConfirmation(CurrentContext.LoggedInUserName, receiptID, reprintOfReceiptConfirmationPrintoutID, false, FiscalYear.Current);

            BindFormContents();
        }