PriceReviewChart
Price Revision Committee analysis chart.
Source: doctype.py
Fields
Section titled “Fields”| Field | Type | Required | Description | Validators |
|---|---|---|---|---|
| revision_request | Link | ✓ | - | - |
| item | Link | ✓ | - | - |
| item_name | str | ✓ | - | - |
| item_group | str | ✓ | - | - |
| current_mrp | Decimal | ✓ | - | - |
| proposed_mrp | Decimal | ✓ | - | - |
| mrp_change_percent | Decimal | ✓ | - | - |
| current_csd_price | Decimal | ✓ | - | - |
| proposed_csd_price | Decimal | ✓ | - | - |
| csd_price_change_percent | Decimal | ✓ | - | - |
| market_survey_price | None | - | - | |
| competitor_1_price | None | - | - | |
| competitor_2_price | None | - | - | |
| last_revision_date | None | - | - | |
| revisions_in_last_year | int | - | - | |
| prc_date | None | - | - | |
| prc_members | list[str] | - | - | |
| mom_document | None | - | - | |
| recommendation | str | - | - | |
| approved_csd_price | None | - | - | |
| remarks | None | - | - |
Configuration
Section titled “Configuration”| Setting | Value |
|---|---|
| Submittable | False |
| Track Changes | True |
Controller
Section titled “Controller”Controller hooks are implemented in *_controller.py files.
Available lifecycle hooks:
validate()- Called before save, raise exceptions for validation errorsbefore_insert()- Called before inserting a new documentafter_insert()- Called after successfully insertingbefore_save()- Called before saving (insert or update)after_save()- Called after savingbefore_delete()- Called before deletingafter_delete()- Called after deleting