Table of Contents

Codeunit "Post From Doc. SOCAP"

ID 70344785
Namespace: CapVision.Sales.PayOnSalesOrder

Properties

Name Value
Access Public

Methods

PostMultipleBalancingEntry

procedure PostMultipleBalancingEntry(SalesHeader: Record "Sales Header", GenJnlLineDocType: Enum "Gen. Journal Document Type", GenJnlLineDocNo: Code[20])

Parameters

Name Type Description
SalesHeader Record "Sales Header"
GenJnlLineDocType Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
GenJnlLineDocNo Code[20]

PostMultipleBalancingEntry

procedure PostMultipleBalancingEntry(var SalesHeader: Record "Sales Header", GenJnlLineDocType: Enum "Gen. Journal Document Type", GenJnlLineDocNo: Code[20], var PaymentBuffer: Record "Payment Entry SOCAP" temporary)

Parameters

Name Type Description
SalesHeader Record "Sales Header"
GenJnlLineDocType Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
GenJnlLineDocNo Code[20]
PaymentBuffer Table CapVision.Sales.PayOnSalesOrder."Payment Entry SOCAP"

Events

OnBeforePostMultipleBalancingEntry

[IntegrationEvent(False,False)]
local procedure OnBeforePostMultipleBalancingEntry(var PaymentBuffer: Record "Payment Entry SOCAP" temporary, var Handled: Boolean)

Parameters

Name Type Description
PaymentBuffer Table CapVision.Sales.PayOnSalesOrder."Payment Entry SOCAP"
Handled Boolean

OnBeforeInsertPaymentEntry

[BusinessEvent(False)]
local procedure OnBeforeInsertPaymentEntry(SalesHeader: Record "Sales Header", CustLedgEntry: Record "Cust. Ledger Entry", var PaymentEntry: Record "Payment Entry SOCAP")

Parameters

Name Type Description
SalesHeader Record "Sales Header"
CustLedgEntry Record "Cust. Ledger Entry"
PaymentEntry Table CapVision.Sales.PayOnSalesOrder."Payment Entry SOCAP"

OnBeforeInsertPaymentBufferEntry

[BusinessEvent(False)]
local procedure OnBeforeInsertPaymentBufferEntry(SalesDocumentPayment: Record "Sales Document Payment SOCAP", ForAmount: Decimal, ExternalDocumentNo: Code[35], SalesHeader: Record "Sales Header", var PaymentBuffer: Record "Payment Entry SOCAP" temporary)

Parameters

Name Type Description
SalesDocumentPayment Table CapVision.Sales.PayOnSalesOrder."Sales Document Payment SOCAP"
ForAmount Decimal
ExternalDocumentNo Code[35]
SalesHeader Record "Sales Header"
PaymentBuffer Table CapVision.Sales.PayOnSalesOrder."Payment Entry SOCAP"

OnBeforePostGenJnlLine

[BusinessEvent(False)]
local procedure OnBeforePostGenJnlLine(SalesHeader: Record "Sales Header", PaymentEntry: Record "Payment Entry SOCAP", var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
SalesHeader Record "Sales Header"
PaymentEntry Table CapVision.Sales.PayOnSalesOrder."Payment Entry SOCAP"
GenJnlLine Record "Gen. Journal Line"

See also