Report 18090641 EOS Create Ship. Price Doc.
Report 18090641 EOS Create Ship. Price Doc.
Events
OnAssignCustomDocumentTypeNo
local procedure OnAssignCustomDocumentTypeNo(DocumentLine: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line"; var handled: Boolean)
Parameters / Return Value
DocumentLine
Record "EOS DocumentShippingPrice"
PurchaseLine
Record "Purchase Line"
handled
Boolean
OnAfterCasePurchInvCombinationMethod_NeedNewDoc
local procedure OnAfterCasePurchInvCombinationMethod_NeedNewDoc(DocumentLine: Record "EOS DocumentShippingPrice"; var NeedNewDoc: Boolean)
Raised at the end of the case Statement of the “Purch. Inv. Combination Method” field in the procedure “NeedNewDocument”. Use it to control the creation of a new purchase invoice according to a custom value of “Purch. Inv. Combination Method” field.
Parameters / Return Value
DocumentLine
Record "EOS DocumentShippingPrice"
Record “EOS DocumentShippingPrice”
NeedNewDoc
Boolean
If true, create a new Purchase Invoice
OnBeforeModifyPurchaseHeader_NewDoc
local procedure OnBeforeModifyPurchaseHeader_NewDoc(var PurchaseHeader: Record "Purchase Header"; DocumentLine: Record "EOS DocumentShippingPrice"; var IsHandled: Boolean)
Raised before modify Purchase Header in the creation of a new purchase invoice.
Parameters / Return Value
PurchaseHeader
Record "Purchase Header"
Record “Purchase Header”
DocumentLine
Record "EOS DocumentShippingPrice"
Record “EOS DocumentShippingPrice”
IsHandled
Boolean
If true, not modify Purchase Header
OnBeforeCurrReportSkipWithPurchInvoiceNo
local procedure OnBeforeCurrReportSkipWithPurchInvoiceNo(var DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var IsHandledReportSkip: Boolean)
Raised before skip the Record Document Shipping Price if there is already a Purchase Invoice created.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current Record “EOS DocumentShippingPrice”
IsHandledReportSkip
Boolean
if true, doesn’t skip the current record
OnAfterCreatePurchInvoice
local procedure OnAfterCreatePurchInvoice(var DocumentShippingPrice: Record "EOS DocumentShippingPrice"; var PurchaseLine: Record "Purchase Line")
Raised after creation of the Purchase Invoice for the current record Document Shipping Price.
Parameters / Return Value
DocumentShippingPrice
Record "EOS DocumentShippingPrice"
Current record Document Shipping Price
PurchaseLine
Record "Purchase Line"
Purchase Line created
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.