Hi,
I have an Xmlport that runs so incredibly slowly @ client- that I can attach the debugger and see the inserts happening.
By slow.. i mean 20 rows takes over a minute - i am hardly even validating - Using a straight XMLport with text attributes.
I have simplified the code down to the below to try and find the cause..
GenJnlLine.INIT;
GenJnlLine.VALIDATE(GenJnlLine."Journal Template Name",'GENERAL');
GenJnlLine.VALIDATE(GenJnlLine."Journal Batch Name",'STEVE');
GenJnlLine.VALIDATE(GenJnlLine."Line No.",Int);
EVALUATE(GenJnlLine."Account Type", AccountType);
GenJnlLine.VALIDATE("Account Type");
GenJnlLine.INSERT;
When I break the debugger - I see many calls to RestrictedRecord checking - from Workflows. No Journal workflow is enabled though - although we do have Purchase and Sales document approvals working.
If I copy the object to a "development" copy on my laptop.. the import is almost instantaneous - milliseconds. Even with workflows turned on.. the same
I have setup a new service tier just for me.. and I am the only one in the database and it is still extremely slow.
There is no filtering - nothing... so I don't know what is slwoing it down.
SQL and NAV service tiers both have ample memory - and are idling.
If I comment out the .INSERT - it runs instantly again - I do not know what else to check ? Server properties are identical in my DEV and this database ?
Any ideas as to where i can look ?
I have an Xmlport that runs so incredibly slowly @ client- that I can attach the debugger and see the inserts happening.
By slow.. i mean 20 rows takes over a minute - i am hardly even validating - Using a straight XMLport with text attributes.
I have simplified the code down to the below to try and find the cause..
GenJnlLine.INIT;
GenJnlLine.VALIDATE(GenJnlLine."Journal Template Name",'GENERAL');
GenJnlLine.VALIDATE(GenJnlLine."Journal Batch Name",'STEVE');
GenJnlLine.VALIDATE(GenJnlLine."Line No.",Int);
EVALUATE(GenJnlLine."Account Type", AccountType);
GenJnlLine.VALIDATE("Account Type");
GenJnlLine.INSERT;
When I break the debugger - I see many calls to RestrictedRecord checking - from Workflows. No Journal workflow is enabled though - although we do have Purchase and Sales document approvals working.
If I copy the object to a "development" copy on my laptop.. the import is almost instantaneous - milliseconds. Even with workflows turned on.. the same
I have setup a new service tier just for me.. and I am the only one in the database and it is still extremely slow.
There is no filtering - nothing... so I don't know what is slwoing it down.
SQL and NAV service tiers both have ample memory - and are idling.
If I comment out the .INSERT - it runs instantly again - I do not know what else to check ? Server properties are identical in my DEV and this database ?
Any ideas as to where i can look ?