Class ContractReference
- All Implemented Interfaces:
Reference
BT-12-00 (CONTRACT REFERENCE).
The EN 16931 business terms and groups implemented by this class:
| Represents | BT-12-00 |
|---|---|
| Business terms (value fields) | BT-X-148, BT-X-148-0, BT-X-405, BT-12 |
- Since:
- 1.0.06/2.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns BT-X-405 Contract Code Type — Type of contractgetDate()Returns BT-X-148 Contract date.Returns BT-X-148-0 Date format.getID()Returns BT-12 Contract reference — The identification of a contract.Sets BT-X-405 Contract Code Type — Type of contractSets BT-X-148 Contract date.Sets BT-12 Contract reference — The identification of a contract.
-
Method Details
-
setID
Sets BT-12 Contract reference — The identification of a contract.Usage: The contract identifier should be unique in the context of the specific trading relationship and for a defined time period.
Conditions (CIUS): CHORUSPRO : This is the "numéro de Marché" (contract number)
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedIDFR: Identifiant de contrat — Identifiant d'un contrat.
- Parameters:
value- the value to set- Returns:
- this
ContractReferencefor chaining - Since:
- 1.09.2/2.5.2
-
setDate
Sets BT-X-148 Contract date.XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeStringFR: Date du contrat, valeur
- Parameters:
value- the value to set- Returns:
- this
ContractReferencefor chaining - Since:
- 1.09.2/2.5.2
-
setContractCodeType
Sets BT-X-405 Contract Code Type — Type of contractUsage: Use codes from UNTDID 1153
Conditions (CIUS): CHORUSPRO: To qualify a contract (CT) or a procurement contract "Marché" (BC)
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:ReferenceTypeCodeFR: Code de type de Contrat — Qualifie le type de Contrat
- Parameters:
value- the value to set- Returns:
- this
ContractReferencefor chaining - Since:
- 1.09.2/2.5.2
-
getID
Returns BT-12 Contract reference — The identification of a contract.Usage: The contract identifier should be unique in the context of the specific trading relationship and for a defined time period.
Conditions (CIUS): CHORUSPRO : This is the "numéro de Marché" (contract number)
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedIDFR: Identifiant de contrat — Identifiant d'un contrat.
- Returns:
- the
BT-12value - Since:
- 1.09.2/2.5.2
-
getDate
Returns BT-X-148 Contract date.XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeStringFR: Date du contrat, valeur
- Returns:
- the
BT-X-148value - Since:
- 1.09.2/2.5.2
-
getDateFormat
Returns BT-X-148-0 Date format.Usage: Only value "102"
Rule: Only value "102"
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/qdt:DateTimeString/@formatFR: Date, format
- Returns:
- the
BT-X-148-0value - Throws:
ComputationException- Since:
- 1.09.2/2.5.2
-
getContractCodeType
Returns BT-X-405 Contract Code Type — Type of contractUsage: Use codes from UNTDID 1153
Conditions (CIUS): CHORUSPRO: To qualify a contract (CT) or a procurement contract "Marché" (BC)
XPath:
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:ReferenceTypeCodeFR: Code de type de Contrat — Qualifie le type de Contrat
- Returns:
- the
BT-X-405value - Since:
- 1.09.2/2.5.2
-