Class UltimateCustomerOrderReferencedDocument

java.lang.Object
com.fourjs.report.facturx.profiles.extended.UltimateCustomerOrderReferencedDocument
All Implemented Interfaces:
Reference

public class UltimateCustomerOrderReferencedDocument extends Object implements Reference
BG-X-23 ULTIMATE CUSTOMER ORDER REFERENCED DOCUMENT.

The EN 16931 business terms and groups implemented by this class:

Business terms and groups implemented
RepresentsBG-X-23
Business terms (value fields)BT-X-150, BT-X-151, BT-X-151-0
Since:
1.0.06/2.2
  • Method Details

    • setID

      Sets BT-X-150 Ultimate Customer Order number of the final customer.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:IssuerAssignedID

      FR: 0

      Parameters:
      value - the value to set
      Returns:
      this UltimateCustomerOrderReferencedDocument for chaining
      Since:
      1.09.2/2.5.2
    • setDate

      Sets BT-X-151 Document date.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString

      FR: 0

      Parameters:
      value - the value to set
      Returns:
      this UltimateCustomerOrderReferencedDocument for chaining
      Since:
      1.09.2/2.5.2
    • getID

      public String getID()
      Returns BT-X-150 Ultimate Customer Order number of the final customer.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:IssuerAssignedID

      FR: 0

      Returns:
      the BT-X-150 value
      Since:
      1.09.2/2.5.2
    • getDate

      public LocalDate getDate()
      Returns BT-X-151 Document date.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString

      FR: 0

      Returns:
      the BT-X-151 value
      Since:
      1.09.2/2.5.2
    • getDateFormat

      public Codes.DateFormat getDateFormat() throws ComputationException
      Returns BT-X-151-0 Date format.

      Usage: Only value "102"

      Rule: Only value "102"

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@format

      FR: Date, format

      Returns:
      the BT-X-151-0 value
      Throws:
      ComputationException
      Since:
      1.09.2/2.5.2