name: "{{ project_id_tgt }}.{{ dataset_reporting_tgt }}.SalesOrderHeaderStatus"
description: "This view provides information about the Header status and administration data for each Sales Order document and has the granularity of Client(System) and Sales Order Document."
catalog_tags:
  - display_name: "line_of_business"
    fields:
      - display_name: "group"
        value: "Sales"
      - display_name: "domain"
        value: "Order to Cash"
fields:
  - name: "Client_MANDT"
    description: "Client (Mandant), PK"
  - name: "SalesDocument_VBELN"
    description: "Sales and Distribution Document Number, PK"
  - name: "ReferenceDocumentHeaderStatus_RFSTK"
    description: "Reference Status (All Items)"
  - name: "OverallReferenceStatusAllItems_RFGSK"
    description: "Overall Reference Status (All Items)"
  - name: "ConfirmationStatus_BESTK"
    description: "Confirmation Status (All Items)"
  - name: "DeliveryStatus_LFSTK"
    description: "Delivery Status (All Items)"
  - name: "OverallDeliveryStatus_LFGSK"
    description: "Overall Delivery Status (All Items)"
  - name: "TotalGoodsMovementStatus_WBSTK"
    description: "Goods Movement Status (All Items)"
  - name: "BillingStatus_FKSTK"
    description: "Billing Status"
  - name: "OrderRelatedBillingStatusAllItems_FKSAK"
    description: "Billing Status (Order-Related Billing Document)"
  - name: "PostingStatusOfBillingDocument_BUCHK"
    description: "Posting Status of Billing Document"
  - name: "RejectionsStatus_ABSTK"
    description: "Rejection Status (All Items)"
  - name: "OverallProcessingStatus_GBSTK"
    description: "Overall Processing Status (Header/All Items)"
  - name: "OverallPickingPutawayStatus_KOSTK"
    description: "Picking Status/Putaway Status (All Items)"
  - name: "OverallStatusOfWarehouseManagementActivities_LVSTK"
    description: "Status of Warehouse Management Activities (All Items)"
  - name: "IncompletionStatusAllItems_UVALS"
    description: "Incompletion Status (All Items)"
  - name: "DeliveryIncompletionStatusAllItems_UVVLS"
    description: "Delivery Incompletion Status (All Items)"
  - name: "BillingIncompletionStatusAllItems_UVFAS"
    description: "Billing Incompletion Status (All Items)"
  - name: "IncompletionStatusHeader_UVALL"
    description: "Incompletion Status (Header)"
  - name: "DeliveryIncompletionStatusHeader_UVVLK"
    description: "Delivery Incompletion Status (Header)"
  - name: "BillingIncompletionStatusHeader_UVFAK"
    description: "Billing Incompletion Status (Header) "
  - name: "PricingIncompletionStatusAllItems_UVPRS"
    description: "Pricing Incompletion Status (All Items)"
  - name: "DocumentCategory_VBTYP"
    description: "Sales and Distribution Document Category"
  - name: "SdDocumentObject_VBOBJ"
    description: "Sales and Distribution Document Object"
  - name: "ChangedOn_AEDAT"
    description: "Date of Last Change"
  - name: "BillingTotalsStatusForIntercompanyBilling_FKIVK"
    description: "Intercompany Billing Status (All Items)"
  - name: "InvoiceListStatusOfBillingDocument_RELIK"
    description: "Invoice List Status of Billing Document"
  - name: "CustomerReserves1HeaderStatus_UVK01"
    description: "Customer reserves 1: Header status"
  - name: "CustomerReserves2HeaderStatus_UVK02"
    description: "Customer reserves 2: Header status"
  - name: "CustomerReserves3HeaderStatus_UVK03"
    description: "Customer reserves 3: Header status"
  - name: "CustmerReserves4HeaderStatus_UVK04"
    description: "Customer reserves 4: Header status"
  - name: "CustomerReserves5HeaderStatus_UVK05"
    description: "Customer reserves 5: Header status"
  - name: "CustomerReserves1SumOfAllItems_UVS01"
    description: "Customer reserves 1: Sum of all items"
  - name: "CustomerReserves2SumOfAllItems_UVS02"
    description: "Customer reserves 2: Sum of all items"
  - name: "CustomerReserves3SumOfAllItems_UVS03"
    description: "Customer reserves 3: Sum of all items"
  - name: "CustomerReserves4SumOfAllItems_UVS04"
    description: "Customer reserves 4: Sum of all items"
  - name: "CustomerReserves5SumOfAllItems_UVS05"
    description: "Customer reserves 5: Sum of all items"
  - name: "OverallPackingStatusOfAllItems_PKSTK"
    description: "Packing Status (All Items)"
  - name: "StatusOfStaticCreditLimitCheck_CMPSA"
    description: "Status of Static Credit Limit Check"
  - name: "StatusOfDynamicCreditLimitCheckInTheCreditHorizon_CMPSB"
    description: "Status of Dynamic Credit Limit Check in the Credit Horizon"
  - name: "StatusOfCreditCheckAgainstMaximumDocumentValue_CMPSC"
    description: "Status of Credit Check Against Maximum Document Value"
  - name: "StatusOfCreditCheckAgainstTermsOfPayment_CMPSD"
    description: "Status of Credit Check Against Terms of payment"
  - name: "StatusOfCreditCheckAgainstCustomerReviewDate_CMPSE"
    description: "Status of Credit Check Against Customer review date"
  - name: "StatusOfCreditCheckAgainstOpenItemsDue_CMPSF"
    description: "Status of Credit Check Against Open Items Due"
  - name: "StatusOfCreditCheckAgainstOldestOpenItems_CMPSG"
    description: "Status of Credit Check Against Oldest open items"
  - name: "StatusOfCreditCheckAgainstHighestDunningLevel_CMPSH"
    description: "Status of Credit Check Against Highest Dunning Level"
  - name: "StatusOfCreditCheckAgainstFinancialDocument_CMPSI"
    description: "Status of Credit Check Against Financial Document"
  - name: "StatusOfCreditCheckAgainstExportCreditInsurance_CMPSJ"
    description: "Status of Credit Check Against Export Credit Insurance"
  - name: "StatusOfCreditCheckAgainstPaymentCardAuthorization_CMPSK"
    description: "Status of Credit Check Against Payment Card Authorization"
  - name: "StatusOfCreditCheckOfReserves4_CMPSL"
    description: "Status of Credit Check Against Reserve 4"
  - name: "StatusOfCreditCheckForCustomerReserve1_CMPS0"
    description: "Status of Credit Check For Customer Reserve 1"
  - name: "StatusOfCreditCheckForCustomerReserve2_CMPS1"
    description: "Status of Credit Check For Customer Reserve 2"
  - name: "StatusOfCreditCheckForCustomerReserve3_CMPS2"
    description: "Status of Credit Check For Customer Reserve 3"
  - name: "OverallStatusOfCreditChecks_CMGST"
    description: "Overall Status of Credit Checks"
  - name: "TransportationPlanningStatusHeader_TRSTA"
    description: "Transportation Planning Status (Header)"
  - name: "StatusOfPickConfirmation_KOQUK"
    description: "Status of Pick confirmation"
  - name: "ConfirmationStatusForAle_COSTA"
    description: "Confirmation Status for ALE"
  - name: "SapRelease_SAPRL"
    description: "SAP Release"
  - name: "TotalsIncompleteStatusForAllItemsPackaging_UVPAS"
    description: "Totals Incomplete Status for all Items: Packaging"
  - name: "TotalsIncompleteStatusForAllItemsPicking_UVPIS"
    description: "Totals Incomplete Status for all Items: Picking"
  - name: "TotalIncompleteStatusOfAllItemsPostGoodsMovement_UVWAS"
    description: "Totals Incomplete Status for all Items: Post Goods Movement"
  - name: "HeaderIncompleteStatusForPackaging_UVPAK"
    description: "Header Incomplete Status for Packaging"
  - name: "HeaderIncompleteStatusForPickingPutaway_UVPIK"
    description: "Header Incomplete Status for Picking/Putaway"
  - name: "PostHeaderIncompleteStatusForGoodsMovement_UVWAK"
    description: "Post Header Incomplete Status for Goods Movement"
  - name: "Unused_UVGEK"
    description: "This is not used in system's current functionality and SAP labelled as UNUSED. It could be used for future enhancements or customizations"
  - name: "CreditCheckDataIsObsolete_CMPSM"
    description: "Credit Check Data is Obsolete"
  - name: "DelayStatus_DCSTK"
    description: "Delay Status (All Items)"
  - name: "HandlingUnitPlacedInStock_VESTK"
    description: "Handling Unit Placed in Stock"
  - name: "DistributionStatusDecentralizedWarehouseProcessing_VLSTK"
    description: "Distribution Status (Decentralized Warehouse Processing)"
  - name: "RevenueDeterminationStatus_RRSTA"
    description: "Revenue Determination Status"
  - name: "IndicatorDocumentPreselectedForArchiving_BLOCK"
    description: "Indicator: Document Preselected For Archiving"
  - name: "BillingBlockStatus_FSSTK"
    description: "Billing Block Status (All Items)"
  - name: "OverallDeliveryBlockStatusAllItems_LSSTK"
    description: "Overall Delivery Block Status (All Items)"
  - name: "OverallBlockStatusHeader_SPSTG"
    description: "Overall Block Status (Header)"
  - name: "PodStatusOnHeaderLevel_PDSTK"
    description: "Proof Of Delivery Status on Header Level"
  - name: "StatusFundsManagement_FMSTK"
    description: "Status Funds Management"
  - name: "ManualCompletionOfContract_MANEK"
    description: "Manual Completion of Contract"
  - name: "TemporaryInboundDelivery_SPE_TMPID"
    description: "Temporary Inbound Delivery"
  - name: "InboundDeliveryHeaderNotYetCompleteOnHold_HDALL"
    description: "Inbound Delivery Header Not Yet Complete (On Hold)"
  - name: "AtLeastOneOfIdItemsNotYetCompleteOnHold_HDALS"
    description: "At least one of ID Items not yet Complete (on Hold)"
  - name: "StatusOfCreditCheckSapCreditManagement_CMPS_CM"
    description: "Status of Credit Check SAP Credit Management"
  - name: "StatusOfTechnicalErrorSapCreditManagement_CMPS_TE"
    description: "Status of Technical Error  SAP Credit Management"
  - name: "ExtensionOfSdDocumentCategory_VBTYP_EXT"
    description: "Extension of Sales and Distribution Document Category - Obsolete"
  - name: "OverallAllocationStatusSalesDocumentHeader_FSH_AR_STAT_HDR"
    description: "Overall Allocation Status (Sales Document Header)"
