Beispiel #1
0
        //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
        //Helper Methods

        /// <summary>
        /// Assign OneTime AppSettings from SoftwareVendorPluginSettings
        /// </summary>
        public static void InitSoftwareVendorPluginSettings()
        {
            bool debug = false;

            // Override SettingsApp with Defaults from SoftwareVendor Plugin
            AppSoftwareName          = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppSoftwareName), debug);
            AppCompanyName           = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppCompanyName), debug);
            AppCompanyPhone          = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppCompanyPhone), debug);
            AppCompanyEmail          = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppCompanyEmail), debug);
            AppCompanyWeb            = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppCompanyWeb), debug);
            AppSoftwareVersionFormat = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(AppSoftwareVersionFormat), debug);

            FileFormatDateTime = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(FileFormatDateTime), debug);
            FileFormatSaftPT   = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(FileFormatSaftPT), debug);

            DocumentsPadLength                      = FrameworkUtils.GetSoftwareVendorValueAsInt(nameof(DocumentsPadLength), debug);
            DateTimeFormatDocumentDate              = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(DateTimeFormatDocumentDate), debug);
            DateTimeFormatCombinedDateTime          = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(DateTimeFormatCombinedDateTime), debug);
            FinanceFinalConsumerFiscalNumber        = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(FinanceFinalConsumerFiscalNumber), debug);
            FinanceFinalConsumerFiscalNumberDisplay = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(FinanceFinalConsumerFiscalNumberDisplay), debug);
            DecimalFormatSAFTPT                     = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(DecimalFormatSAFTPT), debug);
            DecimalFormatGrossTotalSAFTPT           = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(DecimalFormatGrossTotalSAFTPT), debug);
            DecimalRoundTo                = FrameworkUtils.GetSoftwareVendorValueAsInt(nameof(DecimalRoundTo), debug);
            SaftProductCompanyTaxID       = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(SaftProductCompanyTaxID), debug);
            SaftSoftwareCertificateNumber = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(SaftSoftwareCertificateNumber), debug);
            SaftVersionPrefix             = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(SaftVersionPrefix), debug);
            SaftVersion        = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(SaftVersion), debug);
            HashControl        = FrameworkUtils.GetSoftwareVendorValueAsInt(nameof(HashControl), debug);
            TaxAccountingBasis = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(TaxAccountingBasis), debug);
            SaftCurrencyCode   = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(SaftCurrencyCode), debug);

            DocumentFinanceSeriesGenerationFactoryUseRandomAcronymPrefix = FrameworkUtils.GetSoftwareVendorValueAsBool(nameof(DocumentFinanceSeriesGenerationFactoryUseRandomAcronymPrefix), debug);
            DocumentFinanceSeriesGenerationFactoryAcronymLastSerieFormat = FrameworkUtils.GetSoftwareVendorValueAsString(nameof(DocumentFinanceSeriesGenerationFactoryAcronymLastSerieFormat), debug);
        }