Class ContractReferenceDocOnLineLevel

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

public class ContractReferenceDocOnLineLevel extends Object implements Reference
BG-X-2 CONTRACT REFERENCE DOC ON LINE LEVEL — Referenced Contract document for this line

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

Business terms and groups implemented
RepresentsBG-X-2
Business terms (value fields)BT-X-24, BT-X-25, BT-X-26, BT-X-26-0

Documentation of the represented business group:

BG-X-2 — CONTRACT REFERENCE DOC ON LINE LEVEL
DescriptionENReferenced Contract document for this line
Usage noteENTo be used only in case of multiple Contract document referenced. Otherwise, it is stated on Document level
Since:
1.09.2/2.5.2
  • Method Details

    • setID

      Sets BT-X-24 Contract number — Referenced Contract ID applied to this line

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedID

      FR: Identifiant du contrat

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

      public ContractReferenceDocOnLineLevel setLineID(String value)
      Sets BT-X-25 Contract LineID — Referenced Contract LineID applied to this line

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:LineID

      FR: Identifiant de la ligne du contrat

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

      Sets BT-X-26 Contract Date.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString

      FR: Date du contrat, valeur

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

      public String getID()
      Returns BT-X-24 Contract number — Referenced Contract ID applied to this line

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedID

      FR: Identifiant du contrat

      Returns:
      the BT-X-24 value
      Since:
      1.09.2/2.5.2
    • getLineID

      public String getLineID()
      Returns BT-X-25 Contract LineID — Referenced Contract LineID applied to this line

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:LineID

      FR: Identifiant de la ligne du contrat

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

      public LocalDate getDate()
      Returns BT-X-26 Contract Date.

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString

      FR: Date du contrat, valeur

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

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

      Usage: Only value "102"

      Rule: Only value "102"

      XPath: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@format

      FR: Date, format

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