Report 5130115 M365 Job Create Purch Doc.
Report 5130115 M365 Job Create Purch Doc.
Language | Caption |
---|---|
de-DE | Einkaufsbelege aus Disposition erstellen |
es-ES | Crea Documentos de compras de disposición |
en-US | Create Purch. Documents from Disposition |
it-CH | Crea purch. Documenti da disposizione |
it-IT | Crea purch. Documenti da disposizione |
Methods
AddLine
procedure AddLine(forJobStructureDisposition: Record "M365 Job Structure Disposition" temporary)
Parameters / Return Value
- forJobStructureDisposition
Record "M365 Job Structure Disposition"
CreateHeader
procedure CreateHeader(jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
- jobStructDisp
Record "M365 Job Structure Disposition"
CreateLine
procedure CreateLine(jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
- jobStructDisp
Record "M365 Job Structure Disposition"
GetLastLineNo
procedure GetLastLineNo(purchLine: Record "Purchase Line"): Integer
Parameters / Return Value
purchLine
Record "Purchase Line"
Returns
Integer
SetDocumentType
procedure SetDocumentType(forDoctype: Option "None",Quote,"Order")
Parameters / Return Value
forDoctype
Option
"None"
(0) ,Quote
(1) ,"Order"
(2)
Events
OnAfterInsertPurchLine
local procedure OnAfterInsertPurchLine(var jobStructDisp: Record "M365 Job Structure Disposition"; var purchLine: Record "Purchase Line"; var jobStructLine: Record "M365 Job Structure Line")
Parameters / Return Value
jobStructDisp
Record "M365 Job Structure Disposition"
purchLine
Record "Purchase Line"
jobStructLine
Record "M365 Job Structure Line"
OnAfterInsertPurchLineSec
local procedure OnAfterInsertPurchLineSec(var jobStructDisp: Record "M365 Job Structure Disposition"; var purchLine: Record "Purchase Line")
Parameters / Return Value
jobStructDisp
Record "M365 Job Structure Disposition"
purchLine
Record "Purchase Line"
OnBeforeInsertPurchaseHeader
local procedure OnBeforeInsertPurchaseHeader(var PurchHeader: Record "Purchase Header"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
jobStructDisp
Record "M365 Job Structure Disposition"
OnAfterInsertPurchaseHeader
local procedure OnAfterInsertPurchaseHeader(var PurchHeader: Record "Purchase Header"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
jobStructDisp
Record "M365 Job Structure Disposition"
OnBeforeModifyPurchaseHeader
local procedure OnBeforeModifyPurchaseHeader(var PurchHeader: Record "Purchase Header"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
jobStructDisp
Record "M365 Job Structure Disposition"
OnAfterModifyPurchaseHeader
local procedure OnAfterModifyPurchaseHeader(var PurchHeader: Record "Purchase Header"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
jobStructDisp
Record "M365 Job Structure Disposition"
OnBeforeCreateHeader
local procedure OnBeforeCreateHeader(CurrentPurchHeader: Record "Purchase Header"; CurrentJobStructureDisposition: Record "M365 Job Structure Disposition"; var CreateNewHeader: Boolean)
Parameters / Return Value
CurrentPurchHeader
Record "Purchase Header"
CurrentJobStructureDisposition
Record "M365 Job Structure Disposition"
CreateNewHeader
Boolean
OnJobStructureDispositionPreDataitem
local procedure OnJobStructureDispositionPreDataitem(var JobStructureDisposition: Record "M365 Job Structure Disposition")
Parameters / Return Value
- JobStructureDisposition
Record "M365 Job Structure Disposition"
OnBeforeInsertPurchLine
local procedure OnBeforeInsertPurchLine(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
PurchLine
Record "Purchase Line"
jobStructDisp
Record "M365 Job Structure Disposition"
OnBeforeModifyPurchLine
local procedure OnBeforeModifyPurchLine(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; jobStructDisp: Record "M365 Job Structure Disposition")
Parameters / Return Value
PurchHeader
Record "Purchase Header"
PurchLine
Record "Purchase Line"
jobStructDisp
Record "M365 Job Structure Disposition"
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.