Пример #1
0
 protected void ClearChoice(string selectedElement)
 {
     m_BuyerOrderNumber           = "";
     m_IsValidBuyerOrderNumber    = false;
     m_BuyerOrderDate             = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidBuyerOrderDate      = false;
     m_SupplierOrderNumber        = "";
     m_IsValidSupplierOrderNumber = false;
     m_SupplierOrderDate          = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidSupplierOrderDate   = false;
     _validElement = selectedElement;
 }
Пример #2
0
 protected void ClearChoice(string selectedElement)
 {
     m_LocationName         = "";
     m_IsValidLocationName  = false;
     m_DepartureDate        = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDepartureDate = false;
     m_DepartureTime        = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidDepartureTime = false;
     m_ArrivalDate          = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidArrivalDate   = false;
     m_ArrivalTime          = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidArrivalTime   = false;
     _validElement          = selectedElement;
 }
Пример #3
0
        /// <summary>
        /// Initializes the class
        /// </summary>
        /// <remarks>
        /// This creates all the mandatory fields (populated with the default data)
        /// All Collection object are created.
        /// However any 1-n relationships (these are represented as collections) are
        /// empty. To comply with the schema these must be populated before the xml
        /// obtained from ToXml is valid against the schema C:\BTS\XSD\KORUS\DESADV_XSD.xsd.
        /// </remarks>
        protected override void Init()
        {
            DESADV_XSDLib.Registration.iRegistrationIndicator = 0;             // causes registration to take place
            m_BuyerOrderNumber           = "";
            m_IsValidBuyerOrderNumber    = false;
            m_BuyerOrderDate             = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidBuyerOrderDate      = false;
            m_SupplierOrderNumber        = "";
            m_IsValidSupplierOrderNumber = false;
            m_SupplierOrderDate          = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidSupplierOrderDate   = false;

            _validElement = "";
// ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

// Add Additional initialization code here...

// ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        }
Пример #4
0
        /// <summary>
        /// Initializes the class
        /// </summary>
        /// <remarks>
        /// This creates all the mandatory fields (populated with the default data) 
        /// All Collection object are created.
        /// However any 1-n relationships (these are represented as collections) are
        /// empty. To comply with the schema these must be populated before the xml
        /// obtained from ToXml is valid against the schema C:\BTS\XSD\KORUS\DESADV_XSD.xsd.
        /// </remarks>
        protected override void Init()
        {
            DESADV_XSDLib.Registration.iRegistrationIndicator = 0; // causes registration to take place
            m_DespatchAdviceNumber = "";
            m_IsValidDespatchAdviceNumber = false;
            m_DespatchAdviceDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidDespatchAdviceDate = false;
            m_DespatchAdviceTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
            m_IsValidDespatchAdviceTime = false;
            m_EstimatedDeliveryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidEstimatedDeliveryDate = false;
            m_EstimatedDeliveryTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
            m_IsValidEstimatedDeliveryTime = false;
            m_DeliveryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidDeliveryDate = false;
            m_CollectionDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidCollectionDate = false;
            m_DeliveryScheduledDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidDeliveryScheduledDate = false;
            m_BuyerOrderNumber = "";
            m_IsValidBuyerOrderNumber = false;
            m_BuyerOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidBuyerOrderDate = false;
            m_SupplierOrderNumber = "";
            m_IsValidSupplierOrderNumber = false;
            m_SupplierOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidSupplierOrderDate = false;
            m_DespatchNumber = "";
            m_IsValidDespatchNumber = false;
            m_DespatchDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidDespatchDate = false;
            m_InvoiceNumber = "";
            m_IsValidInvoiceNumber = false;
            m_ContractNumber = "";
            m_IsValidContractNumber = false;
            m_ContractDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidContractDate = false;
            m_PromotionReference = "";
            m_IsValidPromotionReference = false;
            m_DocumentFunctionCode = DESADV_XSDLib.Enumerations.DocumentFunctionCode.O;
            m_IsValidDocumentFunctionCode = false;
            m_Currency = "";
            m_IsValidCurrency = false;
            m_Remarks = "";
            m_IsValidRemarks = false;
            m_TransportDetails = null;
            m_Order_Measurement = null;

            _validElement = "";
            // ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            // Add Additional initialization code here...

            // ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        }
Пример #5
0
 protected void ClearChoice(string selectedElement)
 {
     m_DespatchAdviceNumber = "";
     m_IsValidDespatchAdviceNumber = false;
     m_DespatchAdviceDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDespatchAdviceDate = false;
     m_DespatchAdviceTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidDespatchAdviceTime = false;
     m_EstimatedDeliveryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidEstimatedDeliveryDate = false;
     m_EstimatedDeliveryTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidEstimatedDeliveryTime = false;
     m_DeliveryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDeliveryDate = false;
     m_CollectionDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidCollectionDate = false;
     m_DeliveryScheduledDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDeliveryScheduledDate = false;
     m_BuyerOrderNumber = "";
     m_IsValidBuyerOrderNumber = false;
     m_BuyerOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidBuyerOrderDate = false;
     m_SupplierOrderNumber = "";
     m_IsValidSupplierOrderNumber = false;
     m_SupplierOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidSupplierOrderDate = false;
     m_DespatchNumber = "";
     m_IsValidDespatchNumber = false;
     m_DespatchDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDespatchDate = false;
     m_InvoiceNumber = "";
     m_IsValidInvoiceNumber = false;
     m_ContractNumber = "";
     m_IsValidContractNumber = false;
     m_ContractDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidContractDate = false;
     m_PromotionReference = "";
     m_IsValidPromotionReference = false;
     m_DocumentFunctionCode = DESADV_XSDLib.Enumerations.DocumentFunctionCode.O;
     m_IsValidDocumentFunctionCode = false;
     m_Currency = "";
     m_IsValidCurrency = false;
     m_Remarks = "";
     m_IsValidRemarks = false;
     m_TransportDetails = null;
     m_Order_Measurement = null;
     _validElement = selectedElement;
 }
Пример #6
0
        /// <summary>
        /// Initializes the class
        /// </summary>
        /// <remarks>
        /// This creates all the mandatory fields (populated with the default data) 
        /// All Collection object are created.
        /// However any 1-n relationships (these are represented as collections) are
        /// empty. To comply with the schema these must be populated before the xml
        /// obtained from ToXml is valid against the schema C:\BTS\XSD\KORUS\DESADV_XSD.xsd.
        /// </remarks>
        protected override void Init()
        {
            DESADV_XSDLib.Registration.iRegistrationIndicator = 0; // causes registration to take place
            m_BuyerOrderNumber = "";
            m_IsValidBuyerOrderNumber = false;
            m_BuyerOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidBuyerOrderDate = false;
            m_SupplierOrderNumber = "";
            m_IsValidSupplierOrderNumber = false;
            m_SupplierOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidSupplierOrderDate = false;

            _validElement = "";
            // ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            // Add Additional initialization code here...

            // ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        }
Пример #7
0
 protected void ClearChoice(string selectedElement)
 {
     m_BuyerOrderNumber = "";
     m_IsValidBuyerOrderNumber = false;
     m_BuyerOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidBuyerOrderDate = false;
     m_SupplierOrderNumber = "";
     m_IsValidSupplierOrderNumber = false;
     m_SupplierOrderDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidSupplierOrderDate = false;
     _validElement = selectedElement;
 }
Пример #8
0
        /// <summary>
        /// Initializes the class
        /// </summary>
        /// <remarks>
        /// This creates all the mandatory fields (populated with the default data) 
        /// All Collection object are created.
        /// However any 1-n relationships (these are represented as collections) are
        /// empty. To comply with the schema these must be populated before the xml
        /// obtained from ToXml is valid against the schema C:\BTS\XSD\KORUS\DESADV_XSD.xsd.
        /// </remarks>
        protected override void Init()
        {
            DESADV_XSDLib.Registration.iRegistrationIndicator = 0; // causes registration to take place
            m_LineNumber = 0F;
            m_IsValidLineNumber = false;
            m_OrderLineNumber = 0F;
            m_IsValidOrderLineNumber = false;
            m_EAN = "";
            m_IsValidEAN = false;
            m_BuyerItemCode = "";
            m_IsValidBuyerItemCode = false;
            m_SupplierItemCode = "";
            m_IsValidSupplierItemCode = false;
            m_ManufacturerItemCode = "";
            m_IsValidManufacturerItemCode = false;
            m_PackageEAN = "";
            m_IsValidPackageEAN = false;
            m_DiscrepancyNatureCode = "";
            m_IsValidDiscrepancyNatureCode = false;
            m_DespatchedQuantity = 0F;
            m_IsValidDespatchedQuantity = false;
            m_OrderedQuantity = 0F;
            m_IsValidOrderedQuantity = false;
            m_MinimumOrderQuantity = 0F;
            m_IsValidMinimumOrderQuantity = false;
            m_InvoicedQuantity = 0F;
            m_IsValidInvoicedQuantity = false;
            m_DespatchedPackageQuantity = 0F;
            m_IsValidDespatchedPackageQuantity = false;
            m_OrderedPackageQuantity = 0F;
            m_IsValidOrderedPackageQuantity = false;
            m_DespatchedUnitPacksize = 0F;
            m_IsValidDespatchedUnitPacksize = false;
            m_OrderedUnitPacksize = 0F;
            m_IsValidOrderedUnitPacksize = false;
            m_ConsumerUnitPacksize = 0F;
            m_IsValidConsumerUnitPacksize = false;
            m_UnitOfMeasure = "";
            m_IsValidUnitOfMeasure = false;
            m_ItemDescription = "";
            m_IsValidItemDescription = false;
            m_AdditionalItemDescription = "";
            m_IsValidAdditionalItemDescription = false;
            m_UnitNetPrice = 0F;
            m_IsValidUnitNetPrice = false;
            m_UnitGrossPrice = "";
            m_IsValidUnitGrossPrice = false;
            m_TaxAmount = 0F;
            m_IsValidTaxAmount = false;
            m_NetAmount = 0F;
            m_IsValidNetAmount = false;
            m_GrossAmount = 0F;
            m_IsValidGrossAmount = false;
            m_OriginalAmount = 0F;
            m_IsValidOriginalAmount = false;
            m_TaxRate = 0F;
            m_IsValidTaxRate = false;
            m_TaxCategoryCode = DESADV_XSDLib.Enumerations.TaxCategoryCode.S;
            m_IsValidTaxCategoryCode = false;
            m_BatchNumber = "";
            m_IsValidBatchNumber = false;
            m_ExpiryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidExpiryDate = false;
            m_BestBeforeDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidBestBeforeDate = false;
            m_ProductionDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
            m_IsValidProductionDate = false;
            m_CountryOfOriginCode = "";
            m_IsValidCountryOfOriginCode = false;
            m_CustomsDeclarationNumber = "";
            m_IsValidCustomsDeclarationNumber = false;
            m_ContractNumber = "";
            m_IsValidContractNumber = false;
            m_CertificateNumber = "";
            m_IsValidCertificateNumber = false;
            m_SupplierLicenceNumber = "";
            m_IsValidSupplierLicenceNumber = false;
            m_SupplierLicenceValidityPeriod = "";
            m_IsValidSupplierLicenceValidityPeriod = false;
            m_SupplierLicenceIssuer = "";
            m_IsValidSupplierLicenceIssuer = false;

            _validElement = "";
            // ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            // Add Additional initialization code here...

            // ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
        }
Пример #9
0
 protected void ClearChoice(string selectedElement)
 {
     m_LineNumber = 0F;
     m_IsValidLineNumber = false;
     m_OrderLineNumber = 0F;
     m_IsValidOrderLineNumber = false;
     m_EAN = "";
     m_IsValidEAN = false;
     m_BuyerItemCode = "";
     m_IsValidBuyerItemCode = false;
     m_SupplierItemCode = "";
     m_IsValidSupplierItemCode = false;
     m_ManufacturerItemCode = "";
     m_IsValidManufacturerItemCode = false;
     m_PackageEAN = "";
     m_IsValidPackageEAN = false;
     m_DiscrepancyNatureCode = "";
     m_IsValidDiscrepancyNatureCode = false;
     m_DespatchedQuantity = 0F;
     m_IsValidDespatchedQuantity = false;
     m_OrderedQuantity = 0F;
     m_IsValidOrderedQuantity = false;
     m_MinimumOrderQuantity = 0F;
     m_IsValidMinimumOrderQuantity = false;
     m_InvoicedQuantity = 0F;
     m_IsValidInvoicedQuantity = false;
     m_DespatchedPackageQuantity = 0F;
     m_IsValidDespatchedPackageQuantity = false;
     m_OrderedPackageQuantity = 0F;
     m_IsValidOrderedPackageQuantity = false;
     m_DespatchedUnitPacksize = 0F;
     m_IsValidDespatchedUnitPacksize = false;
     m_OrderedUnitPacksize = 0F;
     m_IsValidOrderedUnitPacksize = false;
     m_ConsumerUnitPacksize = 0F;
     m_IsValidConsumerUnitPacksize = false;
     m_UnitOfMeasure = "";
     m_IsValidUnitOfMeasure = false;
     m_ItemDescription = "";
     m_IsValidItemDescription = false;
     m_AdditionalItemDescription = "";
     m_IsValidAdditionalItemDescription = false;
     m_UnitNetPrice = 0F;
     m_IsValidUnitNetPrice = false;
     m_UnitGrossPrice = "";
     m_IsValidUnitGrossPrice = false;
     m_TaxAmount = 0F;
     m_IsValidTaxAmount = false;
     m_NetAmount = 0F;
     m_IsValidNetAmount = false;
     m_GrossAmount = 0F;
     m_IsValidGrossAmount = false;
     m_OriginalAmount = 0F;
     m_IsValidOriginalAmount = false;
     m_TaxRate = 0F;
     m_IsValidTaxRate = false;
     m_TaxCategoryCode = DESADV_XSDLib.Enumerations.TaxCategoryCode.S;
     m_IsValidTaxCategoryCode = false;
     m_BatchNumber = "";
     m_IsValidBatchNumber = false;
     m_ExpiryDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidExpiryDate = false;
     m_BestBeforeDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidBestBeforeDate = false;
     m_ProductionDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidProductionDate = false;
     m_CountryOfOriginCode = "";
     m_IsValidCountryOfOriginCode = false;
     m_CustomsDeclarationNumber = "";
     m_IsValidCustomsDeclarationNumber = false;
     m_ContractNumber = "";
     m_IsValidContractNumber = false;
     m_CertificateNumber = "";
     m_IsValidCertificateNumber = false;
     m_SupplierLicenceNumber = "";
     m_IsValidSupplierLicenceNumber = false;
     m_SupplierLicenceValidityPeriod = "";
     m_IsValidSupplierLicenceValidityPeriod = false;
     m_SupplierLicenceIssuer = "";
     m_IsValidSupplierLicenceIssuer = false;
     _validElement = selectedElement;
 }
Пример #10
0
 protected void ClearChoice(string selectedElement)
 {
     m_LocationName = "";
     m_IsValidLocationName = false;
     m_DepartureDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidDepartureDate = false;
     m_DepartureTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidDepartureTime = false;
     m_ArrivalDate = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.date);
     m_IsValidArrivalDate = false;
     m_ArrivalTime = new LiquidTechnologies.Runtime.Net45.XmlDateTime(LiquidTechnologies.Runtime.Net45.XmlDateTime.DateType.time);
     m_IsValidArrivalTime = false;
     _validElement = selectedElement;
 }