It is hopefully putting an error in the eventlog. Check that for more detail.
eds to be imported, and re-import from your export. But be
sure to import into the correct layer.
Oh, and you'll probably have to import without the id #'s. (Thus letting it
make new ids in the correct layer for your problem table).
Lots of testing ahead!
Tony Zeigler
();
ParmId = letter.parmId( );
letter.initLinesQue ry();
dialog = letter.dialog( );
dialog.run() ;
dialog.wait( );
if (dialog.closedOk( ))
letter.run() ;
--- In development- axa...@yahoogrou ps.com, Tony Zeigler
wrote:
>
> It appears your trying to replicate what's in salesforml
It appears your trying to replicate what's in salesformletter.main &
salesformletter.run
All I can say is there is a ton of code behind those two things. I'd suggest
putting a breakpoint at the top of salesformletter.main, then calling it
normally and tracing through each line that is called d
/1/10, Tony Zeigler wrote:
From: Tony Zeigler
Subject: Re: [development- axapta] Sales order lines deleted after invoiced
To: development- axa...@yahoogrou ps.com
Date: Wednesday, 27 January, 2010, 7:34 PM
I forget where, but there is a setup for sales that allows the deleti
I forget where, but there is a setup for sales that allows the deletion of
saleslines when orders have been invoiced. The fact that it now says open order
is simply because the order recalcs it's status each time order lines are
changed, and now that there are no lines, it considers itself open.
Does the name of the table really have a space in it? (see snip below) If a
space somehow got into your definition that could be an issue. Also - what
layer are you working on? If the object exists in an upper layer you may not
see it if your logging into a lower level layer. Finally, you may no
I agree with Varden. Or, you can make a group specific to the functionality you
want to give access to, and then check for users being part of the group.
Ie., Say the business wants an override for a couple of the users charged with
setting up prices. You make a group called priceadmin, then ch
I work for a consulting company that does AX work. This is how we view the
layers in AX:
If a company hires us to make modifications, we agree on some requirements.
Then we code the mods to solve those requirements. Because we are held to the
accuracy of those mods meeting the agreed upon requ
Trying to think of where they do something similiar already, and I think of
their import mechanism.
For example, if you create a table with a column for each variable, then you
can stick your formula in the definition group to populate another field.
Finally, to tie it all together you could call
I hope you gave them very high estimates of how long it would take ;-)
Reports in ax suck compared to modern report-writing tools.
Your select count() & group-by, for instance, could get quite ugly.
Your best bet is to find some reports that do something close, and start
researching them to f
SQL inside x++ is limited to returning values that represent the table rows. So
you can apply aggregate functions on a field, as long as it returns the same
datatype as the original field. As you might expect - this sucks for dates :)
If you were averaging a real - no problem ;-)
As it stands
http://msdn.microsoft.com/en-us/library/aa865135.aspx
I believe:
anInt = date1 - date2;
and anInt will = the # of days different.
--- On Wed, 12/3/08, larrybellou <[EMAIL PROTECTED]> wrote:
From: larrybellou <[EMAIL PROTECTED]>
Subject: [development-axapta] datediff equivalent in X++
To: devel
Which version of ax are you running?
I see a couple ways for the integration to occur.
1. Your other system calls the business connector and creates the free text
invoice class. Fill in the data, save.
2. Your other system calls a webservice produced by ax 2009, which is setup to
publish a free t
I might go even a tad further - create the AxCustTable class, then set the
parm methods. This way it will call the business methods associated with
the adding or changing of a customer.
Just be sure not to access the AxCustTable.custTable() until after you do the
initial save - otherwise i
In 4.0 I've been creating saleslines and salestable rows programmatically by
using their axSalesLine classes. Instantiate a new one, Fill up their .parmXXX
methods with your data, and call their .save
I have noticed that they sometimes miss a few business rules, but generally
they work fairly we
Your customer's network has a system policy preventing the installation. I'm
not very familiar with what system policies might do this as I'm not a network
admin, but if you contact their network admin and work with them you should be
able to solve it.
And by the way - unless you have passed y
m
Date: Thursday, October 9, 2008, 11:17 PM
Tx for the help everyone!
We found the problem eventually it was something completely unrelated
although was still wondering if there was a way to debug and be able to
track exactly where the error is coming from when it happens in the
super() met
ment- [EMAIL PROTECTED] ps.com
[mailto:development- [EMAIL PROTECTED] ps.com] On Behalf Of Tony Zeigler
Sent: Thursday, October 09, 2008 5:03 PM
To: development- [EMAIL PROTECTED] ps.com
Subject: Re: [development- axapta] Re:CustTable Super()
He said it occurs in the super() - which would make sen
He said it occurs in the super() - which would make sense if he had confused
the system about a prior change.
For instance, if his code elsewhere creates two copies of the CustTable row,
and modifies both before saving, then his second copy will blow up with that
error when he calls super.
F
I think he wants the sum as you shown below, but needs to group the month and
year if he wants those with his sums.
Remember - when you use the aggregate functions in X++ the query won't fully
populate the other columns - only the columns mentioned in a group by or with
an aggregate function wil
Somewhere there is an option to show all the layers an object exists in. I'm on
vaca right now and don't have access to the environment or I'd tell ya. But
what I suspect is happening is that even tho your logged into the var layer
your still modifying the object at the top of layer stack
On
Just a guess, but do you have the source code liscences? Also does that user
have all the development stuff checked?
--- On Wed, 8/6/08, eldj_joax <[EMAIL PROTECTED]> wrote:
From: eldj_joax <[EMAIL PROTECTED]>
Subject: [development-axapta] Cannot create methods in classes after upgrade to
4.0 S
I assume you found this page:
http://www.axaptapedia.com/FTP_from_Axapta
Part of what this code is doing is registering a dll so it can be used within
x++.
Anyways, I found this previous post - and am reposting it since it seems to
include an xpo file:
+++
Yes, unit testing does exist in ax 4.0 - a very well hidden feature :)
However, I must say that it is fairly limited in it's usefulness. Because we
don't get the unit tests that microsoft built, we can't reasonably expect to
produce unit tests for anything remotely close to even 1% code coverage.
I think the problem may be when you assign shipDocs at the very beginning to
TmpXYZShipDocs. You are basically assigning the rows to shipDocs at that time,
so I'm not sure how the while select will work. I would have expected it to
over-write that initial assignment, but I bet it's just confusin
Try this:
Void trythis()
{
TABLA1 cursorTABLA1;
;
select cursorTABLA1 where cursorTABLA1.comp1 like '**' ||
cursorTABLA1.compo2 like '**'
}
--- On Thu, 7/3/08, jasuarezh <[EMAIL PROTECTED]> wrote:
From: jasuarezh <[EMAIL PROTECTED]>
Subject: [development-axapta] Query sentence or a
Actually, classes allow for the same thing, and better in my opinion because it
is easier to trace the inheritance of a class when debugging.
The downside of using a common class for that shared code is that if you want
to update related records in the other tables you have to specifically quer
Think of a map as an updateable query.
Your basically matching up a bunch of tables that hold similiar data, and then
providing a common way to interact with the whole group. If a field is shared
amongst several tables, then an update to the one field can affect all the
relevant tables.
Of c
MAIL PROTECTED]>
Subject: Re: [development-axapta] help with Invalid NumeralsToTxt Result
To: development-axapta@yahoogroups.com
Date: Monday, June 30, 2008, 3:05 AM
I'm using axapta 3.0 SP4.
--- On Fri, 6/27/08, Tony Zeigler wrote:
From: Tony Zeigler
Subject: Re: [development- axa
If your code is inside a transaction the error will skip your try/catch, and
find the first catch block outside of the transaction. (Because axapta rolls
back a transaction first when it hits an error, and then continues on from
there)
--- On Wed, 6/11/08, jazib.abdulah <[EMAIL PROTECTED]> wrot
This seems to give me the correct answer:
static void Job1(Args _args)
{
;
info(numeralsToTxt(31131178729.00));
}
Not sure why yours would be giving a different answer. (I'm using 4.0 with
current patch)
--- On Thu, 6/26/08, Wahyudin Zakie <[EMAIL PROTECTED]> wrote:
From: Wahyudin Zaki
Hrm, I had an issue where a report was writing an error to the file, but the
source of the issue was in custom code. What happened was that the programmer
had output everything to a file in the tmp directory, but the tmp directory did
not exist on this particular server, so it was unable to crea
Axapta is running on the terminal server, not the client pc in this case. Thats
a problem.
The only way to get around this that I can see is one of two options:
1. Toss the terminal server. Run Axapta on the POS machines themselves.
2. Write a small app that performs the functions you want, and th
I havn't done many reports, but I can answer a few things.
#1 - If my memory is working - a section group is tied to a table, and then
runs once for each row of data returned by that table.
#2 - DataFieldName just ties a control to a field from the datasource. You
can tie controls to either f
Hi Jazib - when I first made changes in axapta I did it by adding the
additional table. It seemed the safest way without messing with their table
design.
However, as I've grown more accustomed to making changes in axapta I've
realized that it handles changes in it's tables very well if tho
I havn't tried the import as you are, but it may just be that it is not kicking
off the logic to find the price -you may need to create that logic yourself.
Ie., maybe a button that goes thru all lines and calls the method to find the
price.
If my memory is good - the class PriceDisc, and
If you have a properly liscenced sql server, and it is your data, then it
should be legal. Axapta should have no relevance to the question.
The reason axapta provides the business connector is to open it's APIs -
which is something you can't get going directly to the DB.
(For instance
38 matches
Mail list logo