-
Notifications
You must be signed in to change notification settings - Fork 20
Changement importants BSDASRI, BSDA, BSFF et BSVHU du 25 10 2021
Laurent Paoletti edited this page Oct 14, 2021
·
21 revisions
{
id
status
emitter {
company {
name
siret
}
workSite {
name
address
city
postalCode
}
}
emission {
wasteCode
wasteDetails {
onuCode
volume
quantity {
value
type
}
}
signature {
author
date
}
}
transporter {
company {
siret
}
}
transport {
handedOverAt
takenOverAt
wasteDetails {
quantity {
value
type
}
volume
}
wasteAcceptation {
status
refusalReason
refusedQuantity
}
signature {
author
date
}
}
recipient {
company {
name
siret
}
}
reception {
wasteDetails {
volume
}
wasteAcceptation {
status
refusalReason
refusedQuantity
}
signature {
author
date
}
}
operation {
quantity {
value
}
processingOperation
processedAt
}
createdAt
updatedAt
}
{
id
isDraft
status
type
createdAt
updatedAt
waste {
code
adr
}
emitter {
company {
name
siret
address
contact
country
phone
mail
}
pickupSite {
name
address
postalCode
infos
}
emission {
packagings {
type
other
quantity
volume
}
weight {
value
isEstimate
}
signature {
author
date
}
}
}
ecoOrganisme {
name
siret
}
transporter {
company {
name
siret
address
contact
country
phone
mail
}
recepisse {
number
department
validityLimit
}
transport {
handedOverAt
takenOverAt
volume
weight {
value
isEstimate
}
packagings {
type
other
quantity
volume
}
wasteAcceptation {
status
refusalReason
refusedWeight
}
signature {
author
date
}
}
}
destination {
company {
name
siret
address
contact
country
phone
mail
}
reception {
date
volume
packagings {
type
other
quantity
volume
}
wasteAcceptation {
status
refusalReason
refusedWeight
}
signature {
author
date
}
}
operation {
date
code
signature {
author
date
}
}
}
grouping {
id
quantity
volume
weight
takenOverAt
postalCode
}
groupedIn {
id
}
}
-
bsdasriType
=>type
-
workSite
=>pickupSite
-
handOverToTransporterAt
: supprimé -
receipt
=>recepisse {number }
-
receiptDepartment
=>recepisse {department }
-
receiptValidityLimit
=>recepisse {validityLimit}
-
quantity {value type}
=>weight { value isEstimate}
-
onuCode
=>adr
-
regroupedBsdasris {id}
=>grouping { id quantity volume weight takenOverAt postalCode}
-
processingOperation
=>destination {operation { code }
-
receivedAt
=>destination { reception {date } }
-
processedAt
=>destination {operation { date }
Nouveau:
groupedIn { dasri }
ecoOrganisme { name siret }
-
quantity
=>weight
- ajout des champs
customInfo
pouremitter
,transporter
etdestination
- ajout de l'éco-organisme
- modification de la gestion de la réexpédition et du groupement
-
workSite
devientpickupSite
-
waste.nature
=>waste.description
-
quantity { kilos isEstimate }
devientweight { value isEstimate }
-
destination { reception { kilos } }
devientdestination { reception { weight } }
- ajout d'un statut d'acceptation
destination { reception { acceptation { status refusalReason } } }
- modification de la gestion de la réexpédition, du reconditionnement et du groupement
- ajout de champs
customInfo
pouremitter
,transporter
etdestination
-
quantityNumber
devientquantity
-
quantityTons
devientweight
, avec unisEstimate
- ajout de
destination.operation.nextDestination.company.vatNumber
- ajout des champs
customInfo
pouremitter
,transporter
etdestination
Les filtres sur les queries bsdasris
, bsdas
, bsffs
, bsvhus
ont été harmonisés et ont la forme générique suivante :
id: IdFilter
isDraft: Boolean
status: StatusFilter
createdAt: DateFilter
updatedAt: DateFilter
emitter: EmitterWhere
transporter: TransportWhere
destination: DestinationWhere
_and: Where[]
_or: Where[]
_not: Where
Les filtres sur les enum (ex: status
) contiennent désormais les champs suivants :
_eq: T // égalité
_in: T[] // appartenance
Les filtres sur les strings (ex: emitter.company.siret
) contiennent désormais les champs suivants :
_eq: T // égalité
_in: T[] // appartenance
_contains: T // match une sous-chaîne de caractères