Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-05-15 19:43:44 +03:00
parent dacd3aefa9
commit 295924cf1e
16 changed files with 1500 additions and 601 deletions

View File

@@ -149,6 +149,7 @@ type ProductionProductCostingOnMLSaveDetailUpsertRow struct {
FiyatDoviz string `json:"fiyat_doviz"`
MaliyeteDahil int `json:"maliyete_dahil"`
CMPriceTypeID *int `json:"cm_price_type_id"`
SAciklama3 string `json:"s_aciklama3"`
}
type ProductionProductCostingOnMLSaveDetailDeleteRow struct {
@@ -170,6 +171,10 @@ type ProductionProductCostingOnMLSaveResponse struct {
NOnMLNo int `json:"n_onml_no"`
}
type ProductionProductCostingOnMLDeleteRequest struct {
NOnMLNo int `json:"n_onml_no"`
}
// ============================================================
// Default quantities (URETIM): mk_MaliyetParcaEslestirme_vmiktarlar
// ============================================================
@@ -209,9 +214,39 @@ type ProductionProductCostingDefaultQtyLookupRequest struct {
type ProductionProductCostingDefaultQtyLookupItem struct {
NHammaddeTuruNo int `json:"nHammaddeTuruNo"`
SAciklama string `json:"sAciklama"`
LDefaultMiktar float64 `json:"lDefaultMiktar"`
}
type ProductionProductCostingLastOnMLDetLookupRequest struct {
NHammaddeTuruNos []int `json:"nHammaddeTuruNos"`
BeforeDate string `json:"before_date"` // YYYY-MM-DD (optional)
ExcludeOnMLNo int `json:"exclude_onml_no"` // optional
NFirmaID int `json:"n_firma_id"` // optional
OnlyICode bool `json:"only_i_code"` // optional: restrict to sKodu like 'I.%'
}
type ProductionProductCostingLastOnMLDetLookupItem struct {
NHammaddeTuruNo int `json:"nHammaddeTuruNo"`
SKodu string `json:"sKodu"`
SAciklama string `json:"sAciklama"`
SBirim string `json:"sBirim"`
FiyatDoviz string `json:"fiyat_doviz"`
FiyatGirilen float64 `json:"fiyat_girilen"`
IsSameFirma bool `json:"is_same_firma"`
}
type ProductionProductCostingHammaddeByNosRequest struct {
NHammaddeTuruNos []int `json:"nHammaddeTuruNos"`
}
type ProductionProductCostingHammaddeByNosItem struct {
NHammaddeTuruNo int `json:"nHammaddeTuruNo"`
SAciklama string `json:"sAciklama"`
MTUrtMTBolumID int `json:"mtUrtMTBolumID"`
SParcaAdi string `json:"sParcaAdi"`
}
type ProductionHasCostDetailExchangeRates struct {
RateDate string `json:"rateDate"`
TRYRate float64 `json:"tryRate"`