ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation ETL01010 DWM 3 Sales Fact Customer Behavioral Segmenta�on This is a PHYSICAL en�ty model that shows how the SALES FACT tables for the ARTS DW V3 model are derived. 1, 1 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation Customer CustomerID: INTEGER Identity ConsumerrConversionStateID: INTEGER Identity (FK) PartyID: INTEGER Identity (FK) AnonymousFlag: INTEGER Flag KeyCustomer CustomerID: INTEGER Identity (FK) PrivacyOptOutCode: CHAR(2) Code2 ConsumerRegistrationStateID: INTEGER Identity (FK) Session SessionID: INTEGER Identity WorkstationID: INTEGER Identity (FK) OperatorID: INTEGER Identity (FK) SessionStartTransactionID.TransactionID: CHAR(32) IdentityUUID (FK) SessionEndTransactionID.TransactionID: CHAR(32) IdentityUUID (FK) SessionStartDateTimestamp: datetime EffectiveDateTime SessionEndDateTimestamp: datetime ExpirationDateTime GrossPositiveTotalAmount: DECIMAL(16,5) Money GrossNegativeTotalAmount: DECIMAL(16,5) Money TotalTransactionCount: DECIMAL(7,0) QuantityTransactionCount LineItemVoidTotalAmount: DECIMAL(16,5) Money TotalLineItemVoidCount: DECIMAL(7,0) QuantityTransactionCount PostTransactionVoidTotalAmount: DECIMAL(16,5) Money TotalPostTransactionVoidCount: DECIMAL(7,0) QuantityTransactionCount TransactionVoidTotalAmount: DECIMAL(16,5) Money TotalTransactionVoidCount: DECIMAL(7,0) QuantityTransactionCount TenderLoanTotalAmount: DECIMAL(16,5) Money TotalTenderLoanCount: DECIMAL(7,0) QuantityTransactionCount TenderPickupTotalAmount: DECIMAL(16,5) Money TotalTenderPickupCount: DECIMAL(7,0) QuantityTransactionCount ReturnTotalAmount: DECIMAL(16,5) Money TotalReturnCount: DECIMAL(7,0) QuantityTransactionCount RefundTotalAmount: DECIMAL(16,5) Money TotalRefundCount: DECIMAL(7,0) QuantityTransactionCount EmployeeDiscountTotalAmount: DECIMAL(16,5) Money TotalEmployeeDiscountCount: DECIMAL(7,0) QuantityTransactionCount MiscellaneousDiscountTotalAmount: DECIMAL(16,5) Money TotalMiscellaneousDiscountCount: DECIMAL(7,0) QuantityTransactionCount StoreCouponTotalAmount: DECIMAL(16,5) Money TotalStoreCouponCount: DECIMAL(7,0) QuantityTransactionCount RedeemedContainerDepositTotalAmount: DECIMAL(16,5) Money TotalRedeemedContainerDepositCount: DECIMAL(7,0) QuantityTransactionCount MarkdownTotalAmount: DECIMAL(16,5) Money TotalMarkdownCount: DECIMAL(7,0) QuantityTransactionCount NetSalesTotalAmount: DECIMAL(16,5) Money MiscellaneousFeeTotalAmount: DECIMAL(16,5) Money TotalMiscellaneousFeeCount: DECIMAL(7,0) QuantityTransactionCount ContainerDepositTotalAmount: DECIMAL(16,5) Money TotalContainerDepositCount: DECIMAL(7,0) QuantityTransactionCount PaymentsCollectedTotalAmount: DECIMAL(16,5) Money TotalPaymentsCollectedCount: DECIMAL(7,0) QuantityTransactionCount LayawayPaymentsCollectedTotalAmount: DECIMAL(16,5) Money TotalLayawayPaymentsCollectedCount: DECIMAL(7,0) QuantityTransactionCount PettyCashDisbursementTotalAmount: DECIMAL(16,5) Money TotalPettyCashDisbursementLineItemCount: DECIMAL(7,0) QuantityTransactionCount GrossSalesExTaxTotalAmount: DECIMAL(16,5) Money TaxTotalAmount: DECIMAL(16,5) Money TaxExemptTotalAmount: DECIMAL(16,5) Money TotalTaxExemptTransactionCount: DECIMAL(7,0) QuantityTransactionCount TotalLineItemOverrideCount: DECIMAL(7,0) QuantityTransactionCount TotalWeighedLineItemCount: DECIMAL(7,0) QuantityTransactionCount TotalLineItemKeyedCount: DECIMAL(7,0) QuantityTransactionCount TotalLineItemScannedCount: DECIMAL(7,0) QuantityTransactionCount TotalLineItemKeyedPercentage: DECIMAL(7,4) Percent TotalLineItemScannedPercentage: DECIMAL(7,4) Percent TotalLineItemOpenDepartmentCount: DECIMAL(7,0) QuantityTransactionCount TotalLineItemOpenDepartmentPercentage: DECIMAL(7,4) Percent 1, 2 / 5, 6 -- 13:34:40 , 2021/3/24 Transaction TransactionID: CHAR(32 BusinessUnitID: INTEGE BusinessDayDate: DAT WorkstationID: INTEGE SequenceNumber: INTE ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation METARWeatherForecast METARWeatherForecastID: INTEGER Identity ForecastPeriodEndDateTime: datetime ExpirationDateTime (AK1.3) ForecastPeriodStartDateTime: DATE EffectiveDate (AK1.2) ICAOcode: CHAR(4) Code4External (FK) (AK1.1) WeatherConditionTypeCode: VARCHAR(20) Code (FK) WeatherEmergencyRemarks: VARCHAR(4000) DescriptionNarrative CreateDateTime: datetime AuditDateTime LastUpdateDateTime: datetime AuditDateTime WeatherForecastOrigin: VARCHAR(40) Name ForecastStatusCode: VARCHAR(20) Code METARWeatherCondition METARWeatherCondiitionID: INTEGER Identity Reporting.ICAOcode: CHAR(4) Code4External (FK) (AK1.1) CalendarYear: CHAR(4) DateCalendarYear (AK1.2) CalendarMonth: CHAR(2) DateCalendarMonth (AK1.3) UniversalReportingTime: CHAR(7) UniversalTime (AK1.4) WeatherConditionTypeCode: VARCHAR(20) Code (FK) METARWindConditionCode: VARCHAR(20) Code METARVisibilityCode: VARCHAR(20) Code METARWeatherConditionCode: VARCHAR(20) Code METARCloudConditionCode: CHAR(4) Code4External METARTemperatureDewPoint: VARCHAR(20) Code METARWeatherRemarksDescription: VARCHAR(255) DescriptionShort R(32) IdentityUUID TEGER Identity (FK) (AK1.1) DATE DateCalendar (FK) (AK1.2) EGER Identity (FK) (AK1.3) NTEGER Number (AK1.4) 1, 3 / 5, 6 -- 13:34:40 , 2021/3/24 WalletShareEstima WalletShareID: INTEGER CustomerID: INTEGER Id ReportingPeriodID: INTEG MerchandiseHierarchyGro CreateDateTime: datetime SourceDataDescription: V EstimationMethodologyNa EstimatedWalletAmount: D EffectiveDate: DATE Effec ExpirationDate: DATE Exp StatusCode: CHAR(2) Co RetailVerticalCategoryCod ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation CustomerAssetAssociation CustomerAsset CustomerID: INTEGER Identity (FK) CustomerAssetID: INTEGER Identity (FK) CustomerAssetID: INTEGER Identity Description: VARCHAR(4000) DescriptionNarrative Make: VARCHAR(255) DescriptionShort Model: VARCHAR(255) DescriptionShort FeatureStyle: VARCHAR(255) DescriptionShort FeatureColor: VARCHAR(255) DescriptionShort OwnedSinceDate: DATE DateCalendar VerifiedDate: DATE DateCalendar mate GER Identity R Identity (FK) TEGER Identity (FK) yGroupID: INTEGER Identity (FK) etime AuditDateTime n: VARCHAR(255) DescriptionShort gyNarrative: VARCHAR(4000) DescriptionNarrative unt: DECIMAL(16,5) Money EffectiveDate ExpirationDate ) Code2Status yCode: VARCHAR(20) Code (FK) CustomerOccasionType CustomerOccasionTypeCode: CHAR(6) Code6 CustomerOccasion Name: VARCHAR(40) Name Description: VARCHAR(4000) DescriptionNarrative CustomerOccasionTypeCode: CHAR(6) Code6 (FK) CustomerID: INTEGER Identity (FK) CustomerOccasionDate: DATE DateCalendar CustomerGiftRegistry GiftRegistryID: INTEGER Identity CustomerID: INTEGER Identity (FK) CustomerOccasionDate: DATE DateCalendar (FK) Date: DATE DateCalendar CustomerOccasionTypeCode: CHAR(6) Code6 (FK) GiftRegistryLineItem 1, 4 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation e 1, 5 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 1, 6 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation CustomerAccount CustomerAccountID: INTEGER Identity FinancialLedgerAccountID: INTEGER Identity (FK) CustomerAccountName: VARCHAR(40) Name CustomerAccountTypeCode: VARCHAR(20) Code (FK) CustomerID: INTEGER Identity (FK) CustomerAccountEffectiveDate: datetime EffectiveDateTime CustomerAccountExpirationDate: DATE ExpirationDate StatusCode: CHAR(2) Code2Status UnpaidBalanceInterestRatePercent: DECIMAL(7,4) Percent GracePeriodDayCount: DECIMAL(3,0) QuantityDayCount CustomerAccountTypeCode Z_CustomerLoyaltyAccount CustomerAccountID: INTEGER Identity (FK) EffectiveDate: DATE EffectiveDate ExpirationDate: DATE ExpirationDate StatusCode: CHAR(2) Code2Status ZCustomerLoyaltyTier LoyaltyProgramID: INTEGER Identity (FK) LoyaltyProgramRelativeValueCode: CHAR(2) Code2 LoyaltyProgramTierName: VARCHAR(40) Name LoyaltyTierNarrative: VARCHAR(4000) DescriptionNarrative MinimumPointsBalance: DECIMAL(9,3) Quantity ZCustomerLoyaltyAccountTierStatus LoyaltyProgramRelativeValueCode: CHAR(2) Code2 (FK) LoyaltyProgramID: INTEGER Identity (FK) CustomerAccountID: INTEGER Identity (FK) StatusCode: CHAR(2) Code2Status EffectiveDate: DATE EffectiveDate ExpirationDate: DATE ExpirationDate 2, 1 / 5, 6 -- 13:34:40 , 2021/3/24 ZLoyaltyProgramAccount LoyaltyProgramID: INTEGER Identity (FK) CustomerAccountID: INTEGER Identity (FK) EffectiveDate: DATE EffectiveDate ExpirationDate: DATE ExpirationDate StatusCode: CHAR(2) Code2Status ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation TotalLineItemOpenDepartmentPercentage: DECIMAL(7,4) Percent TotalNoSaleTransactionCount: DECIMAL(7,0) QuantityTransactionCount TotalRingTime: DECIMAL(5,0) QuantityShortCountSeconds TotalIdleTime: DECIMAL(5,0) QuantityShortCountSeconds TotalLockTime: DECIMAL(5,0) QuantityShortCountSeconds TotalSaleLineItemCount: DECIMAL(7,0) QuantityTransactionCount SequenceNumber: INTE RevenueCostCenterID: TransactionTypeCode: C BeginDateTimestamp: d EndDateTimestamp: da VoidedFlag: INTEGER F CancelledFlag: INTEGE SuspendedFlag: INTEG TrainingFlag: INTEGER KeyedOfflineFlag: CHAR METARWeatherCondiiti METARWeatherForecas ForceFlag: INTEGER Fl LogoID: INTEGER Ident BatchID: VARCHAR(255 SessionID: INTEGER Id Z_CustomerMembershipEarnedRewardJournal LoyaltyProgramAccountSaleReturnItemLinkID: INTEGER Identity TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) Earning.(RetailTransactionLineItemSequenceNumber,TransactionID): SMALLINT LineNumber (FK) PointsEarnedQuantity: INTEGER QuantityInteger RewardPointsEarnedQuantity: INTEGER QuantityInteger CustomerRewardProgramTierCode: VARCHAR(20) Code (FK) MembershipProgramID: INTEGER Identity (FK) LevelNumber: INTEGER Number (FK) CustomerMembeshiprProgramAccountID: INTEGER Identity (FK) K) ZCustom Transaction RetailTrans Z_CustomerMembershipRedemptionJournal LoyaltyProgramAccountPointsRedemptionID: INTEGER Identity 2, 2 / 5, 6 -- 13:34:40 , 2021/3/24 TransactionID: CHAR(32) IdentityUUID (FK) RewardDer CustomerR RewardEar Membershi CustomerM CustomerR LevelNumb StatusSequ ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation NTEGER Number (AK1.4) rID: INTEGER Identity (FK) de: CHAR(6) Code6 (FK) mp: datetime EffectiveDateTime : datetime ExpirationDateTime ER Flag EGER Flag TEGER Flag GER Flag CHAR(2) Code2 ndiitionID: INTEGER Identity (FK) ecastID: INTEGER Identity (FK) R Flag dentity (FK) R(255) DescriptionShort R Identity (FK) ProcessChannel ChannelID: INTEGER Identity (FK) ProcessID: INTEGER Identity (FK) EffectiveDateTime: datetime EffectiveDateTime ExpirationDateTime: datetime ExpirationDateTime NarrativeRemarks: VARCHAR(4000) DescriptionNarrative Channel ChannelID: INTEGER Identity Description: VARCHAR(255) DescriptionShort TouchPointID: INTEGER Identity (FK) (AK1.1) TargetingTypeCode: VARCHAR(20) Code ContentOriginCode: VARCHAR(20) Code OnLineOffLineCode: VARCHAR(20) Code CommunicationMode: VARCHAR(20) Code TransactionTypeCode RetailTransaction TransactionID: CHAR(32) IdentityUUID (FK) LocationID: INTEGER Identity (FK) RetailTransactionTypeCode: CHAR(2) Code2 (FK) TillID: INTEGER Identity (FK) RingElapsedTime: DECIMAL(5,0) QuantityShortCountSeconds TenderElapsedTime: DECIMAL(5,0) QuantityShortCountSeconds IdleElapsedTime: DECIMAL(5,0) QuantityShortCountSeconds LockElapsedTime: DECIMAL(5,0) QuantityShortCountSeconds UnitCount: DECIMAL(7,0) QuantityTransactionCount LineItemsScannedCount: DECIMAL(7,0) QuantityTransactionCount LineItemsScannedPercent: DECIMAL(7,4) Percent LineItemsKeyedCount: DECIMAL(7,0) QuantityTransactionCount LineItemsKeyedPercent: DECIMAL(7,4) Percent KeyDepartmentCount: DECIMAL(7,0) QuantityTransactionCount KeyDepartmentPercent: DECIMAL(7,4) Percent ReceiptDateTime: datetime AuditDateTime CustomerID: INTEGER Identity (FK) CustomerIDEntryMethodCode: VARCHAR(20) EntryMethodCode CustomerIDTypeCode: VARCHAR(20) Code ChannelID: INTEGER Identity (FK) RetailShoppingTripTypeCode: VARCHAR(20) Code (FK) TransactionEntryModeCode: VARCHAR(20) Code ISOCurrencyCode: VARCHAR(20) ISO_4217_CurrencyCode_char(3) (FK) CustomerSurveyID: INTEGER Identity (FK) omerRewardLineItem RetailTransactionLineItemType RetailTransactionLineItemTypeCode: VARCHAR(20) Code RetailTransactionLineItemName: VARCHAR(40) Name RetailTransactionLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber CustomerOrderID: INTEGER Identity (FK) CustomerOrderLineItemSequenceNumber: SMALLINT LineNumber (FK) BeginDateTimestamp: datetime EffectiveDateTime VoidFlag: INTEGER Flag EndDateTimestamp: datetime ExpirationDateTime EntryMethodCode: VARCHAR(20) EntryMethodCode RetailTransactionLineItemTypeCode: VARCHAR(20) Code (FK) RetailTransactionLineItemEntryModeCode: VARCHAR(20) Code GiftCertificateLineItem RetailTransactionLineItemTypeCode TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) ctionID: CHAR(32) IdentityUUID (FK) ransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) dDerivationRuleEligibilityID: INTEGER Identity (FK) merRewardAmount: DECIMAL(16,5) Money dEarnedRedeemedCode: VARCHAR(20) Code ershipProgramID: INTEGER Identity (FK) merMembeshiprProgramAccountID: INTEGER Identity (FK) merRewardProgramTierCode: VARCHAR(20) Code (FK) umber: INTEGER Number (FK) SequencNumber: INTEGER Identity (FK) IssuingRetailStoreID: INTEGER Identity (FK) GiftCertificateSerialNumber: CHAR(32) IdentityUUID (FK) GiftCardEntryMethod: CHAR(2) Code2 SaleReturnLineItem 2, 3 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation GiftRegistryLineItem GiftRegistryID: INTEGER Identity (FK) ItemID: CHAR(32) IdentityUUID (FK) DesiredQuantity: DECIMAL(3,0) QuantityShortCount GiftRegisteredItemGroup GiftRegistryLineItemAssociation GiftRegistryID: INTEGER Identity (FK) MerchandiseHierarchyGroupID: INTEGER Identity (FK) TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) ItemID: CHAR(32) IdentityUUID (FK) GiftRegistryID: INTEGER Identity (FK) Description: VARCHAR(4000) DescriptionNarrative OccasionRecommendation UnitOfMeasureCode: VARCHAR(20) Code (FK) Quantity: DECIMAL(9,3) Quantity CustomerOccasionTypeCode: CHAR(6) Code6 (FK) ItemID: CHAR(32) IdentityUUID (FK) ReportingPeriod ReportingPeriodID: INTEGER Identity CalendarID: INTEGER Identity (FK) CalendarLevelID: INTEGER Identity (FK) StartCalendarPeriodID.CalendarPeriodID: INTEGER Identity (FK) EndCalendarPeriodID.CalendarPeriodID: INTEGER Identity (FK) Name: VARCHAR(40) Name BusinessDay BusinessDayDate: DATE DateCalendar BeginDateTimestamp: datetime AuditDateTime EndDateTimestamp: datetime AuditDateTime MerchandiseHierarchy BusinessUnitGroupReportingPeriod ReportingPeriodID: INTEGER Identity (FK) BusinessUnitGroupID: INTEGER Identity (FK) BusinessUnitID: INTEGER Identity (FK) StartsDateTime: datetime AuditDateTime EndsDateTime: datetime AuditDateTime StartTransactionID.TransactionID: CHAR(32) IdentityUUID (FK) EndTransactionID.TransactionID: CHAR(32) IdentityUUID (FK) MerchandiseHierarchyFunction MerchandiseHierarchyLevelID: ParentMerchandiseHierarchyLe Name: VARCHAR(40) Name Holiday OccasionName: VARCHAR(40) Name OccasionDescription: VARCHAR(255) DescriptionShort ISOCountryCode: CHAR(2) Code2 (FK) ReligionFamilyCode: VARCHAR(20) Code (FK) ReligionName: VARCHAR(20) Code (FK) SecularCelebrationEventCode: VARCHAR(20) Code AssociatedMerchandiseH MerchandiseHierarchyFunctionID: IN ParentMerchandiseHierarchyGroupI ChildMerchandiseHierarchyGroupID ParentMerchandiseHierarchyLevelID EffectiveDate: DATE EffectiveDate ExpirationDate: DATE ExpirationDat MerchandiseHierarchyGroup MerchandiseHierarchyGroupID: INTEGER Identity Item Name: VARCHAR(255) DescriptionShort Description: VARCHAR(255) DescriptionShort WeatherConditionTypeCode: VARCHAR(20) Code (FK) ItemSellingRuleID: INTEGER Identity (FK) OccasionName: VARCHAR(40) Name (FK) ClimateTypeCode: VARCHAR(20) Code (FK) ActivityInterestCode: VARCHAR(20) Code (FK) ItemID: CHAR(32) IdentityUUID ItemSellingPricesID: INTEGER Identity (FK) ItemSellingRuleID: INTEGER Identity (FK) POSDepartmentID: INTEGER Identity (FK) 2, 4 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation MerchandiseHierarchyFunction MerchandiseHierarchyFunctionID: INTEGER Identity Name: VARCHAR(255) DescriptionShort chyLevel ctionID: INTEGER Identity (FK) elID: INTEGER Identity hyLevelID.MerchandiseHierarchyLevelID: INTEGER Identity (FK) me eHierarchyGroup D: INTEGER Identity (FK) oupID.MerchandiseHierarchyGroupID: INTEGER Identity (FK) upID.MerchandiseHierarchyGroupID: INTEGER Identity (FK) velID.MerchandiseHierarchyLevelID: INTEGER Identity (FK) ate nDate 2, 5 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 2, 6 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation Tender TenderTypeCode: VARCHAR(20) Code PaymentServiceProviderID: INTEGER Identity (FK) TenderClassCode: VARCHAR(20) Code (FK) FinancialLedgerAccountID: INTEGER Identity (FK) Description: VARCHAR(255) DescriptionShort SerialIdentificationNumberRequiredFlag: INTEGER Flag AuthorizationRequiredFlag: INTEGER Flag AuthorizationMethodCode: CHAR(2) Code2 AuthorizationExpirationDateRequiredFlag: INTEGER Flag AuthorizationMaximumWaitAllowedSecondsCount: DECIMAL(9,3) Quantity CustomerIdentificationRequiredFlag: INTEGER Flag PersonalIdentificationNumberRequiredFlag: INTEGER Flag CustomerSignatureRequiredFlag: INTEGER Flag AccountIdentificationRequiredFlag: INTEGER Flag OnLineTenderFloorApprovalAmount: DECIMAL(16,5) Money OnLineTenderCeilingApprovalAmount: DECIMAL(16,5) Money OffLineTenderFloorApprovalAmount: DECIMAL(16,5) Money OffLineTenderCeilingApprovalAmount: DECIMAL(16,5) Money MinimumAcceptAmount: DECIMAL(16,5) Money MaximumAcceptAmount: DECIMAL(16,5) Money OverrideTriggerMaximumAmount: DECIMAL(16,5) Money LoanPermissibilityFlag: INTEGER Flag LocalCurrencyAvailabilityFlag: INTEGER Flag ItemRestrictionsApplyFlag: INTEGER Flag RealtimeBalanceUpdateFlag: INTEGER Flag EndorsementRequiredFlag: INTEGER Flag OpenCashDrawerRequiredFlag: INTEGER Flag AmountCountRequiredFlag: INTEGER Flag ChangeThresholdAmount: DECIMAL(16,5) Money UnitCountRequiredFlag: INTEGER Flag AcceptanceForPaymentOnAccountFlag: INTEGER Flag MagneticStripeReaderRequiredFlag: INTEGER Flag CheckEncodingFlag: INTEGER Flag PayOutPermissibilityFlag: INTEGER Flag ISOCurrencyCode: VARCHAR(20) ISO_4217_CurrencyCode_char(3) (FK) 3, 1 / 5, 6 -- 13:34:40 , 2021/3/24 tity ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) Redeeming.(RetailTransactionLineItemSequenceNumber,TransactionID): SMALLINT LineNumber (FK) RetailPriceModifierSequenceNumber: SMALLINT LineNumber (FK) PointsRedeemedQuantity: INTEGER QuantityInteger PromotionalOfferID: INTEGER Identity (FK) PromotionalInitiativeID: INTEGER Identity (FK) CustomerMembeshiprProgramAccountID: INTEGER Identity (FK) TenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) TenderTypeCode: VARCHAR(20) Code (FK) TenderSubTypeCode: CHAR(4) Code4 TenderMediaBrandID: INTEGER Identity (FK) ReasonCode: VARCHAR(20) Code (FK) IsChangeFlag: INTEGER Flag AccountNumber: INTEGER Identity (FK) TenderAccountNumber: INTEGER Identity CoPayFlag: INTEGER Flag ForeignCurrencyAmount: decimal(16,5) MoneyShortRetail ForeignCurrencyID: INTEGER Identity ExchangeRate: DECIMAL(16,5) MoneyShortCost TenderAmount: DECIMAL(16,5) Money AmountAppliedToTransaction: decimal(16,5) MoneyShortRetail TipAmount: decimal(16,5) MoneyShortRetail TipForeignCurrencyAmount: decimal(16,5) MoneyShortRetail CashbackAmount: decimal(16,5) MoneyShortRetail CashbackForeignCurrencyAmount: decimal(16,5) MoneyShortRetail AddressVerificationCode: CHAR(2) Code2 CreditDebitCardTenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) PriceModi CreditDeibitCardTypeCode: CHAR(6) Code6 CardIssuerCode: CHAR(6) Code6 AccountNumber: VARCHAR(40) Name CardEntryMethodCode: CHAR(2) Code2AccessControl EntrySourceCode: CHAR(2) Code2 PersonalIDRequiredTypeCode: CHAR(2) Code2 PersonalIDReferenceNumber: INTEGER Identity AuthorizationMethodCode: CHAR(4) Code4 Track1CreditCardBitMap: BINARY(128) BitMap Track2CreditCardBitMap: BINARY(128) BitMap Track3CreditCardBitMap: BINARY(128) BitMap Track4CreditCardBitMap: BINARY(128) BitMap AdjudicationCode: CHAR(6) Code6 CardExpirationDate: CHAR(4) Code4 CardHolderName: VARCHAR(40) Name CardIssuerSequenceNumber: INTEGER Identity CardStartDate: CHAR(4) Code4 ServiceCode: CHAR(4) Code4 ReconciliationCode: INTEGER Identity TenderTypeCode CreditDeibitCardTypeCode K) CustomerAccountTenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) CustomerAccountID: INTEGER Identity (FK) CustomerAccountInvoiceID: INTEGER Identity (FK) CustomerRepresentativeID: INTEGER Identity (FK) 3, 2 / 5, 6 -- 13:34:40 , 2021/3/24 TransactionID RetailTransa PriceModifica RewardDeriv AdjustmentM PriceModifica ModifyByPer ModifyByAm NewPriceAm RoundingAm ProRatedFla Description: UnusedCoup UnusedCoup RewardID: IN ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation SaleReturnLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) SaleReturnItemType: CHAR(4) Code4 InventoryControlFulfillment.InventoryControl: CHAR(32) IdentityUUID (FK) SellingLocationID.LocationID: INTEGER Identity (FK) BusinessUnitGroupID: INTEGER Identity (FK) ItemLookupMethodCode: CHAR(4) Code4 POSItemID: VARCHAR(14) IdentityGTIN (FK) POSItemIDQualifier: INTEGER Identity (FK) ItemID: CHAR(32) IdentityUUID (FK) POSDepartmentID: INTEGER Identity (FK) UnitOfMeasureCode: VARCHAR(20) Code (FK) SubItemType: CHAR(4) Code4 RegularUnitPrice: decimal(16,5) MoneyShortRetail RegularUnitPriceQuantity: DECIMAL(9,3) Quantity ActualUnitPrice: decimal(16,5) MoneyShortRetail ActualUnitPriceQuantity: DECIMAL(9,3) Quantity Quantity: DECIMAL(9,3) Quantity BulkUnitCount: DECIMAL(9,3) Quantity ExtendedAmount: DECIMAL(16,5) Money UnitDiscountAmount: decimal(16,5) MoneyShortRetail UnitPriceIncreaseAmount: decimal(16,5) MoneyShortRetail ExtendedDiscountAmount: decimal(16,5) MoneyShortRetail ExtendedPriceIncreaseAmount: DECIMAL(16,5) Money ItemIDEntryMethodCode: CHAR(4) Code4 SellUnitRetailPriceEntryMethodCode: CHAR(4) Code4 SellUnitRetailPriceDerivationMethodCode: CHAR(4) Code4 ActionCode: CHAR(2) Code2 ReasonCode: VARCHAR(20) Code (FK) FulfillmentAcknowledgementLineItemSequenceNumber: SMALLINT LineNumber (FK) UnitCostPrice: DECIMAL(16,5) MoneyShortCost UnitCostPriceQuantity: DECIMAL(9,3) Quantity UnitListPrice: decimal(16,5) MoneyShortRetail UnitListPriceQuantity: DECIMAL(9,3) Quantity InventoryValuePrice: DECIMAL(16,5) MoneyShortCost InventoryValuePriceQuantity: DECIMAL(9,3) Quantity GiftReceiptFlag: INTEGER Flag ItemTraceableUnitID: CHAR(32) IdentityUUID (FK) odificationLineItem ionID: CHAR(32) IdentityUUID (FK) ansactionLineItemSequenceNumber: SMALLINT LineNumber (FK) SaleReturnItemModification dificationTypeCode: CHAR(2) Code2 (FK) DerivationRuleEligibilityID: INTEGER Identity (FK) entMethodCode: CHAR(2) Code2 dificationBaseAmount: DECIMAL(16,5) Money yPercent: DECIMAL(7,4) Percent yAmount: DECIMAL(16,5) Money eAmount: DECIMAL(16,5) Money gAmount: decimal(16,5) MoneyShortRetail dFlag: INTEGER Flag on: VARCHAR(255) DescriptionShort CouponFlag: INTEGER Flag CouponReasonDescription: VARCHAR(255) DescriptionShort D: INTEGER Identity (FK) TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) SaleReturnModificationSequenceNumber: SMALLINT LineNumber AdjustmentCode: CHAR(2) Code2 UnitOfMeasureCode: VARCHAR(20) Code (FK) ModificationQuantity: DECIMAL(9,3) Quantity ItemID: CHAR(32) IdentityUUID (FK) AdjustmentDescription: VARCHAR(4000) DescriptionNarrative RetailPriceModifier TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) RetailPriceModifierSequenceNumber: SMALLINT LineNumber PriceModificationTypeCode: CHAR(2) Code2 (FK) AdjustmentMethodCode: CHAR(2) Code2 PriceModificationBaseAmount: DECIMAL(16,5) Money PreviousPrice: decimal(16,5) MoneyShortRetail ModifyByPercent: DECIMAL(7,4) Percent ModifyByAmount: DECIMAL(16,5) Money NewPriceAmount: decimal(16,5) MoneyShortRetail RoundingAmount: decimal(16,5) MoneyShortRetail ProrateFrom.(RetailTransactionLineItemSequenceNumber,TransactionID): SMALLINT LineNumber (FK) WorkerID: INTEGER Identity (FK) ReasonCode: VARCHAR(20) Code (FK) CalculationMethodCode: CHAR(4) Code4 ModificationBenefitCode: CHAR(4) Code4 AccountingDispositionCode: CHAR(4) Code4 EligibilityTypeCode: CHAR(4) Code4 3, 3 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation POSDepartmentID: INTEGER Identity (FK) PriceLineID: INTEGER Identity (FK) MerchandiseHierarchyGroupID: INTEGER Identity (FK) BrandName: VARCHAR(40) Name (FK) AuthorizedForSaleFlag: INTEGER Flag DiscountFlag: INTEGER Flag PriceAuditFlag: INTEGER Flag TaxExemptCode: CHAR(2) Code2 UsageCode: CHAR(2) Code2 Name: VARCHAR(40) Name Description: VARCHAR(255) DescriptionShort LongDescription: VARCHAR(4000) DescriptionNarrative TypeCode: CHAR(4) Code4 KitSetCode: CHAR(2) Code2 SubstituteIdentifiedFlag: INTEGER Flag OrderCollectionCode: CHAR(2) Code2 SerializedIUnitValidationFlag: INTEGER Flag SubBrand.(BrandName,SubBrandSequenceNumber): SMALLINT LineNumber (FK) Campaign CampaignID: INTEGER Identity CampaignName: VARCHAR(255) DescriptionShort EffectiveDateTime: datetime EffectiveDateTime ExpirationDateTime: datetime ExpirationDateTime CampaignStatusCode: CHAR(2) Code2Status BusinessDevelopmentProgram: VARCHAR(40) Name StockItem ItemID: CHAR(32) IdentityUUID (FK) TypeCode SizeFamilyID: INTEGER Identity (FK) SizeCode: CHAR(6) Code6 (FK) StyleCode: CHAR(4) Code4 (FK) ColorCode: CHAR(4) Code4 (FK) Counting.UnitOfMeasureCode: VARCHAR(20) Code (FK) RetailPackageSize.UnitOfMeasureCode: VARCHAR(20) Code (FK) StockItemTypeCode: CHAR(2) Code2 SaleWeightOrUnitCountCode: CHAR(2) Code2 CustomerPickupTypeCode: CHAR(2) Code2 UnitPriceFactor: DECIMAL(9,3) Quantity AvailableForSaleDate: DATE DateCalendar EnvironmentTypeCode: CHAR(2) Code2 SecurityRequiredTypeCode: CHAR(2) Code2 HazardousMaterialTypeCode: CHAR(2) Code2 InventoryAccountingMethodCode: CHAR(2) Code2 SellUnitLastReceivedBaseCostAmount: DECIMAL(16,5) MoneyShortCost SellUnitLastReceivedNetCostAmount: DECIMAL(16,5) MoneyShortCost SellUnitLandedCostAmount: DECIMAL(16,5) MoneyShortCost SellUnitLastReceivedCostsEstablishedDate: DATE DateCalendar ShrinkFlag: INTEGER Flag SwellFlag: INTEGER Flag Brand CampaignPromotion CampaignPromotionID: INTEGER Identity CampaignID: INTEGER Identity (FK) PromotionName: VARCHAR(255) DescriptionS PromotionInitiative BrandName: VARCHAR(40) Name PromotionalInitiativeID: INTE OwningPartyID.PartyID: INTEGER Identity (FK) Description: VARCHAR(255) DescriptionShort BrandGrade: VARCHAR(20) Code PromotionInitiativeName: VA PromotionNarrative: VARCHA PromotionInitiativeEffectiveD PromotionalInitiativeExpiratio StatusCode: CHAR(2) Code2 PromotionInitiativeTypeCode CampaignPromotionID: INTE AdvertisementID: INTEGER I CatalogID: INTEGER Identity OccasionName: VARCHAR(4 PromotionalOfferGroup PromotionalOfferTypeCode: VARCHAR(20) Code Description: VARCHAR(255) DescriptionShort 3, 4 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation e onShort PromotionInitiativeType PromotionInitiativeTypeCode: VARCHAR(20) Code PromotionInitiativeTypeDescription: VARCHAR(255) DescriptionShort e NTEGER Identity : VARCHAR(255) DescriptionShort RCHAR(4000) DescriptionNarrative veDateTime: datetime EffectiveDateTime rationDateTime: datetime ExpirationDateTime ode2Status Code: VARCHAR(20) Code (FK) NTEGER Identity (FK) ER Identity ntity AR(40) Name (FK) 3, 5 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 3, 6 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation TenderMediaCoSponsor TenderMediaCoSponsorID: INTEGER Identity PartyRoleAssignmentID: INTEGER Identity (FK) 4, 1 / 5, 6 -- 13:34:40 , 2021/3/24 BrandedTenderMedia TenderTypeCode: VARCHAR(20) Code (FK) TenderMediaBrandID: INTEGER Identity CoBrandName: VARCHAR(255) DescriptionShort TenderMediaCoSponsorID: INTEGER Identity (FK) ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation CustomerRepresentativeID: INTEGER Identity (FK) CustomerAccountCardID: VARCHAR(20) CreditDebitCardPAN (FK) CouponTenderLineItem CheckTenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) FullMICR: VARCHAR(20) IdentityAlphaNumeric BankID: INTEGER Identity CheckAccountNumber: INTEGER Identity CheckAccountNumberEntryMethodCode: VARCHAR(20) Code CheckSequenceNumber: SMALLINT LineNumber CheckSequenceNumberEntryMethodCode: VARCHAR(20) Code PersonalIDRequiredTypeCode: CHAR(2) Code2 PersonalIDNumber: INTEGER Identity AdjudicationCode: CHAR(4) Code4 CustomerBirthDate: CHAR(2) DateCalendarDay CheckCardNumber: VARCHAR(40) Name CheckTypeCode: VARCHAR(20) Code TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) ManufacturerFamilyCode: CHAR(3) ProductCodeFamily (FK) CouponValidationLineItem.RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) ScanCode: VARCHAR(15) PostalCode ExpirationDate: VARCHAR(20) ProductCodeExpiry PromotionCode: CHAR(6) Code6 KeyEnteredFlag: INTEGER Flag ManufacturerID: INTEGER Identity (FK) CouponQuantity: DECIMAL(9,3) Quantity CouponTypeCode: CHAR(4) Code4 PrimaryLabel: VARCHAR(40) Name SecondaryLabel: VARCHAR(40) Name UnusedCouponTenderFlag: INTEGER Flag UnusedCouponTenderReasonDescription: VARCHAR(255) DescriptionShort ElectronicBenefitsTransferTender TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) FederalID: VARCHAR(40) Name SerialNumber: VARCHAR(40) Name ChangeAmount: decimal(16,5) MoneyShortRetail SendCheckTenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) AddressID: INTEGER Identity (FK) SentDatetime: datetime AuditDateTime Trade-In-KindTenderLineItem TransactionID: CHAR(32) IdentityUUID (FK) RetailTransactionLineItemSequenceNumber: SMALLINT LineNumber (FK) WorkerID: INTEGER Identity (FK) TypeCode.TradeInTypeCode: CHAR(2) Code2 (FK) ValuationMonetaryAmount: DECIMAL(16,5) Money CertificateID: INTEGER Identity Name: VARCHAR(40) Name Address1: VARCHAR(80) Address Address2: VARCHAR(80) Address City: VARCHAR(30) City State: CHAR(2) State PostalCode: VARCHAR(15) PostalCode TelephoneCountryCode: CHAR(3) PhoneNumberCountryCode TelephoneAreaCode: CHAR(5) PhoneNumberAreaCode TelephoneLocalNumber: CHAR(3) PhoneNumberCountryCode ProofOfIdentityTypeCode: CHAR(2) Code2 ProofOfIdentityID: INTEGER Identity 4, 2 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation EligibilityTypeCode: CHAR(4) Code4 Description: VARCHAR(255) DescriptionShort TransactionLineItemProrationPercentage: DECIMAL(7,4) Percent RewardID: INTEGER Identity (FK) RewardDerivationSequenceNumber: INTEGER LineNumber (FK) RewardDerivationRuleEligibilityID: INTEGER Identity (FK) 4, 3 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation PromotionInitiativeTypeCode PromotionalOfferGroupOfferType PromotionalOfferTypeCode: VARCHAR(20) Code (FK) PromotionalOfferID: INTEGER Identity (FK) PromotionalInitiativeID: INTEGER Identity (FK) PromotionalOffer PromotionalOfferID: INTEGER Identity PromotionalInitiativeID: INTEGER Identity (FK) ZPromotionalOfferRewardDerivationRule RewardDerivationRuleEligibilityID: INTEGER Identity (FK) TimeGroupID: INTEGER Identity (FK) EffectiveDateTime: datetime EffectiveDateTime ExpirationDateTime: datetime ExpirationDateTime StatusCode: CHAR(2) Code2Status FinancialLedgerAccountID: INTEGER Identity (FK) ProrateOverSaleReturnLineItemFlag: INTEGER Flag PromotionalOfferDerivationDescription: VARCHAR(255) DescriptionShort ExclusiveInclusiveCode: VARCHAR(20) Code RuleApplicationPrecedenceNumber: SMALLINT LineNumber 4, 4 / 5, 6 -- 13:34:40 , 2021/3/24 BusinessUnitGroupID: INTEGER Identity (FK) EffectiveDate: datetime EffectiveDateTime ExpiryDate: datetime ExpirationDateTime MultipleEligibilityCombinationCode: CHAR(2) Code2 ConcurrenceCode: CHAR(2) Code2 UpSellTypeCode: CHAR(2) Code2 OperatorDisplayName: VARCHAR(40) Name CustomerDisplayName: VARCHAR(40) Name ReceiptPrinterName: VARCHAR(40) Name AccountingDispositionCode: CHAR(4) Code4 StatusCode: CHAR(2) Code2Status CustomerRewardProgramTierCode: VARCHAR(20) Code (FK) MembershipProgramID: INTEGER Identity (FK) LevelNumber: INTEGER Number (FK) ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 4, 5 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 4, 6 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 1 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 2 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 3 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 4 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 5 / 5, 6 -- 13:34:40 , 2021/3/24 ARTS_ODM_V73_2016-12-20_ERWIN738 -- ETL_01010 / ETL 01010 DWM 3 Sales Fact Customer Behavioral Segmentation 5, 6 / 5, 6 -- 13:34:40 , 2021/3/24