Footnotes¶
Business rules for Footnotes and Footnote Types.
- class footnotes.business_rules.FO11(transaction=None)[source]¶
When a footnote is used in a measure then the footnote may not be deleted.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in a measure then the footnote may not be deleted.
- class footnotes.business_rules.FO12(transaction=None)[source]¶
When a footnote is used in a goods nomenclature then the footnote may not be deleted.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in a goods nomenclature then the footnote may not be deleted.
- class footnotes.business_rules.FO15(transaction=None)[source]¶
When a footnote is used in an additional code then the footnote may not be deleted.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in an additional code then the footnote may not be deleted.
- class footnotes.business_rules.FO17(transaction=None)[source]¶
The validity period of the footnote type must span the validity period of the footnote.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
The validity period of the footnote type must span the validity period of the footnote.
- class footnotes.business_rules.FO2(transaction=None)[source]¶
The combination of footnote type and code must be unique.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
The combination of footnote type and code must be unique.
- class footnotes.business_rules.FO4(transaction=None)[source]¶
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
- class footnotes.business_rules.FO5(transaction=None)[source]¶
When a footnote is used in a measure the validity period of the footnote must span the validity period of the measure.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in a measure the validity period of the footnote must span the validity period of the measure.
- class footnotes.business_rules.FO6(transaction=None)[source]¶
When a footnote is used in a goods nomenclature the validity period of the footnote must span the validity period of the association with the goods nomenclature.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in a goods nomenclature the validity period of the footnote must span the validity period of the association with the goods nomenclature.
- class footnotes.business_rules.FO9(transaction=None)[source]¶
When a footnote is used in an additional code the validity period of the footnote must span the validity period of the association with the additional code.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
When a footnote is used in an additional code the validity period of the footnote must span the validity period of the association with the additional code.
- class footnotes.business_rules.FOT1(transaction=None)[source]¶
The type of the footnote must be unique.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
The type of the footnote must be unique.
- class footnotes.business_rules.FOT2(transaction=None)[source]¶
The footnote type cannot be deleted if it is used in a footnote.
- exception Violation(model: common.models.trackedmodel.TrackedModel, message: Optional[str] = None)¶
The footnote type cannot be deleted if it is used in a footnote.