Example #1
0
        public static string GetOrderRefTypeDescription(OrderReferenceType type)
        {
            string description = string.Empty;

            switch (type)
            {
            case OrderReferenceType.SWR:
            {
                description = "기상특보연계";
            }
            break;

            case OrderReferenceType.Cancel:
            {
                description = "발령취소";
            }
            break;

            case OrderReferenceType.Clear:
            {
                description = "해제경보";
            }
            break;

            case OrderReferenceType.None:
            default:
            {
            }
            break;
            }

            return(description);
        }
Example #2
0
 public OrderResponseSimpleType()
 {
     this.accountingCustomerPartyField = new CustomerPartyType();
     this.accountingSupplierPartyField = new SupplierPartyType();
     this.originatorCustomerPartyField = new CustomerPartyType();
     this.buyerCustomerPartyField      = new CustomerPartyType();
     this.sellerSupplierPartyField     = new SupplierPartyType();
     this.signatureField = new ObservableCollection <SignatureType>();
     this.additionalDocumentReferenceField = new ObservableCollection <DocumentReferenceType>();
     this.orderReferenceField     = new OrderReferenceType();
     this.accountingCostField     = new AccountingCostType();
     this.accountingCostCodeField = new AccountingCostCodeType();
     this.customerReferenceField  = new CustomerReferenceType();
     this.rejectionNoteField      = new ObservableCollection <RejectionNoteType>();
     this.acceptedIndicatorField  = new AcceptedIndicatorType();
     this.noteField               = new ObservableCollection <NoteType>();
     this.issueTimeField          = new IssueTimeType();
     this.issueDateField          = new IssueDateType();
     this.uUIDField               = new UUIDType();
     this.copyIndicatorField      = new CopyIndicatorType();
     this.idField                 = new IDType();
     this.profileExecutionIDField = new ProfileExecutionIDType();
     this.profileIDField          = new ProfileIDType();
     this.customizationIDField    = new CustomizationIDType();
     this.uBLVersionIDField       = new UBLVersionIDType();
     this.uBLExtensionsField      = new ObservableCollection <UBLExtensionType>();
 }
Example #3
0
        public OrderProvisionInfo()
        {
            // [2016-03-31] 기본 발령 정보를 시험으로 생성 - by Gonzi
            //this.mode = BasisData.FindOrderModeInfoByCode(CAPLib.StatusType.Actual);
            this.mode        = BasisData.FindOrderModeInfoByCode(CAPLib.StatusType.Test);
            this.messageType = MsgType.Alert;
            this.scope       = ScopeType.Public;

            this.disaster          = new Disaster();
            this.disaster.Category = new DisasterCategory();
            this.disaster.Kind     = new DisasterKind();

            this.refType     = new OrderReferenceType();
            this.refRecordID = string.Empty;
            this.msgTextInfo = new SendingMsgTextInfo();

            this.targetRegions = new List <RegionDefinition>();
            this.targetSystems = new List <SASProfile>();
            this.circle        = new List <AdengGE.CircleInfo>();

            this.orderLocationKind = OrderLocationKind.Local;

            this.targetSystemsKinds = new List <SASKind>();

            this.tag = null;
        }
 public CreditNoteType()
 {
     this._creditNoteLine                 = new List <CreditNoteLineType>();
     this._legalMonetaryTotal             = new MonetaryTotalType();
     this._taxTotal                       = new List <TaxTotalType>();
     this._allowanceCharge                = new List <AllowanceChargeType>();
     this._paymentAlternativeExchangeRate = new ExchangeRateType();
     this._paymentExchangeRate            = new ExchangeRateType();
     this._pricingExchangeRate            = new ExchangeRateType();
     this._taxExchangeRate                = new ExchangeRateType();
     this._paymentTerms                   = new List <PaymentTermsType>();
     this._paymentMeans                   = new List <PaymentMeansType>();
     this._deliveryTerms                  = new List <DeliveryTermsType>();
     this._delivery                       = new List <DeliveryType>();
     this._taxRepresentativeParty         = new PartyType();
     this._sellerSupplierParty            = new SupplierPartyType();
     this._buyerCustomerParty             = new CustomerPartyType();
     this._payeeParty                     = new PartyType();
     this._accountingCustomerParty        = new CustomerPartyType();
     this._accountingSupplierParty        = new SupplierPartyType();
     this._signature                      = new List <SignatureType>();
     this._originatorDocumentReference    = new List <DocumentReferenceType>();
     this._statementDocumentReference     = new List <DocumentReferenceType>();
     this._additionalDocumentReference    = new List <DocumentReferenceType>();
     this._contractDocumentReference      = new List <DocumentReferenceType>();
     this._receiptDocumentReference       = new List <DocumentReferenceType>();
     this._despatchDocumentReference      = new List <DocumentReferenceType>();
     this._billingReference               = new List <BillingReferenceType>();
     this._orderReference                 = new OrderReferenceType();
     this._discrepancyResponse            = new List <ResponseType>();
     this._invoicePeriod                  = new List <PeriodType>();
     this._buyerReference                 = new BuyerReferenceType();
     this._lineCountNumeric               = new LineCountNumericType();
     this._accountingCost                 = new AccountingCostType();
     this._accountingCostCode             = new AccountingCostCodeType();
     this._paymentAlternativeCurrencyCode = new PaymentAlternativeCurrencyCodeType();
     this._paymentCurrencyCode            = new PaymentCurrencyCodeType();
     this._pricingCurrencyCode            = new PricingCurrencyCodeType();
     this._taxCurrencyCode                = new TaxCurrencyCodeType();
     this._documentCurrencyCode           = new DocumentCurrencyCodeType();
     this._note = new List <NoteType>();
     this._creditNoteTypeCode = new CreditNoteTypeCodeType();
     this._taxPointDate       = new TaxPointDateType();
     this._issueTime          = new IssueTimeType();
     this._issueDate          = new IssueDateType();
     this._uUID               = new UUIDType();
     this._copyIndicator      = new CopyIndicatorType();
     this._id                 = new IDType();
     this._profileExecutionID = new ProfileExecutionIDType();
     this._profileID          = new ProfileIDType();
     this._customizationID    = new CustomizationIDType();
     this._uBLVersionID       = new UBLVersionIDType();
     this._uBLExtensions      = new List <UBLExtensionType>();
 }
