KVSPSAPurchaseLine
Extends #437dbf0e84ff417a965ded2bb9650972#Purchase Line
Fields
| Name | Type | Note |
|---|---|---|
| KVSPSAWork Package Code | Code[20] | |
| KVSPSAWBSCommitmentActive | Boolean | |
| KVSPSAJob Description | Text[100] | FlowField |
| KVSPSAInvoicing Type | Enum (KVSPSAPspInvoicingType) | FlowField |
| KVSPSAJob Invoicing Qty. | Decimal | |
| KVSPSAWork Type Code | Code[10] | |
| KVSPSAJob Account No. | Code[20] | |
| KVSPSABudget Line No. | Integer | |
| KVSPSATo-Do No. | Code[20] | |
| KVSPSAJobPurchWInventory | Boolean | |
| KVSPSAJob Split Exist | Boolean | FlowField |
| KVSPSAPhase Code | Code[20] | |
| KVSPSATask Code | Code[20] | |
| KVSPSAStep Code | Code[20] | |
| KVSPSARes. Job Led. Entry No. | Integer | |
| KVSPSAJob Inv. Currency Factor | Decimal | |
| KVSPSAJob Inv. Currency Code | Code[20] | |
| KVSPSAPurch. Inv. Led. Entries | Boolean | FlowField |
| KVSPSACorr. Job Qty. | Decimal | |
| KVSPSACorr. Job Amount (LCY) | Decimal | |
| KVSPSACorr. Job Manual | Boolean | |
| KVSPSACorr. Job | Boolean | |
| KVSPSAEfficiency Date | Date | |
| KVSPSAEfficiency Resource No. | Code[20] | |
| KVSPSAEfficiencyUnitOfMeasCode | Code[10] | |
| KVSPSAEfficiency Resource Name | Text[100] | |
| KVSPSANonDeductibleVATType | Enum (KVSPSANonDeductibleVATType) | |
| KVSPSANonDeductVATDimCode | Code[20] | |
| KVSPSANonDeductVATDimValueCode | Code[20] | |
| KVSPSAWorkPackageDescription | Text[100] | FlowField |
| KVSPSAInvoicing Qty. % | Decimal | |
| KVSPSAInvoicUnitOfMeasureCode | Code[10] |
Procedures
KVSPSADeleteJobSplitLines() :
Summary: Deletes all associated job split lines for the current purchase line.
procedure KVSPSADeleteJobSplitLines():
KVSPSAGetActivitySingleLine() :
Summary: This procedure retrieves the activity for a single purchase line. It will open job psp line or job budget line page depend on setup field in job. After user selects the line, it will be assigned to the purchase line.
procedure KVSPSAGetActivitySingleLine():
KVSPSASuppressNonDeductVATNotification(Boolean) :
Summary: This procedure set the value of GlobalSuppressNonDeductVATNotification.
procedure KVSPSASuppressNonDeductVATNotification(SuppressNonDeductVATNotification: Boolean):
Parameters:
SuppressNonDeductVATNotification: New value of GlobalSuppressNonDeductVATNotification
Events
KVSPSAOnAfterGetSingleLineActivity(Record Purchase Line, Code[20], Code[20], Code[20], Code[20], Code[20], Integer) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
[IntegrationEvent(false, false)]
[Obsolete('Use new Event KVSPSAOnAfterGetSingleLineProjectActivity. JobNo, WorkPackage and other parameters are actually unused or can be replaced by PurchaseLine."KVSPSAWork Package Code".', '28.4')]
local procedure KVSPSAOnAfterGetSingleLineActivity(var PurchaseLine: Record "Purchase Line"; JobNo: Code[20]; WorkPackageCode: Code[20]; PhaseCode: Code[20]; TaskCode: Code[20]; StepCode: Code[20]; BudgetLineNo: Integer):
KVSPSAOnAfterGetSingleLineProjectActivity(Record Purchase Line) :
Summary: Will be called before the dimensions are calculated.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterGetSingleLineProjectActivity(var PurchaseLine: Record "Purchase Line"):
Parameters:
PurchaseLine:
KVSPSAOnBeforeGetWBSCommitmentActive(Record Purchase Line, Boolean, Boolean) :
Summary: This event can be used to override whether the WBS commitment is active for the purchase line.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeGetWBSCommitmentActive(var Rec: Record "Purchase Line"; var CommitmentActive: Boolean; var IsHandled: Boolean):
Parameters:
Rec: The current purchase line record.CommitmentActive: Set to true if the WBS commitment is active.IsHandled: Set to true to skip the default logic.
KVSPSAOnBeforeHandleJobPlanDimensions(Record Purchase Line, Code[20], Code[20], Code[20], Code[20], Code[20], Integer, List, Boolean) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
[IntegrationEvent(false, false)]
[Obsolete('Use Existing OnAfterInitDefaultDimensionSources from purchaseline to add default dimension sources', '28.4')]
local procedure KVSPSAOnBeforeHandleJobPlanDimensions(var PurchaseLine: Record "Purchase Line"; JobNo: Code[20]; PhaseCode: Code[20]; StepCode: Code[20]; TaskCode: Code[20]; WorkPackageCode: Code[20]; BudgetLineNo: Integer; var DefaultDimSource: List; var IsHandled: Boolean):
KVSPSAOnBeforeKeepOldPrice(Record Purchase Line, Boolean, Boolean) :
Summary: This event can be used to override whether the old price on the purchase line should be kept.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeKeepOldPrice(var PurchaseLine: Record "Purchase Line"; var KeepOldPrice: Boolean; var IsHandled: Boolean):
Parameters:
PurchaseLine: The current purchase line record.KeepOldPrice: Set to true to keep the old price.IsHandled: Set to true to skip the default logic.
KVSPSAOnBeforeSetTableViewToDoNo(Record Purchase Line, Record KVSPSA Job Budget Line) :
Summary: This event can be used to change the filter for the job budget lines shown in the field To-Do-No. before the SetTableView call is made
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetTableViewToDoNo(var PurchaseLine: Record "Purchase Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"):
Parameters:
JobBudgetLine: JobBudgetLine that is changedPurchaseLine: PurchaseLine for filtering
KVSPSAOnBeforeShouldLineTypeBeBold(Record Purchase Line, Boolean, Boolean) :
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeShouldLineTypeBeBold(PurchaseLine: Record "Purchase Line"; var Result: Boolean; var IsHandled: Boolean):