Report 18123251 EOS Purch. Req. - Create Doc.
Report 18123251 EOS Purch. Req. - Create Doc.
Language | Caption |
---|---|
da-DK | Køb Anmodning - Opret dok. |
de-AT | Einkaufsanfrage - Dokument erstellen |
de-CH | Einkaufsanfrage - Dokument erstellen |
de-DE | Einkaufsanfrage - Dokument erstellen |
en-AU | Purch. Request - Create Doc. |
en-CA | Purch. Request - Create Doc. |
en-GB | Purch. Request - Create Doc. |
en-NZ | Purch. Request - Create Doc. |
es-ES | Compr. Solicitud - Crear Doc. |
es-MX | Compr. Solicitud - Crear Doc. |
fr-BE | Ach. Demande - Créer Doc. |
fr-CA | Ach. Demande - Créer Doc. |
fr-CH | Ach. Demande - Créer Doc. |
fr-FR | Ach. Demande - Créer Doc. |
en-US | Purch. Request - Create Doc. |
it-CH | Richieste acquisto - Crea documento |
it-IT | Richieste acquisto - Crea documento |
nl-BE | Aankoop Aanvraag - Creëer doe. |
nl-NL | Aankoop Aanvraag - Creëer doe. |
Methods
InitRequest
procedure InitRequest(var PurchReqHeader: Record "EOS Purch. Request Header")
Parameters / Return Value
- PurchReqHeader
Record "EOS Purch. Request Header"
SetParameters
procedure SetParameters(SetDocType: Option Quote,"Order","Blanket Order"; SetArchivePurchRequest: Boolean; SetClosePurchRequest: Boolean; SetMultipleDoc: Boolean)
Sets the parameters for the purchase request document creation process. Function to use if the report is launched with userrequestpage = false
Parameters / Return Value
SetDocType
Option
Quote
(0) ,"Order"
(1) ,"Blanket Order"
(2)Specifies the type of document to create. Options are Quote, Order, or Blanket Order.
SetArchivePurchRequest
Boolean
Indicates whether the purchase request should be archived.
SetClosePurchRequest
Boolean
Indicates whether the purchase request should be closed.
SetMultipleDoc
Boolean
Indicates whether multiple documents should be created.
Events
OnAfterModifyPurchReqLine_AddDCSMetadata
procedure OnAfterModifyPurchReqLine_AddDCSMetadata(PurchReqLine: Record "EOS Purch. Request Line";PurchHeader: Record "Purchase Header")
Parameters / Return Value
PurchReqLine
Record "EOS Purch. Request Line"
PurchHeader
Record "Purchase Header"
OnInitReport_CanClosePurchReq
procedure OnInitReport_CanClosePurchReq(var CanClose: Boolean)
Parameters / Return Value
- CanClose
Boolean
OnRequestPageOnOpenPage
local procedure OnRequestPageOnOpenPage(var DocumentType: Option;var EnableDocType: Boolean;var ArchivePRQ: Boolean;var EnableArchivePRQ: Boolean;var ClosePRQ: Boolean;var EnableClosePRQ: Boolean;var MultiDocument: Boolean;var EnableMultiDoc: Boolean)
Parameters / Return Value
DocumentType
Option
EnableDocType
Boolean
ArchivePRQ
Boolean
EnableArchivePRQ
Boolean
ClosePRQ
Boolean
EnableClosePRQ
Boolean
MultiDocument
Boolean
EnableMultiDoc
Boolean
OnDocTypeValidate
local procedure OnDocTypeValidate(DocumentType: Option;var ArchivePRQ: Boolean;var EnableArchivePRQ: Boolean;var ClosePRQ: Boolean;var EnableClosePRQ: Boolean;var MultiDocument: Boolean;var EnableMultiDoc: Boolean)
Parameters / Return Value
DocumentType
Option
ArchivePRQ
Boolean
EnableArchivePRQ
Boolean
ClosePRQ
Boolean
EnableClosePRQ
Boolean
MultiDocument
Boolean
EnableMultiDoc
Boolean
OnArchivePRQValidate
local procedure OnArchivePRQValidate(ArchivePRQ: Boolean;var DocumentType: Option;var EnableDocType: Boolean;var ClosePRQ: Boolean;var EnableClosePRQ: Boolean;var MultiDocument: Boolean;var EnableMultiDoc: Boolean)
Parameters / Return Value
ArchivePRQ
Boolean
DocumentType
Option
EnableDocType
Boolean
ClosePRQ
Boolean
EnableClosePRQ
Boolean
MultiDocument
Boolean
EnableMultiDoc
Boolean
OnClosePRQValidate
local procedure OnClosePRQValidate(ClosePRQ: Boolean;var DocumentType: Option;var EnableDocType: Boolean;var ArchivePRQ: Boolean;var EnableArchivePRQ: Boolean;var MultiDocument: Boolean;var EnableMultiDoc: Boolean)
Parameters / Return Value
ClosePRQ
Boolean
DocumentType
Option
EnableDocType
Boolean
ArchivePRQ
Boolean
EnableArchivePRQ
Boolean
MultiDocument
Boolean
EnableMultiDoc
Boolean
OnMultiDocValidate
local procedure OnMultiDocValidate(MultiDocument: Boolean;var DocumentType: Option;var EnableDocType: Boolean;var ArchivePRQ: Boolean;var EnableArchivePRQ: Boolean;var ClosePRQ: Boolean;var EnableClosePRQ: Boolean)
Parameters / Return Value
MultiDocument
Boolean
DocumentType
Option
EnableDocType
Boolean
ArchivePRQ
Boolean
EnableArchivePRQ
Boolean
ClosePRQ
Boolean
EnableClosePRQ
Boolean
OnAfterFindOrCreatePurchHeader
local procedure OnAfterFindOrCreatePurchHeader(PurchReqHeader: Record "EOS Purch. Request Header"; var PurchHeader: Record "Purchase Header")
Parameters / Return Value
PurchReqHeader
Record "EOS Purch. Request Header"
PurchHeader
Record "Purchase Header"
OnAfterItemVendorPreviewOnBuildTempReqLine
local procedure OnAfterItemVendorPreviewOnBuildTempReqLine(PurchReqLine2: Record "EOS Purch. Request Line";PurchReqMultiVendor: Record "EOS Purch. Req. Multi Vendor";var TmpPurchReqLine: Record "EOS Purch. Request Line")
Parameters / Return Value
PurchReqLine2
Record "EOS Purch. Request Line"
PurchReqMultiVendor
Record "EOS Purch. Req. Multi Vendor"
TmpPurchReqLine
Record "EOS Purch. Request Line"
OnBeforeModifyStatus
local procedure OnBeforeModifyStatus(var PurchRequestHeader: Record "EOS Purch. Request Header")
Parameters / Return Value
- PurchRequestHeader
Record "EOS Purch. Request Header"
OnBeforeInsertPurchaseRequestLine
local procedure OnBeforeInsertPurchaseRequestLine(var PurchRequestLine: Record "EOS Purch. Request Line"; var PurchRequestLine2: Record "EOS Purch. Request Line"; LineNo: Integer)
Parameters / Return Value
PurchRequestLine
Record "EOS Purch. Request Line"
PurchRequestLine2
Record "EOS Purch. Request Line"
LineNo
Integer
OnBeforeProcessPurchaseRequisitionLine
local procedure OnBeforeProcessPurchaseRequisitionLine(var PurchRequestLine: Record "EOS Purch. Request Line"; var SkipRecord: Boolean)
Parameters / Return Value
PurchRequestLine
Record "EOS Purch. Request Line"
SkipRecord
Boolean
OnAfterInsertPurchHeader
local procedure OnAfterInsertPurchHeader(var PurchHeader: Record "Purchase Header"; PurchReqHeader: Record "EOS Purch. Request Header")
Raised after the purchase header has been created.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The purchase header that has been created.
PurchReqHeader
Record "EOS Purch. Request Header"
The source purchase request header.
OnBeforeInsertPurchHeader
local procedure OnBeforeInsertPurchHeader(var PurchHeader: Record "Purchase Header"; PurchReqHeader: Record "EOS Purch. Request Header")
Raised before the purchase header is inserted.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The purchase header that is about to be created.
PurchReqHeader
Record "EOS Purch. Request Header"
The source purchase request header.
OnBeforeCopyComments
local procedure OnBeforeCopyComments(PurchReqLine: Record "EOS Purch. Request Line"; PurchLine: Record "Purchase Line"; var handled: Boolean)
Parameters / Return Value
PurchReqLine
Record "EOS Purch. Request Line"
PurchLine
Record "Purchase Line"
handled
Boolean
OnCopyCommentsOnBeforeInsertCommentLine
local procedure OnCopyCommentsOnBeforeInsertCommentLine(var NewPurchCommentLine: Record "Purch. Comment Line"; var PRQCommentLine: Record "EOS Purch. Comment Line"; PurchReqLine: Record "EOS Purch. Request Line"; PurchLine: Record "Purchase Line"; var handled: Boolean)
Parameters / Return Value
NewPurchCommentLine
Record "Purch. Comment Line"
PRQCommentLine
Record "EOS Purch. Comment Line"
PurchReqLine
Record "EOS Purch. Request Line"
PurchLine
Record "Purchase Line"
handled
Boolean
OnCopyCommentsOnAfterInsertCommentLine
local procedure OnCopyCommentsOnAfterInsertCommentLine(var NewPurchCommentLine: Record "Purch. Comment Line"; var PRQCommentLine: Record "EOS Purch. Comment Line"; PurchReqLine: Record "EOS Purch. Request Line"; PurchLine: Record "Purchase Line")
Parameters / Return Value
NewPurchCommentLine
Record "Purch. Comment Line"
PRQCommentLine
Record "EOS Purch. Comment Line"
PurchReqLine
Record "EOS Purch. Request Line"
PurchLine
Record "Purchase Line"
OnAfterCopyComments
local procedure OnAfterCopyComments(PurchReqLine: Record "EOS Purch. Request Line"; PurchLine: Record "Purchase Line")
Parameters / Return Value
PurchReqLine
Record "EOS Purch. Request Line"
PurchLine
Record "Purchase Line"
OnAfterCreatePurchDocumentsFromPurchRequestHeader
local procedure OnAfterCreatePurchDocumentsFromPurchRequestHeader(PurchReqHeader: Record "EOS Purch. Request Header"; var TempPurchHeader: Record "Purchase Header" temporary; ClosePurchRequest: Boolean; ArchivePurchRequest: Boolean)
This event is triggered after creating purchase documents from a purchase request header.
Parameters / Return Value
PurchReqHeader
Record "EOS Purch. Request Header"
The purchase request header record.
TempPurchHeader
Record "Purchase Header"
The temporary that contains the list of purchase header created.
ClosePurchRequest
Boolean
Indicates whether to close the purchase request.
ArchivePurchRequest
Boolean
Indicates whether to archive the purchase request.
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.