You'll have to use fieldId2ext()

 

It would go like this :

someWarehouseRange = this.query().dataSourceTable(tableNum(VendPackingSlipTrans)).addRange(fieldid2ext(fieldNum(VendPackingSlipTrans, Dimension), 3));

 

 

Steeve...

-----Message d'origine-----
De : Charles [mailto:[EMAIL PROTECTED]
Envoy� : 29 avril 2004 06:40
� :
[EMAIL PROTECTED]
Objet : [development-axapta] Dimension

 

Hi all,

 

I intend to use the warehouse code as a query range. Since it's part of the array element in the Dimension field, I put it as Dimension[3].

 

e.g.

 

someWarehouseRange = this.query().dataSourceTable(tableNum(VendPackingSlipTrans)).addRange(fieldNum(VendPackingSlipTrans, Dimension[3]));

someWarehouseRange .value("SOME_WAREHOUSE_CODE");

 

However this code is not valid. Is there a correct way to access the warehouse field?

 

Thanks in advance,

Charles

 

 



Yahoo! Groups Links

Reply via email to