Label in Fledge: Productieorder NC koop-/maakdelen

URLhttps://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts
Keyadministration_idpost_calculation_buy_make_part_idproduction_order_assembly_idproduction_order_header_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesPRODUCTIE
ScopesFLEDGE_PORTAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=post_calculation_buy_make_part_id,production_order_assembly_id,production_order_header_id,date,description_1,description_2' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'post_calculation_buy_make_part_id,production_order_assembly_id,production_order_header_id,date,description_1,description_2');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("post_calculation_buy_make_part_id,production_order_assembly_id,production_order_header_id,date,description_1,description_2"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts(administration_id=1,post_calculation_buy_make_part_id={post_calculation_buy_make_part_id},production_order_assembly_id={production_order_assembly_id},production_order_header_id='{production_order_header_id}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
post_calculation_buy_make_part_idkeyInt32Volgnummer
production_order_header_idkeyStringOrder nummer
production_order_assembly_idkeyInt32Schrapnummer
apply_replacement_valueBooleanVervangingswaarde toepassen (j/n)
dateDateDatum
description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
financial_yearInt32Boekjaar
has_financial_blockBooleanFinancieel geblokkeerd
has_price_differenceBooleanPrijsverschil of niet
invoice_numberStringFaktuurnummer
is_archivedBooleanArchief: Gearchiveerd
is_financially_processedBooleanFinancieel verwerkt
is_parkedBooleanParkeren: Blokkeren voor adviesprijs
memoStringMemo
order_codeStringBestelkode
originInt32Herkomst
period_idInt32Periode nummer
position_numberStringPos-nummer
post_calculation_amountDecimalBedrag NC
pre_calculation_buy_make_part_idInt32Order koopdeel nummer
price_hoursDecimalKostprijs uren
price_totalDecimalTotaal kostprijs
price_total_hoursDecimalTotaal kostprijs uren
produced_assembly_idInt32Productie schrap: Schrap waarin artikel geproduceerd is
production_order_header_originStringOrder herkomst: Productieorder waarop het maakdeel geproduceerd is.
sales_priceDecimalVerkoopprijs
sequenceInt32Volgorde
statusBooleanStatus
supplier_textInt32Lev/art/tekst: Leverancier/artikel/tekst
surchargeDecimalOpslag
article_custom_field_set_idInt32Volgnummer
article_idStringArtikelcode
lot_numberStringLotnummer/partijregistratie
creditor_idInt32Crediteurnummer
priceDecimalPrijs
purchase_order_header_idStringOrdernummer
purchase_order_line_idInt32Regelnummer
quantityDecimalAantal
revenue_group_idInt32Omzetgroep
warehouse_address_idInt32Adresnummer
warehouse_aisle_idInt32Magazijn
warehouse_shelf_idInt32Locatie

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
ArticleArticlesone
ArticleCustomFieldSetArticleCustomFieldSetsone
CreditorCreditorsone
PreCalculationBuyMakePartPreCalculationBuyMakePartsone
ProductionOrderAssemblyProductionOrderAssembliesone
ProductionOrderHeaderProductionOrderHeadersone
PurchaseOrderHeaderPurchaseOrderHeadersone
PurchaseOrderLinePurchaseOrderLinesone
RevenueGroupRevenueGroupsone
WarehouseAddressWarehouseAddressesone
WarehouseAisleWarehouseAislesone
WarehouseShelfWarehouseShelfsone
Wingman