Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 72043 articles
Browse latest View live

Record Level Security on Main Account Table

$
0
0

Hi,

I am using AX2012. I want to add RLS on Main Account Table, which I have did. But unfortunately by some reason its not working. I have add MainAccount Table in RLS and put the the 1000000000000..2110501002000 criteria on main account. Its not working.

I will be thankful if someone can help me to implement this. I have use RLS on BankTable and its working. But don't why its not working.

Regards


No virtual transaction marked with inventory transaction - production order AX 2012

$
0
0

Getting this error when RAF'ing a production order created from a project.  Looking for the cause and hopefully a solution.  Thanks!

No virtual transaction marked with inventory transaction.

Approval history

$
0
0

Our auditors have asked for a list of all general journals raised in the year with who they were created by and who they were approved by. Is there an easy of way of producing a report on this, or do we have to look at each seperate workflow history?

Thanks

Using i query to validate a record

$
0
0

Hi

I have made a little modification to our Ax 4 but have run into a problem I can't figure out. I have a table with a tablenum reference and a field num reference. This lets the user select a table and a field for further validation (in validateWrite) - like a dynamic validation rule. This works fint.

I now have added a query to the rule to let the user select when the rule should be active based on this query (on the same table)

Now I'm trying to write the code for this, but I keep running into the problem that I can't use the query directly as this works on the table on the SQL server and I need to validate BEFORE the record is written.

I have come up with something like this:

static boolean recordInQuery(Query q, common record)

{

QueryBuildDatasource qbd;
QueryBuildRange qbr;
int i;
boolean ret = false;

;

if (q.dataSourceCount() != 1) throw error("Too many tables!"); // Only one table in the query is allowed

qbd = q.dataSourceTable(record.TableId);

if (qbd) // If query does not contain the correct table - the record is definetly not found

{

ret = true;

for (i=0; i<qbd.rangeCount(); i++) // Loop through all ranges

{

qbr = qbd.range(i);

if (record.(qbr.field()) != qbr.value()) // No good! Need to test value for "!" and ".." etc
{

ret = false;

}

}

}

return ret;

}

Anyone who can create the code for the actual testing of the field?

E.g. if the user writes a query containing "1.." or "1..87" or "!34" the record should be found if the testet field has the value of 42

 

Email notification to the user for Rejected Purchase requisition

$
0
0

Hi ... I have done with my Email notification for PR approval.

But iv got some a problem in setup email notification for PR Reject.

I have seting my reject message in a PR workflow-completed with Lastnote for the receipeint.

but when the PR is rejected by the Approval the system sent me/user an email with default content message from AX system. but not my email message that iv create on the workflow.

Here's the email message notification that AX system sent me :

"The current record has been returned to you, or you have been asked to make a change. Perform any required actions and choose resubmit to resume processing."

Is anyone have an idea to solve my problem ...

Thank you for ur help..

Regard,

Husna

xSession::xppCallStack()

$
0
0

Hi,

I use the xppCallStack in a method :

publicstaticboolean isInTheCallStack(str _method)

{

// return true when the _method is found in the call stack

container callStack = xSession::xppCallStack();

counter cnt = 1;

anytype anyValue;

while (cnt <= conLen(callStack))

{

anyValue = conPeek(callStack, cnt);

if (typeOf(anyValue) == Types::String)

{

if (strScan(anyValue, _method, 1, strLen(anyValue)) > 0)

returntrue;

}

cnt++;

}

returnfalse;

}