Example #5
0
 public DebitNoteType()
 {
     this.debitNoteLineField          = new ObservableCollection <DebitNoteLineType>();
     this.requestedMonetaryTotalField = new MonetaryTotalType();
     this.taxTotalField = new ObservableCollection <TaxTotalType>();
     this.paymentAlternativeExchangeRateField = new ExchangeRateType();
     this.paymentExchangeRateField            = new ExchangeRateType();
     this.pricingExchangeRateField            = new ExchangeRateType();
     this.taxExchangeRateField                = new ExchangeRateType();
     this.paymentTermsField                   = new ObservableCollection <PaymentTermsType>();
     this.paymentMeansField                   = new ObservableCollection <PaymentMeansType>();
     this.deliveryTermsField                  = new ObservableCollection <DeliveryTermsType>();
     this.deliveryField                       = new ObservableCollection <DeliveryType>();
     this.allowanceChargeField                = new ObservableCollection <AllowanceChargeType>();
     this.prepaidPaymentField                 = new ObservableCollection <PaymentType>();
     this.taxRepresentativePartyField         = new PartyType();
     this.sellerSupplierPartyField            = new SupplierPartyType();
     this.buyerCustomerPartyField             = new CustomerPartyType();
     this.payeePartyField                     = new PartyType();
     this.accountingCustomerPartyField        = new CustomerPartyType();
     this.accountingSupplierPartyField        = new SupplierPartyType();
     this.signatureField                      = new ObservableCollection <SignatureType>();
     this.additionalDocumentReferenceField    = new ObservableCollection <DocumentReferenceType>();
     this.contractDocumentReferenceField      = new ObservableCollection <DocumentReferenceType>();
     this.statementDocumentReferenceField     = new ObservableCollection <DocumentReferenceType>();
     this.receiptDocumentReferenceField       = new ObservableCollection <DocumentReferenceType>();
     this.despatchDocumentReferenceField      = new ObservableCollection <DocumentReferenceType>();
     this.billingReferenceField               = new ObservableCollection <BillingReferenceType>();
     this.orderReferenceField                 = new OrderReferenceType();
     this.discrepancyResponseField            = new ObservableCollection <ResponseType>();
     this.invoicePeriodField                  = new ObservableCollection <PeriodType>();
     this.lineCountNumericField               = new LineCountNumericType();
     this.accountingCostField                 = new AccountingCostType();
     this.accountingCostCodeField             = new AccountingCostCodeType();
     this.paymentAlternativeCurrencyCodeField = new PaymentAlternativeCurrencyCodeType();
     this.paymentCurrencyCodeField            = new PaymentCurrencyCodeType();
     this.pricingCurrencyCodeField            = new PricingCurrencyCodeType();
     this.taxCurrencyCodeField                = new TaxCurrencyCodeType();
     this.documentCurrencyCodeField           = new DocumentCurrencyCodeType();
     this.taxPointDateField                   = new TaxPointDateType();
     this.noteField               = new ObservableCollection <NoteType>();
     this.issueTimeField          = new IssueTimeType();
     this.issueDateField          = new IssueDateType();
     this.uUIDField               = new UUIDType();
     this.copyIndicatorField      = new CopyIndicatorType();
     this.idField                 = new IDType();
     this.profileExecutionIDField = new ProfileExecutionIDType();
     this.profileIDField          = new ProfileIDType();
     this.customizationIDField    = new CustomizationIDType();
     this.uBLVersionIDField       = new UBLVersionIDType();
     this.uBLExtensionsField      = new ObservableCollection <UBLExtensionType>();
 }
