Class ContractReference


  • public class ContractReference
    extends Object
    BT-12-00:(CONTRACT REFERENCE)

    XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument

    • Method Detail

      • setContractReference

        public ContractReference setContractReference​(DocumentReference value)
        Parameters:
        value - BT-12:Contract reference

        The identification of a contract.

        The contract identifier should be unique in the context of the specific trading relationship and for a defined time period.

        CHORUSPRO : This is the "numéro de Marché" (contract number)

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

        Returns:
        ContractReference
      • setDateTimeStringFormat

        public ContractReference setDateTimeStringFormat​(String value)
        Parameters:
        value - EXT:Date, format Date Format

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

        Returns:
        ContractReference
      • setDateTimeString

        public ContractReference setDateTimeString​(String value)
        Parameters:
        value - EXT:Contract Date, Value

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

        Returns:
        ContractReference
      • getContractReference

        public DocumentReference getContractReference()
        BT-12:Contract reference

        The identification of a contract.

        The contract identifier should be unique in the context of the specific trading relationship and for a defined time period.

        CHORUSPRO : This is the "numéro de Marché" (contract number)

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedID
      • getDateTimeStringFormat

        public String getDateTimeStringFormat()
        EXT:Date, format Date Format
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@format
      • getDateTimeString

        public String getDateTimeString()
        EXT:Contract Date, Value
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString