ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Extensibility enhancements] Locations API page (`table 14 Location`) and location code (`table 37 "Sales Line"`)

Open skcc75 opened this issue 5 years ago • 9 comments

  • Expose location (table 14 Location) as a separate API page
  • Add location code (field(7; "Location Code"; Code[10]) of table 37 "Sales Line") to the following existing API pages:
    • PurchReceiptLines.Page.al
    • PurchaseInvoiceLines.Page.al
    • PurchaseOrderLines.Page.al
    • SalesCreditMemLines.Page.al
    • SalesInvoiceLines.Page.al
    • SalesOrderLines.Page.al
    • SalesQuoteLines.Page.al
    • SalesShipmentLines.Page.al

https://docs.microsoft.com/en-us/learn/modules/intro-dynamics-365-business-central/4-supply-chain#locations

skcc75 avatar Mar 29 '21 15:03 skcc75

Please explain what is location resource type? And what is "expose locations" in pages - location code field is already available in these pages?

AlexanderYakunin avatar Mar 30 '21 06:03 AlexanderYakunin

There is a separate location table 14 Location which is currently not exposed via APIV2 at all.

Also each sales (and purchase) line table (i.e. SourceTable = "Sales Invoice Line") has Location Code record, which is not exposed via APIV2 also.

This is basic out-of-the-box functionality and the absence of locations in APIV2 makes it unusable for pretty much all inventory workflows.

skcc75 avatar Mar 30 '21 09:03 skcc75

@AlexanderYakunin @StanPesotskiy Could we get any feedback on this? Will this be implemented?

skcc75 avatar Apr 12 '21 14:04 skcc75

@kyrylkov Hi, yes this is being implemented and location endpoint and locationId field on documents in API v2.0 will be included in the upcoming minor releases.

onbuyuka avatar Apr 12 '21 16:04 onbuyuka

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

JesperSchulz avatar Apr 12 '21 16:04 JesperSchulz

@JesperSchulz @onbuyuka It's OK if you don't answer, but AFAIK major releases are semiannual, correct? What about minor ones?

Also where can we track API v2.0 updates? In this repo?

skcc75 avatar Apr 12 '21 16:04 skcc75

Availability update: We will publish a fix for this issue in the next update for release 18.

JesperSchulz avatar Apr 14 '21 15:04 JesperSchulz

@JesperSchulz Thanks! How often are these updates on average? Once per month, per quarter, etc.

skcc75 avatar Apr 14 '21 15:04 skcc75

This will ship with 18.1, beginning of May :-)

JesperSchulz avatar Apr 15 '21 12:04 JesperSchulz