Page 20038 "APIV1 - Sales Credit Memos"
APIV1 · Microsoft.API.V1
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 14 connected objects and pages
APIV1 · Microsoft.API.V1 · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | ‘salesCreditMemos’, Locked = true |
| Extensible | false |
| SourceTable | Sales Cr. Memo Entity Buffer |
| PageType | API |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Group | id | Id | — |
| number | No. | — | |
| externalDocumentNumber | External Document No. | — | |
| creditMemoDate | Document Date | — | |
| postingDate | Posting Date | — | |
| dueDate | Due Date | — | |
| customerId | Customer Id | — | |
| contactId | Contact Graph Id | — | |
| customerNumber | Sell-to Customer No. | — | |
| customerName | Sell-to Customer Name | — | |
| billToName | Bill-to Name | — | |
| billToCustomerId | Bill-to Customer Id | — | |
| billToCustomerNumber | Bill-to Customer No. | — | |
| sellingPostalAddress | SellingPostalAddressJSONText |
Specifies the selling address of the Sales Invoice. | |
| billingPostalAddress | BillingPostalAddressJSONText |
Specifies the billing address of the Sales Credit Memo. | |
| currencyId | Currency Id | — | |
| currencyCode | CurrencyCodeTxt |
— | |
| paymentTermsId | Payment Terms Id | — | |
| shipmentMethodId | Shipment Method Id | — | |
| salesperson | Salesperson Code | — | |
| pricesIncludeTax | Prices Including VAT | — | |
| salesCreditMemoLines | part Page 20046 “APIV1 - Sales Credit Mem Lines” | — | |
| pdfDocument | part Page 20057 “APIV1 - PDF Document” | — | |
| discountAmount | Invoice Discount Amount | — | |
| discountAppliedBeforeTax | Discount Applied Before Tax | — | |
| totalAmountExcludingTax | Amount | — | |
| totalTaxAmount | Total Tax Amount | Specifies the total tax amount for the sales credit memo. | |
| totalAmountIncludingTax | Amount Including VAT | — | |
| status | Status | Specifies the status of the Sales Credit Memo (cancelled, paid, on hold, created). | |
| lastModifiedDateTime | Last Modified Date Time | — | |
| invoiceId | SalesInvoiceId |
— | |
| invoiceNumber | Applies-to Doc. No. | — | |
| phoneNumber | Sell-to Phone No. | — | |
| Sell-to E-Mail | — |
Procedures
Post(var ActionContext: WebServiceActionContext)PostAndSend(var ActionContext: WebServiceActionContext)Send(var ActionContext: WebServiceActionContext)Cancel(var ActionContext: WebServiceActionContext)CancelAndSend(var ActionContext: WebServiceActionContext)
Plus 19 local procedures.
Triggers
OnAfterGetRecord, OnDeleteRecord, OnInsertRecord, OnModifyRecord, OnNewRecord, OnOpenPage
Relations
- source table Table 5507 “Sales Cr. Memo Entity Buffer”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5508 “Graph Mgt - Sal. Cr. Memo Buf.” (12 calls:
Cancel → GetSalesCrMemoHeaderId,CancelAndSend → GetSalesCrMemoHeaderId,GetPostedCreditMemo → GetSalesCrMemoHeaderFromId, …) - Codeunit 5507 “Graph Mgt - Sales Credit Memo” (6 calls:
ProcessBillingPostalAddressOnInsert → ParseBillToCustomerAddressFromJSON,ProcessBillingPostalAddressOnModify → ParseBillToCustomerAddressFromJSON,ProcessSellingPostalAddressOnInsert → ParseSellToCustomerAddressFromJSON, …) - Codeunit 20038 “APIV1 - Send Sales Document” (3 calls:
CancelAndSend → SendCreditMemo,PostAndSend → SendCreditMemo,Send → SendCreditMemo) - Codeunit 1339 “Cancel Posted Sales Cr. Memo” (2 calls:
CancelCreditMemo → (object),CheckCreditMemoCanBeCancelled → TestCorrectCrMemoIsAllowed) - Codeunit 1320 “Lines Instruction Mgt.” (1 call:
PostCreditMemo → SalesCheckAllLinesHaveQuantityAssigned) - Codeunit 5465 “Graph Mgt - General Tools” (1 call:
SetCalculatedFields → TranslateNAVCurrencyCodeToCurrencyCode) - Codeunit 5477 “Sales Invoice Aggregator” (1 call:
SetInvoiceId → GetSalesInvoiceHeaderId) - Codeunit 56 “Sales - Calc Discount By Type” (1 call:
UpdateDiscount → ApplyInvDiscBasedOnAmt)
Documented on Microsoft Learn
- (v1.0) Delete salesCreditMemos
- (v1.0) Get salesCreditMemos
- (v1.0) Get salesCreditMemo pdfDocument
- (v1.0) Update salesCreditMemos
- (v1.0) salesCreditMemos resource type
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "APIV1 - Sales Credit Memos"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.