Report 5130113 M365 Job Create Sales Doc.
Report 5130113 M365 Job Create Sales Doc.
Language | Caption |
---|---|
de-DE | Verkaufsbeleg aus Projektstruktur erstellen |
es-ES | Crear proyecto documentos de ventas |
en-US | Project Create Sales Documents |
it-CH | Creare documenti di vendita per la creazione di progetti |
it-IT | Creare documenti di vendita per la creazione di progetti |
Methods
CreateHeader
procedure CreateHeader()
CreateLine
procedure CreateLine()
SetOnlyNewLines
procedure SetOnlyNewLines(forOnlyNew: Boolean)
Parameters / Return Value
- forOnlyNew
Boolean
GetLastLineNo
procedure GetLastLineNo(salesLine: Record "Sales Line"): Integer
Parameters / Return Value
salesLine
Record "Sales Line"
Returns
Integer
CheckNewLine
procedure CheckNewLine(): Boolean
Parameters / Return Value
- Returns
Boolean
SetCurrencyCode
procedure SetCurrencyCode(forSalesCurrencyCode: Code[10])
Parameters / Return Value
- forSalesCurrencyCode
Code[10]
SetDocumentType
procedure SetDocumentType(forDoctype: Option "None",Quote,"Order")
Parameters / Return Value
forDoctype
Option
"None"
(0) ,Quote
(1) ,"Order"
(2)
IsNonInventoriableItem
procedure IsNonInventoriableItem(JobStructureLine: Record "M365 Job Structure Line"): Boolean
Parameters / Return Value
JobStructureLine
Record "M365 Job Structure Line"
Returns
Boolean
Events
OnBeforeValidate
local procedure OnBeforeValidate(var jobStructureLine: Record "M365 Job Structure Line"; var salesLine: Record "Sales Line"; var handled: Boolean)
Parameters / Return Value
jobStructureLine
Record "M365 Job Structure Line"
salesLine
Record "Sales Line"
handled
Boolean
OnAfterModifySalesLine
local procedure OnAfterModifySalesLine(var salesLine: Record "Sales Line"; var jobStructureLine: Record "M365 Job Structure Line")
Parameters / Return Value
salesLine
Record "Sales Line"
jobStructureLine
Record "M365 Job Structure Line"
OnBeforeInsertSalesHeader
local procedure OnBeforeInsertSalesHeader(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
OnAfterInsertSalesHeader
local procedure OnAfterInsertSalesHeader(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
OnBeforeModifySalesHeader
local procedure OnBeforeModifySalesHeader(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
OnAfterModifySalesHeader
local procedure OnAfterModifySalesHeader(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
OnAfterSalesOrderCreation
local procedure OnAfterSalesOrderCreation(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
OnBeforeInsertSalesLine
local procedure OnBeforeInsertSalesLine(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
SalesLine
Record "Sales Line"
OnAfterInsertSalesLine
local procedure OnAfterInsertSalesLine(var M365JobStructureLine: Record "M365 Job Structure Line"; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
Parameters / Return Value
M365JobStructureLine
Record "M365 Job Structure Line"
SalesHeader
Record "Sales Header"
SalesLine
Record "Sales Line"
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.