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

Interface r3 WMS to customers WMS system

$
0
0

 for Hi

I have a customer who is looking to interface AX2012 R3 wms system with their own mobile scanning solution to handle sales order picking and other warehouse operations, inventory moves, inbound processing etc etc. I wondered if anyone else has written an interface recently aand at which point you pass the data to the external system, ie when the wave is created, or when the work is created - passing the order details, as much as is required by the external systems, and would you use location profiles with pick and put operations? Obviously I want to make the interface highly effective, without over complicating it. They are looking at real time data transfer at all times,  as oppose to a batch running every 10 mins etc.

Any comments/advise appreciated.


RE: Sales Order creation via AIF Inbound Ports

$
0
0

Hi,

Agreed with ievgen Miroshnikov.We have to generate/create parmMethods for the custom fields you created on salesTable.
Standard/recommended way to perform customization with the help of setmethod and parmmethod on the table, where setMethod holds the required business logic. In our case, to access the fields on salesTable we should have parmMethods for custom fields as they can be accessed by axSalestable buffer to fill.

Perform following steps
i. Update the query AxdSalesOrder and add your custom fields.
ii. Generate/Create parm methods on class AxSalesTable for the custom fields on SalesTable(as we don't have business logic/defaulting between these fields no need to create set methods).
ii. Create a new method by name initFromCustTable in class AxdSalesOrder as below

private void initFromCustTable(AxSalesTable _axSalesTable)
{
    CustTable localCustTable;

    localCustTable = _axSalesTable.custAccount_CustTableRecord();

    _axSalesTable.parmCashDisc(localCustTable.CashDisc); // Provide your list,
    _axSalesTable.parmCashDisc(localCustTable.CashDisc);
// _axSalesTable.parmCustomField(localCustTable.CustomField);
}


iii. Call the method "initFromCustTable" in the method Prepareforsave of class AxdSalesOrder(as shown below) under the case AxSalesTable

case classNum(AxSalesTable) :
            axSalesTable = _axdStack.top();
            this.initFromCustTable(axSalesTable); // Added code
            this.checkSalesTable(axSalesTable);
            this.prepareSalesTable(axSalesTable);
            return true;

RE: conditions to check before writing into the table

$
0
0

You must have written code on click method  to print report, you should write it on CloseOk method which gets called when ok is click.

When you press cancel closeCancel method is called. Please share your code or  share information on which event you wrote code

conditions to check before writing into the table

$
0
0

Hi all,

I have a form with bounded data source fields. I enter the data and i click a button which passes these records to the report.

I need to check few conditions before sending it to the report,

Field1 = XX                                   

Field2 = YY

Field3 = ZZ

PRINT// Button

If the field1 && field2 && field3 already exists in the table,then i need a dialog with Ok and Cancel.

If i press OK, it should continue to print the report.

If i press CANCEL, it should not print the report.

Since, my fields are bounded, i do these validations in the table insert() method before the super() call.

My issue is , eventhough i press cancel,it prints the report.

Since my validations and Ok and cancel dialog in insert method, how can i able to block the super of the PRINT button to restrict printing.

Or is there any other way?

How to enable Dynamics AX for Operations in Azure

$
0
0

Hi:

I recently paid for a subscription in Azure. I would like to subscribe to Dynamics AX for Operations. I want to be able to do the following for a single user account:

1. CRUD for General Ledger, Chart of Accounts, AR, AP

2. Be able to create Extensions (I believe extensions is now the new method under AX 365 rather than the AOT as was in AX 2009 and 2012)

Thanks for your assistance.

RE: Company Address based on Purpose using X++

$
0
0

Thank you so much for replying.

with your answers i wrote this and working fine

 Addressing address;

address = DirParty::findPostalAddressByRole(DirPartyTable::find(companyInfo::find().PartyNumber).RecId,LogisticsLocationRoleType::None).getAddress();
info(strFmt("%1",address));

 

Regards.

Have a great day.

Company Address based on Purpose using X++

$
0
0

Good Morning,

i am trying to fetch company address.

companyinfo::find().postaladdress().address

this is actually giving the address which is primary and purpose is Business.

I am actually tring to fetch Address for company which is not primary and Purpose type is not bussiness that means UserDefined(any thing other than business ).

Please tell me how can i get the address details .

Please show some light on this.

Regards.

Have a great day.

 

RE: How to enable Dynamics AX for Operations in Azure

$
0
0

Your Azure subscription have nothing to do with licenses for Dynamics 365 for Finance and Operations, Enterprise Edition.

You can obtain it either as an end users (by buying the license) or as an implementation partner getting a license from Microsoft for development purposes.


How can i get Tick mark in SSRS report in AX based on condition

$
0
0

Good Morning,

i have 3 options like S ,C and A

i need to have a tick mark based on condition.

i am unable to get Tick Mark.

with image is one choice.i am not trying to get through image.

is it possible to get Tick mark.

Please give some suggestions on this.

Regards.

Have a great day.

RE: How to enable Dynamics AX for Operations in Azure

$
0
0

Dynamics 365 for Finance and Operations, Enterprise Edition also has a minimum requirement of 20 enterprise users for a live environment.

You can however obtain a one box environment. Get in contact with your local dynamics partner.

RE: Production Capacity

$
0
0

Under resources you can see graphical capacity view and also a list equivalent.

Production Capacity

$
0
0

Dear All,

My user want to know her/his Production Capacity

where I could see the information.

Thank you

RE: Interface r3 WMS to customers WMS system

$
0
0

If you get as far as creating work by setting up WHS. Why on earth wouldn't you just use the WHS mobile portal?

The only reason to NOT use work and location directives would be to not having to perform all the requirements to configure WHS and only use WMS I and let the advanced warehouse features be handled by the external WMS system.

In that case. Export InventSum, Output orders and PurchLines. Then import and post inventory registration journals and picking lidt registrations as well as inventory movement journals.

RE: in lookup drop down is not coming

$
0
0

i have tried your code still drop down is not coming

in lookup drop down is not coming

$
0
0

hai all i have requirement

  

i have form like show above there i can create a leave request in line details "leave type" feild is there that is master data through foreign key relation i am getting drop down and ill select leave type is "CL"

and ill save the record.

now i have one setup for leave type form is like this

this is leave setup form for "CL" we can take another leave "VL"   this is basic setup.

now iam going to first form 

i already applied a leave type is "CL" so as per my setup i can apply "VL" also

if apply second time in that drop down only "VL" should come because of in setup i have given "VL" for "CL"

for that drop down i have overwrite the lookup method in leave type code is shown bellow.

public void lookup()
{
LeaveReqHeader   _LeaveReqHeader;
LeaveReqLine _       _LeaveReqLine;
Query query= new Query();
QueryBuildDataSource qbds,qbds1;
QueryBuildRange qbr;
VacationTypeLineTBL      _VacationTypeLineTBL;
VacationType                   _VacationType;
_LeaveTypeMasters        _LeaveTypeMasters;

SysTableLookup sysTableLookup = SysTableLookup::newParameters(tableNum(VacationTypeLineTBL), this);


select _LeaveReqHeader;
select count(RecId) from _LeaveReqLine where _LeaveReqLine.LeaveReqId==_LeaveReqHeader.LeaveReqId;

if(_LeaveReqLine.RecId >= 1)
{

qbr = qbds1.addRange(fieldNum(VacationTypeLineTBL, LeaveTypeMasters));

while select _VacationType
{
select _VacationTypeLineTBL join _LeaveTypeMasters where _VacationTypeLineTBL._LeaveTypeMasters==_LeaveTypeMasters.RecId
&& _VacationTypeLineTBL.SerialNumber==_VacationType.SerialNumber;

qbr.value(int642str(_VacationTypeLineTBL.ITTI_LeaveTypeMasters));

sysTableLookup.addLookupField(fieldNum(_VacationTypeLineTBL, _LeaveTypeMasters),true);
sysTableLookup.addLookupField(fieldNum(_VacationTypeLineTBL, LeaveCodeDescription),true);


sysTableLookup.parmQuery(query);
sysTableLookup.performFormLookup();
}
}


}

if use this code in debugger i am getting correct value but drop is not coming its in disabled stage......

note:

1.VacationType    ,VacationTypeLineTBL     these two tables belongs to my leave setup form one is header and line 

2.LeaveReqHeader ,  LeaveReqLine these tow tables belongs two leave apply form tables 

this my code please review and help me out what is the mistake in that any other way to filter data 

thanks in advance.....


           


RE: Security in Ax 2012

$
0
0

My System admin duplicate role was created successfully. Thank you

Security in Ax 2012

$
0
0

Hi All,

Is it possible to Create our own 'System Admin' user group where only development rights will be missing rest all access is present..

Till now I have understood that in ax 2012 System Admin access provided by Microsoft is nothing but just a security check condition where

If(User Access level == 'System admin')

{

"Check Nothing regarding access move further without interrupt"

}

else

{

"Check for permissions"

}

Please help, if anyone have any idea about this..

RE: Inventory transfer journal from one wMSlocation to another wMSlocation

Inventory transfer journal from one wMSlocation to another wMSlocation

$
0
0

Hi Experts,

Is it possible to transfer an item from one wMSLocationId to another with in same InventLocationId?

Consider I have two dimensions

1. InventSiteId = "S" ; InventLocationId = "WH"; wMSLocationId = "XXX"; InventDimId = 00200

2. InventSiteId = "S" ; InventLocationId = "WH"; wMSLocationId = "YYY"; InventDimId= 00741

I am trying to create Transfer journal through x++.

For the field inventJournalTrans.InventDimId, I assigned 00200 and

For the field inventJournalTrans.ToInventDimId I assigned 00741

The insert statement inventJournalTrans.Insert(); is inserting value 00200 for field inventJournalTrans.ToInventDimId

Then I tried creating transfer journal manually. "From location" and "To location" columns are not editable. I believe I am missing some setup to enable the "From location" and "To location" in Inventory Transfer journal form

Kindly guide.

Thanks,

N.Sridhar

All license plates from one batch number allocated in one floor ax 2012 R3

$
0
0

Hi, 

Is it possible to setup location directives in AX2012 in such way, that all License plates with same batch number to be allocated in same floor in my high-bay warehouse? Here is my case:

On inbound ramp I have 10 License plates with Product = 0001 and Batch number = 1000-100. These 10 LP should be stored in 10 locations in my BULK zone on same floor in one shelf. On my first shelf in BULK zone, I have:

1 floor -> 3 empty locations

2 floor -> 9 empty locations

3 floor -> 10 empty locations

4 floor -> 100 empty locations

I need to setup location directives (Work order type = Internal movement) in such way, that when AX starts looking for a Location for my FIRST License plate (of these 10LP) to check first all the floors for empty locations for the whole batch (1000-100). So then will skip 1 floor (only 3 empty), skip 2 floor (9 empty) and should suggest the first empty location from 3 floor (because of 10 available and will fit the 9 rest LP with batch number = 1000-100). 

If AX does not find 10 empty locations on a same floor for first shelf, then should continue to the next shelf.

Any suggestions would be a great help?

Thanks 

Viewing all 175888 articles
Browse latest View live


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