Hello Andy,
Thanks a lot for your reply.
For me, with the Cronus database it does noit work.
When run the URL localhost:7048/.../Charge_CDC(No='CHAU100')
I get the following result :
<entry xml:base="localhost:7048/.../">
<id>localhost:7048/.../id>
<title type="text"/>
<updated>2020-11-06T20:18:18Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Charge_CDC" href="Charge_CDC('CHAU100')"/>
<link rel="schemas.microsoft.com/.../Charge_CDCMachineCLoadLines" type="application/atom+xml;type=feed" title="Charge_CDCMachineCLoadLines" href="Charge_CDC('CHAU100')/Charge_CDCMachineCLoadLines"/>
<category term="NAV.Charge_CDC" scheme="schemas.microsoft.com/.../>
<content type="application/xml">
<m:properties>
<d:No>CHAU100</d:No>
<d:PeriodType>Day</d:PeriodType>
<d:AmountType>Net Change</d:AmountType>
</m:properties>
</content>
</entry>
When I run the URL : localhost:7048/.../Charge_CDC eq 'CHAU100' and PeriodType = 'Week'
I get :
<feed xml:base="localhost:7048/.../">
<title type="text">Charge_CDC</title>
<id>localhost:7048/.../id>
<updated>2020-11-06T20:23:33Z</updated>
<link rel="self" title="Charge_CDC" href="Charge_CDC"/>
<entry>
<id>localhost:7048/.../id>
<title type="text"/>
<updated>2020-11-06T20:23:33Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Charge_CDC" href="Charge_CDC('110')"/>
<link rel="schemas.microsoft.com/.../Charge_CDCMachineCLoadLines" type="application/atom+xml;type=feed" title="Charge_CDCMachineCLoadLines" href="Charge_CDC('110')/Charge_CDCMachineCLoadLines"/>
<category term="NAV.Charge_CDC" scheme="schemas.microsoft.com/.../>
<content type="application/xml">
<m:properties>
<d:No>110</d:No>
<d:PeriodType>Day</d:PeriodType>
<d:AmountType>Net Change</d:AmountType>
</m:properties>
</content>
</entry>
<entry>
Which is result for all the machine center I have. So the filter on the machine center No seems not to be applied and the PeriodType is still set to 'Day'.
Another problem I will face later is that, I will also run in the url : Charge_CDCMachineCLoadLines because it is the subpage which gives the final result.
When I run the URL :
..../Charge_CDC(No='CHAU100')/Charge_CDCMachineCLoadLines
I get the correct result but the PeriodType is 'Day' :-( :
<feed xml:base="localhost:7048/.../">
<title type="text">Charge_CDCMachineCLoadLines</title>
<id>localhost:7048/.../id>
<updated>2020-11-06T20:27:07Z</updated>
<link rel="self" title="Charge_CDCMachineCLoadLines" href="Charge_CDCMachineCLoadLines"/>
<entry>
<id>localhost:7048/.../id>
<title type="text"/>
<updated>2020-11-06T20:27:07Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Charge_CDCMachineCLoadLines" href="Charge_CDCMachineCLoadLines(Period_Start=datetime'2020-11-06T00%3A00%3A00',Period_Type='Date')"/>
<category term="NAV.Charge_CDCMachineCLoadLines" scheme="schemas.microsoft.com/.../>
<content type="application/xml">
<m:properties>
<d:Period_Type>Date</d:Period_Type>
<d:Period_Start m:type="Edm.DateTime">2020-11-06T00:00:00</d:Period_Start>
<d:Period_Name>Friday</d:Period_Name>
<d:MachineCenter_Capacity_Effective m:type="Edm.Decimal">0</d:MachineCenter_Capacity_Effective>
<d:AllocatedQty m:type="Edm.Decimal">0</d:AllocatedQty>
<d:CapacityAvailable m:type="Edm.Decimal">0</d:CapacityAvailable>
<d:CapacityEfficiency m:type="Edm.Decimal">0</d:CapacityEfficiency>
</m:properties>
</content>
</entry>
<entry>
<id>localhost:7048/.../id>
<title type="text"/>
<updated>2020-11-06T20:27:07Z</updated>
<author>
<name/>
</author>
<link rel="edit" title="Charge_CDCMachineCLoadLines" href="Charge_CDCMachineCLoadLines(Period_Start=datetime'2020-11-07T00%3A00%3A00',Period_Type='Date')"/>
<category term="NAV.Charge_CDCMachineCLoadLines" scheme="schemas.microsoft.com/.../>
<content type="application/xml">
<m:properties>
<d:Period_Type>Date</d:Period_Type>
<d:Period_Start m:type="Edm.DateTime">2020-11-07T00:00:00</d:Period_Start>
<d:Period_Name>Saturday</d:Period_Name>
<d:MachineCenter_Capacity_Effective m:type="Edm.Decimal">0</d:MachineCenter_Capacity_Effective>
<d:AllocatedQty m:type="Edm.Decimal">0</d:AllocatedQty>
<d:CapacityAvailable m:type="Edm.Decimal">0</d:CapacityAvailable>
<d:CapacityEfficiency m:type="Edm.Decimal">0</d:CapacityEfficiency>
</m:properties>
</content>
</entry> etc .....
If you have any more idea... I have tried all possible combinations without success :-(
Thanks a lot for your help and patience,
Regards,
Jérôme