Example #6
0
 public OrderChangeType()
 {
     this.orderLineField = new ObservableCollection <OrderLineType>();
     this.anticipatedMonetaryTotalField = new MonetaryTotalType();
     this.taxTotalField                     = new ObservableCollection <TaxTotalType>();
     this.destinationCountryField           = new CountryType();
     this.paymentExchangeRateField          = new ExchangeRateType();
     this.pricingExchangeRateField          = new ExchangeRateType();
     this.taxExchangeRateField              = new ExchangeRateType();
     this.allowanceChargeField              = new ObservableCollection <AllowanceChargeType>();
     this.transactionConditionsField        = new TransactionConditionsType();
     this.paymentTermsField                 = new ObservableCollection <PaymentTermsType>();
     this.paymentMeansField                 = new ObservableCollection <PaymentMeansType>();
     this.deliveryTermsField                = new DeliveryTermsType();
     this.deliveryField                     = new ObservableCollection <DeliveryType>();
     this.accountingSupplierPartyField      = new SupplierPartyType();
     this.accountingCustomerPartyField      = new CustomerPartyType();
     this.freightForwarderPartyField        = new PartyType();
     this.originatorCustomerPartyField      = new CustomerPartyType();
     this.sellerSupplierPartyField          = new SupplierPartyType();
     this.buyerCustomerPartyField           = new CustomerPartyType();
     this.signatureField                    = new ObservableCollection <SignatureType>();
     this.contractField                     = new ObservableCollection <ContractType>();
     this.additionalDocumentReferenceField  = new ObservableCollection <DocumentReferenceType>();
     this.originatorDocumentReferenceField  = new DocumentReferenceType();
     this.quotationDocumentReferenceField   = new DocumentReferenceType();
     this.orderReferenceField               = new OrderReferenceType();
     this.validityPeriodField               = new ObservableCollection <PeriodType>();
     this.lineCountNumericField             = new LineCountNumericType();
     this.accountingCostField               = new AccountingCostType();
     this.accountingCostCodeField           = new AccountingCostCodeType();
     this.customerReferenceField            = new CustomerReferenceType();
     this.taxCurrencyCodeField              = new TaxCurrencyCodeType();
     this.pricingCurrencyCodeField          = new PricingCurrencyCodeType();
     this.documentCurrencyCodeField         = new DocumentCurrencyCodeType();
     this.requestedInvoiceCurrencyCodeField = new RequestedInvoiceCurrencyCodeType();
     this.noteField             = new ObservableCollection <NoteType>();
     this.sequenceNumberIDField = new SequenceNumberIDType();
     this.issueTimeField        = new IssueTimeType();
     this.issueDateField        = new IssueDateType();
     this.uUIDField             = new UUIDType();
     this.copyIndicatorField    = new CopyIndicatorType();
     this.salesOrderIDField     = new SalesOrderIDType();
     this.idField = new IDType();
     this.profileExecutionIDField = new ProfileExecutionIDType();
     this.profileIDField          = new ProfileIDType();
     this.customizationIDField    = new CustomizationIDType();
     this.uBLVersionIDField       = new UBLVersionIDType();
     this.uBLExtensionsField      = new ObservableCollection <UBLExtensionType>();
 }
Example #7
0
        public void DeepCopyFrom(OrderRecord src)
        {
            System.Diagnostics.Debug.Assert(src != null);

            this.capID            = src.capID;
            this.orderedTime      = src.orderedTime;
            this.orderMode        = src.OrderMode;
            this.locationKind     = src.locationKind;
            this.refType          = src.refType;
            this.refRecordID      = src.refRecordID;
            this.disasterKindCode = src.disasterKindCode;
            this.clearState       = src.clearState;
            this.capText          = src.capText;
        }
Example #8
0
        public OrderReferenceType getOrderReferenceType()
        {
            OrderReferenceType ORT = null;

            for (int i = 1; i < (VD.re + 1); ++i)
            {
                if (Interface.ContainsKey("RefTpoDoc" + i))
                {
                    if (Interface["RefTpoDoc" + i] == "105")
                    {
                        ORT    = new OrderReferenceType();
                        ORT.ID = new IDType()
                        {
                            Value = Interface["RefID" + i]
                        };
                        return(ORT);
                    }
                }
            }
            return(ORT);
        }