KVSPSADistributionEntry#
Fields#
| Name | Type | Note |
|---|---|---|
| Entry No. | Integer | |
| Quantity | Decimal | |
| Starting Date | Date | |
| Ending Date | Date | |
| Period | Text[250] | |
| Duration in Days | Decimal | |
| Period Unit Type | Enum (KVSPSAPeriodUnitType) | |
| Period Relation | Text[250] | |
| Aggregated | Boolean | |
| Start DateTime | DateTime | |
| End DateTime | DateTime | |
| Starting Date Filter | Date | FlowFilter |
| Ending Date Filter | Date | FlowFilter |
| Open | Boolean | |
| Sale - Total Price | Decimal | |
| Active | Boolean | |
| Excluded | Boolean | |
| Sale - Total Price (Actual) | Decimal | |
| Job Status | Enum Job Status | FlowField |
| Sales Total (Not Invoiced) | Decimal | |
| Is Out of Range | Boolean | |
| Invoicing Quantity | Decimal | |
| Invoicing Quantity (Open) | Decimal | |
| Invoicing Type | Enum (KVSPSAPspInvoicingType) | FlowField |
| Unit Price (LCY) | Decimal | |
| Usage Quantity (Base) | Decimal | |
| Usage Invoicing Qty. | Decimal | |
| Quantity Assigned | Decimal | FlowField |
| Job No. | Code[20] | |
| Phase Code | Code[20] | |
| Task Code | Code[20] | |
| Step Code | Code[20] | |
| Work Package Code | Code[20] | |
| Budget Line No. | Integer | |
| Version No. | Code[20] | |
| Job Budget Name | Code[10] | |
| Budget Line To-Do No. | Code[20] | |
| Budget Line Type | Enum (KVSPSAJobBudgetLineType) | |
| Budget Line Type No. | Code[20] | |
| Manual Excluded | Boolean | |
| Total Cost | Decimal | |
| Unit Cost | Decimal | |
| Manual Planned | Boolean | |
| Should Value Capacity | Decimal | |
| SaleTotalPriceActual | Decimal | |
| InvoicingQtyActual | Decimal | |
| SaleTotalPriceLiquidityActual | Decimal | |
| UnitPriceActualLCY | Decimal | |
| QuantityDistrSuggestion | Decimal | |
| SalesTotalActualNotInv | Decimal | |
| TotalCostActual | Decimal | |
| TotalCostDistrSuggestion | Decimal |
Events#
KVSPSAOnBeforeCheckJobBlocked(Record KVSPSADistributionEntry, Record KVSPSAJobPSPLine, Boolean) :#
Summary: Event that is triggered before checking if a job is blocked for the distribution entry.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJobBlocked(var DistributionEntry: Record "KVSPSADistributionEntry"; var JobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Table, Table::"KVSPSADistributionEntry", 'KVSPSAOnBeforeCheckJobBlocked', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJobBlocked(var DistributionEntry: Record "KVSPSADistributionEntry"; var JobPSPLine: Record "KVSPSAJobPSPLine"; var IsHandled: Boolean)
begin
end;
Parameters:
DistributionEntry: The distribution entry record being processed.JobPSPLine: The related job PSP line record.IsHandled: Set to true to skip the default job blocked check.