[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Amrita + REXML warning

David Naseby

11/28/2003 8:28:00 PM

I'm getting a warning using amrita-1.0.2 with REXML 2.7.1 when I set
Template#xml = true. The warning is:

C:/languages/ruby/lib/ruby/site_ruby/1.8/amrita/xml.rb:101: warning:
toplevel constant File referenced by REXML::File

My Ruby version is:
ruby 1.8.0 (2003-08-04) [i386-mswin32]

I'm not panicing about it, it is merely a touch annoying.

David
http://homepages.ihug.com.a...



2 Answers

Ani

7/8/2010 6:24:00 AM

0

Hi Thomas,

Try to include the table "InventDim" in the query and feed in the
values for the same in ur XML.

Hope it helps..

Regards,
AnithaSantosh

On Jul 8, 1:18 am, "Thomas" <oeg...@nospam.nospam> wrote:
> Hi Axel,
>
> I already know how to call AIF service and even create order containing
> simple products with no configuration.
>
> But I cannot figure out how to display the list of products, display
> selected product configuration, colors, sizes etc. and then put everything
> together and submit new order.
>
> Thanks,
>
> Thomas
>
> "Axel Kühn" <Axel...@discussions.microsoft.com> wrote in message
>
> news:7D41E7A5-E7FC-4350-B488-20E8A061443A@microsoft.com...
>
>
>
> > Hi Thomas,
>
> > as far as i know such an tutorial or example doesn't exist.
>
> > But please take a look into the Dynamics AX code samples on MSDN.
> >http://code.msdn.microsoft.com/axc...
>
> > There are some samples about calling AIF Services.
> > Could be possible that theses guide you in the right direction.
> > --
> > Sincerely yours
> > Axel Kühn          (visit my Dynamics AX blog at:http://blog.a...)
>
> > "Thomas" wrote:
>
> >> Hi all,
>
> >> Trying to integrate existing application with Axapta I desperately need
> >> any
> >> complete example demonstrating how to create customer order with Ax2009
> >> and
> >> AIF calls.
>
> >> I mean, how to display the list of products, display selected product
> >> configuration, colors, sizes etc. and then put everything together and
> >> submit new order.
>
> >> I am sure such example, demonstrating the most basic functionality must
> >> somewhere exist.
>
> >> Thanks in advance for any help.
>
> >> Thomas
>
> >> .- Hide quoted text -
>
> - Show quoted text -

Axel Kühn

7/13/2010 7:32:00 PM

0

Hi Thomas,

ok, now i understand our problem. :-)

Well, for that you have to use several aif services to get all the needed
informations.

To get a list of all the products you could make a find call to the
inventitem service. The returns you all the items available. But think on
performance. this could produce a very big xml file. So i could be possible
that you have to modify the aif endpoint configuration to only retun the
needed data like itemid.

To display the other thinks like size, color, and so on you have to call 3
other aif service to get the needed data. Theses services are:
InventInventColorService, InventConfigTableService and
InventInventSizeService.

To get the valid combination of these you also have to call the
InventInventDimCombinationService.

For all the other invetoy dimension it could be possible that you have to
write your own aif service that return you the needed data.

With theses information you can create your customer order and send it with
the salesoderservice to ax.

For a full list of all aif services available in the standard application
please take a look at:
http://msdn.microsoft.com/en-US/library/aa8...
--
Sincerely yours
Axel K??hn (visit my Dynamics AX blog at: http://blog.a...)


"Thomas" wrote:

> Hi Axel,
>
> I already know how to call AIF service and even create order containing
> simple products with no configuration.
>
> But I cannot figure out how to display the list of products, display
> selected product configuration, colors, sizes etc. and then put everything
> together and submit new order.
>
> Thanks,
>
> Thomas
>
> "Axel K??hn" <AxelKhn@discussions.microsoft.com> wrote in message
> news:7D41E7A5-E7FC-4350-B488-20E8A061443A@microsoft.com...
> > Hi Thomas,
> >
> > as far as i know such an tutorial or example doesn't exist.
> >
> > But please take a look into the Dynamics AX code samples on MSDN.
> > http://code.msdn.microsoft.com/axc...
> >
> > There are some samples about calling AIF Services.
> > Could be possible that theses guide you in the right direction.
> > --
> > Sincerely yours
> > Axel K??hn (visit my Dynamics AX blog at: http://blog.a...)
> >
> >
> > "Thomas" wrote:
> >
> >> Hi all,
> >>
> >> Trying to integrate existing application with Axapta I desperately need
> >> any
> >> complete example demonstrating how to create customer order with Ax2009
> >> and
> >> AIF calls.
> >>
> >> I mean, how to display the list of products, display selected product
> >> configuration, colors, sizes etc. and then put everything together and
> >> submit new order.
> >>
> >> I am sure such example, demonstrating the most basic functionality must
> >> somewhere exist.
> >>
> >> Thanks in advance for any help.
> >>
> >> Thomas
> >>
> >> .
> >>
> .
>