KVSTRDDemandPlCalcSchedLine#
Fields#
| Name | Type | Note |
|---|---|---|
| Calculation Schedule Code | Code[20] | |
| Line No. | Integer | |
| Calculate By | Enum (KVSTRDDemandPlanCalculateBy) | |
| Day | Integer | |
| Month | Option | OptionMembers: ,January,February,March,April,May,June,July,August,September,October,November,December |
| Week | Integer | |
| Quarter | Option | OptionMembers: ,Quarter 1,Quarter 2,Quarter 3,Quarter 4 |
| Sales Type | Enum (KVSTRDProdFCEntrySalesType) | |
| Sales Code | Code[20] | |
| Value Adjmt. Type | Option | OptionMembers: ,Surcharge,Deduction |
| Value Adjmt. % | Decimal | |
| Quantity Rounding Precision | Decimal | |
| Quantity Rounding Type | Option | OptionMembers: None,Nearest,Up,Down |
Procedures#
TestStatus() :#
Summary: Tests the field Status of the "Demand Forecast Schedule Header". If the value is "Activated" or "Disabled", an error is thrown.
procedure TestStatus():