It is well when it run on my computer session but when it run on a server session it always return  a container with ["(S)\Jobs\", 0]

Any idea ?

Thanks

AX 4.0 and sending faxes using Microsoft Fax Server

$
0
0

I am totally new to AX, and would like to find resources on how the Fax feature integrates with Microsoft Fax Server. At my current job, we send faxes through AX but have no way to see any logs. Our users need to be able to have confirmation as to whether the fax was sent successfully or not.

Any pointers would be greatly appreciated.

Sales Line reservation - How does it work exactly?

$
0
0

I am having hard time understanding how AX is choosing to reserve item to its location in the warehouse.


Example:

I have QOH in 3 locations in the warehouse - Locs A, B and ZZ with ZZ being a bulk location.
What I'm expecting during reservation is that the quantity desired should be reserved to location A (in alphabetical order and also it is after all a picking location) - but it seems that AX does whatever it wants and some items are being reserved properly and the others are not. I don't really know how to even start troubleshooting this.

Storage dimension is SWL.

Do you think the setting in the Item Model Group could be causing this?


EP Cues Error

$
0
0

Indicators in EP is not working, when i opened it it shows this error

any one have solution for this

Cannot cancel on Sales Order line

$
0
0

This sales order with Qty 1 and Delivery remainder 1 is getting an error while trying to cancel the quantity when Update Line -> Deliver remainder -> Cancel Quantity. 

The quantity cannot be reduced. The number of inventory transactions on order is too low because the quantity or part of it is referenced by an output order or a production order or is marked against other transactions.

I then try to end any output orders but there arent any, and even when I navigate to Inventory -> Output order it shows the following error message too.

Remaining quantity is less than or equal to 0. Increase quantity on the Sales order before adding quantities for output.

Purchase Requisition Approval via Email

$
0
0

Hello, we are using a PR approval workflow and are sending out the approval and rejection links via email using %Workflow.Link to approve% and  %Workflow.Link to reject%. We created a service SysWorkflowApprovalService.appURLAction using HTTP and have setup the prefix URL in Workflow parameters. Overall our URL looks like 

http://servername:9090/DynamicsAXAif60/EmailApprovalServicesHttp/xppservice.svc/applyURLAction?action=Approve&workflowDocumentId={8C03E510-BDBE-4563-92BF-FFE27BD52375}&userId=6d250930254c449f1a9942c2d3de793ae246ffcc240b25cc04b4b124ad1f724c

We are getting a 404 error when we make this request. We are able to pull up the WSDL successfully.

We are using AX 2012 R3.

Thanks for your help.

Deprecated: Payment services using Authorize.net [AX 2009] Error 92

$
0
0
AX 2009 No Longer able to post using KB979304_SYP and KB979304_HFX 1. Credit card process failed, due to 'This transaction cannot be accepted 2. Credit card capture failed. Q1: Has anyone successfully installed KB979304_SYP and KB979304_HFX on AX 2009 ? Q2. Is there any available download for AX 2009 (KB979304_SYP and KB979304_HFX ) ? Nb. I don't wish to update to AX 2012

Invoicing Sales Order with Selected Lines

$
0
0

Hi,

     I would really appreciate urgent assistance on this issue. I have a scenario where I need to invoice sales orders (includes single order invoicing as well as consolidated invoicing) with selected sales lines.We have sales orders that can consist on 3 types of sales lines 1. MainLine 2. Component Line and 3.datalines

For performance reasons we don't want to post (process) data lines to custinvoicetrans tables . My question is where (class,method) do I put a check to stop data lines from getting posted to custinvoicetrans table...Ideal solution would be prevent them getting posted to salesparmline table,, this way we get maximum gain. 

After spending some time on this .. I know that the method that creates parm data is salesformletterParmdata.ChooseLinesServer. But there is nothing there that I can use to figure out which line is being processed at a particular time. 

PS I have already looked into following methods and none of them get invoked when I run invoicing ..

SalesInvoiceJournalCreateBase.CreateJournalLines

SalesInvoiceJournalCreate.CreateJournalLines

SalesParmtLinesTable ..all the init methods

Budget Register entry has an amount of 0.00 Error on Purchase Order Year End Process.

$
0
0

I get following errors on Performing Purchase Order Year End Process.

1.  Budget Register entry has an amount of 0.00

2. The following Budget register entry was cancelled.

3. The processing of purchase order ###### was cancelled. Please contact system administrator.

Looking for help.

Inventtrans for raw material did not get financial update after end production order

$
0
0

HI

On the system, we just found out that some raw material transactions did not get financial update after update end production order.

Now the system showing the inventory transaction (of raw material) that already deducted (not sold status yet). And show record on the inventory onhand screen with 0 Qty but have value on +Posted Qty and -deducted Qty. The related production order already ended.

I have run the inconsistency check with fixed error, also could not solve the problem.

Do anyone have the same problem? Please suggest on how I can correct the transaction.

Any workaround solution, trick or black magic, please suggest.

Thanks and regards,

Tippawan


[sales] How can we know the delivered quantity for each line of sales

$
0
0

Is there anyway to fetch the delivered quantity for each sales line ?

Display Selected Records In a grid as an Information

$
0
0

HI,

        I have created a form with grid and a button and added the datasource Employee_1.

I would like to display the records selected using the statement

void clicked()
{  
    int             records;
    Employee_1     Empl;  
    records = Employee_1_ds.recordsMarked().lastIndex(); 
    // Total number of marked records.
    empl = Employee_1_ds.getFirst(1);
    
    while (Empl)
    {
       info(strFmt("%1 %2 %3 %4", Empl.EmplName,Empl.EmplNum,Empl.EmplStartDate,Empl.DeptId));        
        Empl = employee_1_ds.getNext();
    }
}


 I have used this code but i am able to display oly one record 

AX2012: Access denied: SalesFormLetter_Invoice

$
0
0

I get the following error when generating a original preview on a customer invoice(via Invoice journal):

"Access denied: SalesFormLetter_Invoice"

Which privilige or duty do I need to set to the security role?

Thanks in advance for answering!

POS sales posting – Transaction date must be specified

$
0
0

POS sales posting – Transaction date must be specified

Problem Description:

On AX 2012 R2/CU7 when user call Post Statement function, Statement throws error "Transaction date must be specified".

We are facing serious issues in inventory costing and financial management due to this error. We anticipate Microsoft’s earliest resolution of the issue.

AX PROD/TEST Environment Details:

Dynamics AX 2012 R2 CU7 (Kernel: 6.2.1000.4051, App Version: 6.2.1000.4051)

Environment type: Fresh installation

Printing Checks in AX 2012

$
0
0

Hi Group,

My question is in regards to printing checks on check stock.  Our check stock already has check numbers printed on it and already has "Pay to the order of" written on it.   So I do not want either of these reprinted on the check. 

Is this possible??

Viewing all 72043 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>