Codeunit 18126501 EOS091 PTS Tech. Specs Mgt.
Codeunit 18126501 EOS091 PTS Tech. Specs Mgt.
Methods
Reopen
procedure Reopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")
Parameters / Return Value
- TechnicalSpecs
Record "EOS091 PTS Technical Specs"
Release
procedure Release(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")
Parameters / Return Value
- TechnicalSpecs
Record "EOS091 PTS Technical Specs"
ArchiveDocument
procedure ArchiveDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")
Parameters / Return Value
- TechnicalSpecs
Record "EOS091 PTS Technical Specs"
StoreDocument
procedure StoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; ArchiveNote: Text[250])
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
ArchiveNote
Text[250]
GetNextVersionNo
procedure GetNextVersionNo(DocNo: Code[20]) VersionNo: Integer
Parameters / Return Value
DocNo
Code[20]
Returns
Integer
RestoreArchivedDocumentYesNo
procedure RestoreArchivedDocumentYesNo(var TechSpecsArchive: Record "EOS091 PTS Tech. Specs Archive")
Parameters / Return Value
- TechSpecsArchive
Record "EOS091 PTS Tech. Specs Archive"
LinkTechSpecsToItem
procedure LinkTechSpecsToItem(ItemNo: Code[20]; var TechSpecs: Record "EOS091 PTS Technical Specs"): Boolean
Parameters / Return Value
ItemNo
Code[20]
TechSpecs
Record "EOS091 PTS Technical Specs"
Returns
Boolean
LinkItemToTechSpecs
procedure LinkItemToTechSpecs(TechSpecsNo: Code[20]; var Item: Record Item): Boolean
Parameters / Return Value
TechSpecsNo
Code[20]
Item
Record "Item"
Returns
Boolean
DeleteItemTechSpecsLink
Obsolete
Pending: Removed. Use ConfirmAndDeleteItemTechSpecsLink method instead (25.0)procedure DeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20])
Parameters / Return Value
ItemNo
Code[20]
TechSpecsNo
Code[20]
ConfirmAndDeleteItemTechSpecsLink
procedure ConfirmAndDeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20]): Boolean
Parameters / Return Value
ItemNo
Code[20]
TechSpecsNo
Code[20]
Returns
Boolean
CopyTechSpecs
procedure CopyTechSpecs(Rec: Record "EOS091 PTS Technical Specs")
Parameters / Return Value
- Rec
Record "EOS091 PTS Technical Specs"
Events
OnBeforeReopen
local procedure OnBeforeReopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)
Raised before the technical Specs is reopened.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The technical Specs.
IsHandled
Boolean
If true, skips the standard code.
OnAfterReopen
local procedure OnAfterReopen(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")
Raised after the technical Specs has been reopened.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The technical Specs.
OnBeforeRelease
local procedure OnBeforeRelease(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)
Raised before the technical Specs is released.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The technical Specs.
IsHandled
Boolean
If true, skips the standard code.
OnAfterRelease
local procedure OnAfterRelease(var TechnicalSpecs: Record "EOS091 PTS Technical Specs")
Raised after the technical Specs has been released.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The technical Specs.
OnBeforeGetNextVersionNo
local procedure OnBeforeGetNextVersionNo(DocNo: Code[20]; var VersionNo: Integer; var IsHandled: Boolean)
Raised before retrieving the next version no. for the record.
Parameters / Return Value
DocNo
Code[20]
The number of the technical Specs that is being archived.
VersionNo
Integer
The version no. you want to provide.
IsHandled
Boolean
If true, skips the standard code.
OnBeforeStoreDocument
local procedure OnBeforeStoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var IsHandled: Boolean)
Raised before archiving the technical Specs.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The record that is going to be archived.
IsHandled
Boolean
If true, skips the standard code.
OnAfterStoreDocument
local procedure OnAfterStoreDocument(var TechnicalSpecs: Record "EOS091 PTS Technical Specs"; var TechSpecsArchive: Record "EOS091 PTS Tech. Specs Archive")
Raised after archiving the technical Specs.
Parameters / Return Value
TechnicalSpecs
Record "EOS091 PTS Technical Specs"
The record that was archived.
TechSpecsArchive
Record "EOS091 PTS Tech. Specs Archive"
The archived record.
OnBeforeLinkTechSpecsToItem
local procedure OnBeforeLinkTechSpecsToItem(ItemNo: Code[20]; var IsHandled: Boolean)
Raised before linking technical specifications to an item.
Parameters / Return Value
ItemNo
Code[20]
The item you want to link a new technical specifications record to.
IsHandled
Boolean
If true, skips the app standard logic.
OnAfterLinkTechSpecsToItems
local procedure OnAfterLinkTechSpecsToItems(ItemNo: Code[20]; var TechSpecs: Record "EOS091 PTS Technical Specs"; ItemSpecsRelation: Record "EOS091 PTS Item Specs Relation")
Raised after linking technical specifications to an item.
Parameters / Return Value
ItemNo
Code[20]
The item.
TechSpecs
Record "EOS091 PTS Technical Specs"
The technical specifications that were linked to the item.
ItemSpecsRelation
Record "EOS091 PTS Item Specs Relation"
The new item/specs relation record.
OnBeforeLinkItemToTechSpecs
local procedure OnBeforeLinkItemToTechSpecs(TechSpecsNo: Code[20]; var IsHandled: Boolean)
Raised before linking an item to technical specifications.
Parameters / Return Value
TechSpecsNo
Code[20]
The technical specifications you want to link an item to.
IsHandled
Boolean
If true, skips the app standard logic.
OnAfterLinkItemToTechSpecs
local procedure OnAfterLinkItemToTechSpecs(TechSpecsNo: Code[20]; var Item: Record Item; ItemSpecsRelation: Record "EOS091 PTS Item Specs Relation")
Raised after linking an item to technical specifications.
Parameters / Return Value
TechSpecsNo
Code[20]
The technical specifications.
Item
Record "Item"
The item that was linked to the technical specifications.
ItemSpecsRelation
Record "EOS091 PTS Item Specs Relation"
The new item/specs relation record.
OnBeforeDeleteItemTechSpecsLink
local procedure OnBeforeDeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20]; var IsHandled: Boolean; var LinksDeleted: Boolean)
Raised before deleting the link between an item and its technical specifications.
Parameters / Return Value
ItemNo
Code[20]
The item you want to remove technical specifications from.
TechSpecsNo
Code[20]
The technical specifications to remove.
IsHandled
Boolean
If true, skips the app standard logic.
LinksDeleted
Boolean
If true, the links between item and technical specification are deleted.
OnAfterDeleteItemTechSpecsLink
local procedure OnAfterDeleteItemTechSpecsLink(ItemNo: Code[20]; TechSpecsNo: Code[20])
Raised after deleting the link between an item and its technical specifications.
Parameters / Return Value
ItemNo
Code[20]
The item.
TechSpecsNo
Code[20]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.