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 Document (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: "Total 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: "Rejections 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: "CustomerRreserves 2: Header status"
  - name: "CustomerReserves3HeaderStatus_UVK03"
    description: "Customer Reserves 3: Header Status"
  - name: "CustmerReserves4HeaderStatus_UVK04"
    description: "Custmer 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 Of Reserves 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: "Total Incomplete Status Of 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)"
