Hello,
I am searching to see if it possible to have financial dimensions setup on procurement categories?
I want my dimensions to come through from any category as they do from an item.
thanks
Hello,
I am searching to see if it possible to have financial dimensions setup on procurement categories?
I want my dimensions to come through from any category as they do from an item.
thanks
Hi Prasant
thanks for your reply,
will the quarantine option in IMG work despite wms not being enabled?
also is it possible to do a value only credit?
mal
it's UNC path (I guess, don't know exactly) as the file resides in one of the users subdirectory.
getting this error in the batch log.
System.NullReferenceException: Object reference not set to an instance of an object.
Hi,
I am facing trouble in running a runbase batch process, where we have client and server on discrete machines (As usual). But when I have tried the same on my local environment where client and server resides on same machine, it runs perfectly fine.
So, is there any additional permission setting I have to manage in order to run the process on standard environment (the previous one). Any help would be much appreciated. :)
Rishi
Thank you very much once again
Br
Kacper
Hi,
does anyone known if there is AX reader(or similar solution) which can read replicated database?
Thank you in advance
Br
Kacper
To get all assigned roles to all users, where it also take in to account that they can have different roles in different companies you can run the following T-SQL script
SELECT ISNULL(SURC.DATAAREA, 'DAT') AS DATAAREA ,SUR.USER_ ,MSR.NAME ,UI.NETWORKALIAS FROM dev_ax2012.dbo.SECURITYUSERROLECONDITION SURC RIGHT OUTER JOIN dev_ax2012.dbo.SECURITYUSERROLE SUR ON SURC.SECURITYUSERROLE = SUR.RECID JOIN dev_ax2012_model.dbo.modelsecurityrole MSR ON SUR.SECURITYROLE = MSR.ROLEHANDLE JOIN dev_ax2012.dbo.USERINFO UI ON SUR.USER_ = UI.ID ORDER BY NETWORKALIAS
Regards
Allan Andersen
I came across a useful Windows PowerShell script to extract users and roles with the intention of generating a script to create those same users and roles (in another AX environment). I've used it just for management reporting but is it possible to also extract the duties and privileges?
Here is the script that I have so far:
# The below code segment has been extracted form the Management Shell to load AX modules
#----------------------------------------------------------------------------------------
function ImportAXModule($axModuleName, $disableNameChecking, $isFile)
{
try
{
$outputmessage = "Importing " + $axModuleName
Write-Output $outputmessage
if($isFile -eq $true)
{
$dynamicsSetupRegKey = Get-Item "HKLM:\SOFTWARE\Microsoft\Dynamics\6.0\Setup"
$sourceDir = $dynamicsSetupRegKey.GetValue("InstallDir")
$axModuleName = "ManagementUtilities\" + $axModuleName + ".dll"
$axModuleName = join-path $sourceDir $axModuleName
}
if($disableNameChecking -eq $true)
{
import-module $axModuleName -DisableNameChecking
}
else
{
import-module $axModuleName
}
}
catch
{
$outputmessage = "Could not load file " + $axModuleName
Write-Output $outputmessage
}
}
$dynamicsSetupRegKey = Get-Item "HKLM:\SOFTWARE\Microsoft\Dynamics\6.0\Setup"
$sourceDir = $dynamicsSetupRegKey.GetValue("InstallDir")
$dynamicsAXModulesPath = join-path $sourceDir "ManagementUtilities\Modules"
$env:PSModulePath = $env:PSModulePath + ";" + $dynamicsAXModulesPath
ImportAXModule "AxUtilLib" $false $true
#AxUtil uses "Optimize" verb.
#Therefore we use -DisableNameChecking to suppress warning about uncommon verb being used.
ImportAXModule "AxUtilLib.PowerShell" $true $false
ImportAXModule "Microsoft.Dynamics.Administration" $false $false
ImportAXModule "Microsoft.Dynamics.AX.Framework.Management" $false $false
#----------------------------------------------------------------------------------------
# Clear the screen so you can see what is happening much more easily
cls
# Change this file path to where you want to save the generated PowerShell script
$filePath = "C:\Temp\UserDetails.ps1"
$lineToWrite = " "
# Deletes the file to ensure we generate a clean file
New-Item $filePath -ItemType file -Force
# Retrieve the list of users
$userList = Get-AXUser
# Writes a heading line to the file
$lineToWrite = "UserID,Name,Company,Enabled,Role"
$lineToWrite | Out-File -FilePath $filePath -Append;
# Loop through the user list
foreach($user in $userList)
{
# Retrieve all the security roles the user is assigned to
$securityRoles = Get-AXSecurityRole -AxUserID $user.AXUserId
# Loop through the security roles so we can write PowerShell script to the file
foreach($securityRole in $securityRoles)
{
# Writes a line to the file (this line writes a PowerShell script to add the Role to the User)
$lineToWrite = $user.AxUserID + "," + $user.Name + "," + $user.Company + "," + $user.Enabled + "," + $securityRole.Name
$lineToWrite | Out-File -FilePath $filePath -Append;
}
}
Hi raff,
You can do a credit only return by specifying a Disposition code with the Action 'Credit only' on the return order line.
Cheers Guy, found that now, looks exactly what I am after!
hi
I have 2 questions.
1. Setting up a returns procedure in AX 2012 R3. What is the best practice for this? (we do not use the wms features)
eg can I setup that all credit notes automatically put the items into quarantine? where I can then review them and take them out of quarantine, or would I be best setting up a quarantine warehouse that returns must be booked into first?
2. Is it possible to do a value only credit note? eg I still want to type in the item numbers to calculate the credit cost (hence free text invoice is no good) but I don't actually want to create a stock movement back to the warehouse - any ideas if this is possible?
thanks
mal
Hi André,
Thanks for your response.
What you are suggesting, only solves (or answers) part of the issue. I'm also looking for a confirmation or denial, if it is necessary to include a document with the goods delivered and that only VAT may be invoiced for the value of those goods. So to be negated on created on-acounts (deduction) excl. VAT and create new on-accounts with VAT for the value of the goods.
So how to keep track for a 2nd, 3rd (and following) deliveries.
Regards,
Erik
Hi,
I have a question about the invoicing process and VAT for a Canadian customer (Ontario state).
Right now, when they invoice prepayments, these must be invoiced without VAT. This is according Canadian law. As soon as goods are delivered, invoices with the goods (and deductions for the prepayments) are created including VAT. So for instance prepayment invoices were created earlier for an amount of CAD 10.000 and goods are delivered for an amount of CAD 15.000. Then an invoice is created for the goods amount of CAD 5.000 with a VAT amount based on the total goods amount of CAD 15.000.
So in this case:
Goods CAD15.000
Deduction prepayments -/-CAD10.000
Subtotal CAD5.000
VAT 13% of CAD15.000 is CAD1.950
Total CAD6.950
For the customer we would like to start working with fixed price projects. So only on-account invoicing. How to handle the VAT? In fact, goods will never be invoiced, only on-accounts. When and how can the VAT be invoiced? I hope not, but could it be the case , that we have to add some kind of extra document with goods delivered to the on-account invoice and calculate VAT for those goods separately and add on-accounts with amounts so, that the VAT amount (of an on-account) represents the VAT amount for the goods?
Thanks in advance for you help on this.
Regards,
Erik
Hi
Is it possible to add extra dimensions to be used in the demand forecasting parameters, such as buyer group?
Hi AXrookie,
The procurement hierarchy is a global setup. So this is valid for all legal entities. You can create multiple additional retail hierarchies or have a look at purchasing policies where you can manage some restrictions for legal entities.
May I ask the background of your question? Then we might be able to give a better, less generic answer.
let me know your class, you have to extend your class with runbasebatch class.
Hi Billur,
Please have a check if the customer transactions which will be settled do have exchange rate differences or different financial dimensions. In that case, the settlement will indeed create additional entries.
Hi,
I've a problem during settling transactions from customer open transaction.
I've send a balance from one of my customer to another by journals. Two customer have different accounts. Forexample from Customer A to Customer B.
Voucher Example:
Customer A Credit
Customer B Debit
And get payed the balance of the customer. (Customer B)
Customer B Credit
Bank Debit
During settlement Ax is creating a settlement voucher which is using the customer accounts
Customer A Debit
Customer B Credit
Is this be from design? Or a bug?
This issue occured on AX2012 R2 CU8
what's your Next Field value in Number Sequence ?
Hi,
We are using different LE and we thought we could use different procurement categories. It makes sense to me each LE (a different company or business) could have its own procurement hierarchy.
Thanks