java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CreditBlockedSalesDocument>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salesdocumentwithcreditblocks.CreditBlockedSalesDocument

public class CreditBlockedSalesDocument extends VdmEntity<CreditBlockedSalesDocument>
Credit Blocked Sales Document

Original entity name from the Odata EDM: A_CreditBlockedSalesDocumentType

  • Field Details

    • ALL_FIELDS

      public static final CreditBlockedSalesDocumentSelectable ALL_FIELDS
      Selector for all available fields of CreditBlockedSalesDocument.
    • SALES_DOCUMENT

      public static final CreditBlockedSalesDocumentField<String> SALES_DOCUMENT
      Use with available fluent helpers to apply the SalesDocument field to query operations.
    • SD_DOCUMENT_CATEGORY

      public static final CreditBlockedSalesDocumentField<String> SD_DOCUMENT_CATEGORY
      Use with available fluent helpers to apply the SDDocumentCategory field to query operations.
    • SALES_DOCUMENT_TYPE

      public static final CreditBlockedSalesDocumentField<String> SALES_DOCUMENT_TYPE
      Use with available fluent helpers to apply the SalesDocumentType field to query operations.
    • SALES_ORGANIZATION

      public static final CreditBlockedSalesDocumentField<String> SALES_ORGANIZATION
      Use with available fluent helpers to apply the SalesOrganization field to query operations.
    • DISTRIBUTION_CHANNEL

      public static final CreditBlockedSalesDocumentField<String> DISTRIBUTION_CHANNEL
      Use with available fluent helpers to apply the DistributionChannel field to query operations.
    • ORGANIZATION_DIVISION

      public static final CreditBlockedSalesDocumentField<String> ORGANIZATION_DIVISION
      Use with available fluent helpers to apply the OrganizationDivision field to query operations.
    • SALES_OFFICE

      public static final CreditBlockedSalesDocumentField<String> SALES_OFFICE
      Use with available fluent helpers to apply the SalesOffice field to query operations.
    • SALES_GROUP

      public static final CreditBlockedSalesDocumentField<String> SALES_GROUP
      Use with available fluent helpers to apply the SalesGroup field to query operations.
    • CREATED_BY_USER

      public static final CreditBlockedSalesDocumentField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • CREATION_DATE

      public static final CreditBlockedSalesDocumentField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • LAST_CHANGED_BY_USER

      public static final CreditBlockedSalesDocumentField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • LAST_CHANGE_DATE

      public static final CreditBlockedSalesDocumentField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • SOLD_TO_PARTY

      public static final CreditBlockedSalesDocumentField<String> SOLD_TO_PARTY
      Use with available fluent helpers to apply the SoldToParty field to query operations.
    • TOTAL_NET_AMOUNT

      public static final CreditBlockedSalesDocumentField<BigDecimal> TOTAL_NET_AMOUNT
      Use with available fluent helpers to apply the TotalNetAmount field to query operations.
    • TRANSACTION_CURRENCY

      public static final CreditBlockedSalesDocumentField<String> TRANSACTION_CURRENCY
      Use with available fluent helpers to apply the TransactionCurrency field to query operations.
    • CUSTOMER_CREDIT_ACCOUNT

      public static final CreditBlockedSalesDocumentField<String> CUSTOMER_CREDIT_ACCOUNT
      Use with available fluent helpers to apply the CustomerCreditAccount field to query operations.
    • CONTROLLING_AREA_CURRENCY

      public static final CreditBlockedSalesDocumentField<String> CONTROLLING_AREA_CURRENCY
      Use with available fluent helpers to apply the ControllingAreaCurrency field to query operations.
    • RELEASED_CREDIT_AMOUNT

      public static final CreditBlockedSalesDocumentField<BigDecimal> RELEASED_CREDIT_AMOUNT
      Use with available fluent helpers to apply the ReleasedCreditAmount field to query operations.
    • CREDIT_BLOCK_RELEASE_DATE

      public static final CreditBlockedSalesDocumentField<LocalDateTime> CREDIT_BLOCK_RELEASE_DATE
      Use with available fluent helpers to apply the CreditBlockReleaseDate field to query operations.
    • NEXT_SHIPPING_DATE

      public static final CreditBlockedSalesDocumentField<LocalDateTime> NEXT_SHIPPING_DATE
      Use with available fluent helpers to apply the NextShippingDate field to query operations.
    • NEXT_CREDIT_CHECK_DATE

      public static final CreditBlockedSalesDocumentField<LocalDateTime> NEXT_CREDIT_CHECK_DATE
      Use with available fluent helpers to apply the NextCreditCheckDate field to query operations.
    • FIN_DOC_CREDIT_CHECK_STATUS

      public static final CreditBlockedSalesDocumentField<String> FIN_DOC_CREDIT_CHECK_STATUS
      Use with available fluent helpers to apply the FinDocCreditCheckStatus field to query operations.
    • TOTAL_CREDIT_CHECK_STATUS

      public static final CreditBlockedSalesDocumentField<String> TOTAL_CREDIT_CHECK_STATUS
      Use with available fluent helpers to apply the TotalCreditCheckStatus field to query operations.
    • OVERALL_SD_PROCESS_STATUS

      public static final CreditBlockedSalesDocumentField<String> OVERALL_SD_PROCESS_STATUS
      Use with available fluent helpers to apply the OverallSDProcessStatus field to query operations.
    • CENTRAL_CREDIT_CHECK_STATUS

      public static final CreditBlockedSalesDocumentField<String> CENTRAL_CREDIT_CHECK_STATUS
      Use with available fluent helpers to apply the CentralCreditCheckStatus field to query operations.
    • CENTRAL_CREDIT_CHK_TECH_ERR_STS

      public static final CreditBlockedSalesDocumentField<String> CENTRAL_CREDIT_CHK_TECH_ERR_STS
      Use with available fluent helpers to apply the CentralCreditChkTechErrSts field to query operations.
  • Constructor Details

    • CreditBlockedSalesDocument

      public CreditBlockedSalesDocument()
    • CreditBlockedSalesDocument

      public CreditBlockedSalesDocument(@Nullable String salesDocument, @Nullable String sDDocumentCategory, @Nullable String salesDocumentType, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String soldToParty, @Nullable BigDecimal totalNetAmount, @Nullable String transactionCurrency, @Nullable String customerCreditAccount, @Nullable String controllingAreaCurrency, @Nullable BigDecimal releasedCreditAmount, @Nullable LocalDateTime creditBlockReleaseDate, @Nullable LocalDateTime nextShippingDate, @Nullable LocalDateTime nextCreditCheckDate, @Nullable String finDocCreditCheckStatus, @Nullable String totalCreditCheckStatus, @Nullable String overallSDProcessStatus, @Nullable String centralCreditCheckStatus, @Nullable String centralCreditChkTechErrSts)
  • Method Details

    • getType

      @Nonnull public Class<CreditBlockedSalesDocument> getType()
      Specified by:
      getType in class VdmObject<CreditBlockedSalesDocument>
    • setSalesDocument

      public void setSalesDocument(@Nullable String salesDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesDocument

      Parameters:
      salesDocument - Sales Document
    • setSDDocumentCategory

      public void setSDDocumentCategory(@Nullable String sDDocumentCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SDDocumentCategory

      Parameters:
      sDDocumentCategory - SD Document Category
    • setSalesDocumentType

      public void setSalesDocumentType(@Nullable String salesDocumentType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesDocumentType

      Parameters:
      salesDocumentType - Sales Document Type
    • setSalesOrganization

      public void setSalesOrganization(@Nullable String salesOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Parameters:
      salesOrganization - Sales Organization
    • setDistributionChannel

      public void setDistributionChannel(@Nullable String distributionChannel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Parameters:
      distributionChannel - Distribution Channel
    • setOrganizationDivision

      public void setOrganizationDivision(@Nullable String organizationDivision)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrganizationDivision

      Parameters:
      organizationDivision - Division
    • setSalesOffice

      public void setSalesOffice(@Nullable String salesOffice)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Parameters:
      salesOffice - Sales Office
    • setSalesGroup

      public void setSalesGroup(@Nullable String salesGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Parameters:
      salesGroup - Sales Group
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - User Who Last Changed the Business Document
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setSoldToParty

      public void setSoldToParty(@Nullable String soldToParty)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Parameters:
      soldToParty - Sold-to Party
    • setTotalNetAmount

      public void setTotalNetAmount(@Nullable BigDecimal totalNetAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalNetAmount

      Parameters:
      totalNetAmount - Net Value of the Sales Order in Document Currency
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - SD Document Currency
    • setCustomerCreditAccount

      public void setCustomerCreditAccount(@Nullable String customerCreditAccount)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerCreditAccount

      Parameters:
      customerCreditAccount - Customer's account number with credit limit reference
    • setControllingAreaCurrency

      public void setControllingAreaCurrency(@Nullable String controllingAreaCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ControllingAreaCurrency

      Parameters:
      controllingAreaCurrency - Currency key of credit control area
    • setReleasedCreditAmount

      public void setReleasedCreditAmount(@Nullable BigDecimal releasedCreditAmount)
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ReleasedCreditAmount

      Parameters:
      releasedCreditAmount - Released Credit Value of the Document
    • setCreditBlockReleaseDate

      public void setCreditBlockReleaseDate(@Nullable LocalDateTime creditBlockReleaseDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreditBlockReleaseDate

      Parameters:
      creditBlockReleaseDate - Release date of the document determined by credit management
    • setNextShippingDate

      public void setNextShippingDate(@Nullable LocalDateTime nextShippingDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: NextShippingDate

      Parameters:
      nextShippingDate - Next date
    • setNextCreditCheckDate

      public void setNextCreditCheckDate(@Nullable LocalDateTime nextCreditCheckDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: NextCreditCheckDate

      Parameters:
      nextCreditCheckDate - Date of Next Credit Check of Document
    • setFinDocCreditCheckStatus

      public void setFinDocCreditCheckStatus(@Nullable String finDocCreditCheckStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: FinDocCreditCheckStatus

      Parameters:
      finDocCreditCheckStatus - Status of Credit Check Against Financial Document
    • setTotalCreditCheckStatus

      public void setTotalCreditCheckStatus(@Nullable String totalCreditCheckStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Parameters:
      totalCreditCheckStatus - Overall Status of Credit Checks
    • setOverallSDProcessStatus

      public void setOverallSDProcessStatus(@Nullable String overallSDProcessStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDProcessStatus

      Parameters:
      overallSDProcessStatus - Overall Processing Status (Header/All Items)
    • setCentralCreditCheckStatus

      public void setCentralCreditCheckStatus(@Nullable String centralCreditCheckStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CentralCreditCheckStatus

      Parameters:
      centralCreditCheckStatus - Status of Credit Check SAP Credit Management
    • setCentralCreditChkTechErrSts

      public void setCentralCreditChkTechErrSts(@Nullable String centralCreditChkTechErrSts)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CentralCreditChkTechErrSts

      Parameters:
      centralCreditChkTechErrSts - Status of Technical Error SAP Credit Management
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<CreditBlockedSalesDocument>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<CreditBlockedSalesDocument>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<CreditBlockedSalesDocument>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<CreditBlockedSalesDocument>
    • field

      @Nonnull public static <T> CreditBlockedSalesDocumentField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> CreditBlockedSalesDocumentField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<CreditBlockedSalesDocument>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<CreditBlockedSalesDocument>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<CreditBlockedSalesDocument>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CreditBlockedSalesDocument>
    • builder

    • getSalesDocument

      @Nullable public String getSalesDocument()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesDocument

      Returns:
      Sales Document
    • getSDDocumentCategory

      @Nullable public String getSDDocumentCategory()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SDDocumentCategory

      Returns:
      SD Document Category
    • getSalesDocumentType

      @Nullable public String getSalesDocumentType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesDocumentType

      Returns:
      Sales Document Type
    • getSalesOrganization

      @Nullable public String getSalesOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOrganization

      Returns:
      Sales Organization
    • getDistributionChannel

      @Nullable public String getDistributionChannel()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      Distribution Channel
    • getOrganizationDivision

      @Nullable public String getOrganizationDivision()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: OrganizationDivision

      Returns:
      Division
    • getSalesOffice

      @Nullable public String getSalesOffice()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SalesOffice

      Returns:
      Sales Office
    • getSalesGroup

      @Nullable public String getSalesGroup()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SalesGroup

      Returns:
      Sales Group
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getCreationDate

      @Nullable public LocalDateTime getCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      User Who Last Changed the Business Document
    • getLastChangeDate

      @Nullable public LocalDateTime getLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getSoldToParty

      @Nullable public String getSoldToParty()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SoldToParty

      Returns:
      Sold-to Party
    • getTotalNetAmount

      @Nullable public BigDecimal getTotalNetAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: TotalNetAmount

      Returns:
      Net Value of the Sales Order in Document Currency
    • getTransactionCurrency

      @Nullable public String getTransactionCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      SD Document Currency
    • getCustomerCreditAccount

      @Nullable public String getCustomerCreditAccount()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CustomerCreditAccount

      Returns:
      Customer's account number with credit limit reference
    • getControllingAreaCurrency

      @Nullable public String getControllingAreaCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ControllingAreaCurrency

      Returns:
      Currency key of credit control area
    • getReleasedCreditAmount

      @Nullable public BigDecimal getReleasedCreditAmount()
      Constraints: Not nullable, Precision: 16, Scale: 3

      Original property name from the Odata EDM: ReleasedCreditAmount

      Returns:
      Released Credit Value of the Document
    • getCreditBlockReleaseDate

      @Nullable public LocalDateTime getCreditBlockReleaseDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreditBlockReleaseDate

      Returns:
      Release date of the document determined by credit management
    • getNextShippingDate

      @Nullable public LocalDateTime getNextShippingDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: NextShippingDate

      Returns:
      Next date
    • getNextCreditCheckDate

      @Nullable public LocalDateTime getNextCreditCheckDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: NextCreditCheckDate

      Returns:
      Date of Next Credit Check of Document
    • getFinDocCreditCheckStatus

      @Nullable public String getFinDocCreditCheckStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: FinDocCreditCheckStatus

      Returns:
      Status of Credit Check Against Financial Document
    • getTotalCreditCheckStatus

      @Nullable public String getTotalCreditCheckStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TotalCreditCheckStatus

      Returns:
      Overall Status of Credit Checks
    • getOverallSDProcessStatus

      @Nullable public String getOverallSDProcessStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: OverallSDProcessStatus

      Returns:
      Overall Processing Status (Header/All Items)
    • getCentralCreditCheckStatus

      @Nullable public String getCentralCreditCheckStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CentralCreditCheckStatus

      Returns:
      Status of Credit Check SAP Credit Management
    • getCentralCreditChkTechErrSts

      @Nullable public String getCentralCreditChkTechErrSts()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CentralCreditChkTechErrSts

      Returns:
      Status of Technical Error SAP Credit Management
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<CreditBlockedSalesDocument>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<CreditBlockedSalesDocument>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<CreditBlockedSalesDocument>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<CreditBlockedSalesDocument>