Show / Hide Table of Contents

    API - Sale Cr. Mem Lines

    This is a fork of page 30046 "APIV2 - Sales Credit Mem Lines" from version 23.3.14876.15704. Added support for Extra Values.

    Object Definition

    Object TypePage
    Object ID70314156
    Object NameQWESR API - Sale Cr. Mem Lines
    Source TableSales Invoice Line Aggregate

    API Definition

    APIPublishersmartApps
    APIGroupspider
    APIVersionv1.0
    EntitySetNamesalesCreditMemoLines
    EntityNamesalesCreditMemoLine

    Events

    Name Description
    OnAfterInsert(Record "Sales Invoice Line Aggregate"; Record "Sales Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is inserted.
    OnAfterModify(Record "Sales Invoice Line Aggregate"; Record "Sales Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is modified.
    OnGetPostedSalesCreditMemoLineExtraValues(Record "Sales Invoice Line Aggregate"; Record "Sales Cr.Memo Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text) Raised after a record is read from the database. This event is raised if the Credit Memo is posted. Makes it possible to set the ExtraValues 1..10, to be returned to the client.
    OnGetSalesCreditMemoLineExtraValues(Record "Sales Invoice Line Aggregate"; Record "Sales Line"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text) Raised after a record is read from the database. This event is raised if the Credit Memo is not posted. Makes it possible to set the ExtraValues 1..10, to be returned to the client.

    Controls

    Type Name Data Type Read-only
    Field id Guid Yes
    Field documentId Guid
    Field sequence Integer
    Field itemId Guid
    Field accountId Guid
    Field lineType Enum "Invoice Line Agg. Line Type"
    Field lineObjectNumber Code[20]
    Field description Text[100]
    Field description2 Text[50]
    Field unitOfMeasureId Guid
    Field unitOfMeasureCode Code[10]
    Field unitPrice Decimal
    Field quantity Decimal
    Field discountAmount Decimal
    Field discountPercent Decimal
    Field discountAppliedBeforeTax Boolean Yes
    Field amountExcludingTax Decimal Yes
    Field taxCode Code[50]
    Field taxPercent Decimal Yes
    Field totalTaxAmount Decimal Yes
    Field amountIncludingTax Decimal Yes
    Field invoiceDiscountAllocation Decimal Yes
    Field netAmount Decimal Yes
    Field netTaxAmount Decimal Yes
    Field netAmountIncludingTax Decimal Yes
    Field shipmentDate Date
    Field itemVariantId Guid
    Field locationId Guid
    Field extraValue1 Text
    Field extraValue2 Text
    Field extraValue3 Text
    Field extraValue4 Text
    Field extraValue5 Text
    Field extraValue6 Text
    Field extraValue7 Text
    Field extraValue8 Text
    Field extraValue9 Text
    Field extraValue10 Text
    Sub page dimensionSetLines
    Sub page location

    This documentation is generated from Spider v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX