1.
Verify WSDL URI for AccountsReceivableServices
under System administration > Setup > Service and Application Integration
Framework > Inbound Ports
2.
Add service reference in .Net project.
3.
Add the below code to create customer payment
journal.
private void button1_Click(object sender, EventArgs e)
{
//Service declarations
AccountReceivableServices.CallContext callContext = new AccountReceivableServices.CallContext();
AccountReceivableServices.CustPaymJournalServiceClient
client = new
AccountReceivableServices.CustPaymJournalServiceClient();
AccountReceivableServices.AxdCustPaymJournal
paymJournal = new AccountReceivableServices.AxdCustPaymJournal();
AccountReceivableServices.AxdEntity_LedgerJournalTable1 header = new AccountReceivableServices.AxdEntity_LedgerJournalTable1();
AccountReceivableServices.AxdEntity_LedgerJournalTrans1 trans = new AccountReceivableServices.AxdEntity_LedgerJournalTrans1();
callContext.Company = "ceu";
//LedgerJournalTable
header.JournalName = "Pay";
header.Name = "AIF test";
header.JournalType =
AccountReceivableServices.AxdEnum_LedgerJournalType.CustPayment;
//LedgerJournalTrans
trans.AccountType =
AccountReceivableServices.AxdEnum_LedgerJournalACType.Cust;
trans.AccountTypeSpecified = true;
trans.Company = "ceu";
var account1 = new AccountReceivableServices.AxdType_MultiTypeAccount() { Account = "11101", DisplayValue = "11101" };
trans.LedgerDimension = account1;
trans.AmountCurCredit = 22;
trans.AmountCurCreditSpecified = true;
trans.OffsetCompany = "ceu";
trans.PaymMode = "cash";
header.LedgerJournalTrans = new AccountReceivableServices.AxdEntity_LedgerJournalTrans1[1] { trans };
paymJournal.LedgerJournalTable = new AccountReceivableServices.AxdEntity_LedgerJournalTable1 [1] { header };
try
{
client.create(callContext,
paymJournal);
}
catch (Exception ex)
{
string error = ex.Message;
}
Hello,
ReplyDeleteThis is Midhun and I am working for Win Wire Technologies. One of our client is Looking for AX Developer in Fremont, CA. If you are interested send me your updated resume along with contact details.
Title: AX Developer with Fixed Asset Module
Location: Fremont, CA
Duration: Long Term
Responsibilities:
AX Developer with experience in Fixed Asset Module
• Responsible for closing fixed asset module in Dynamics AX 2012
• Record monthly depreciation, including estimated depreciation on projects to be closed
• Maintain the capital leases in Dynamics AX 2012 and maintain the related GL reconciliations
• Record the cost of newly acquired and constructed fixed assets acquisitions, transfers and dispositions in the accounting system
• Calculate and record the capitalized interest
• Review monthly repair and maintenance charges
• Reporting for fixed asset activity
• Monthly reconciliation between ledger and sub ledger
• Fixed asset and CIP roll forward
• Performs mass addition transfers, assignments, postings, and deletions weekly while coordinating with RSP accounting manager
• Monthly reporting to controllers and IT managers of AUC assets project status and fixed asset detail
• Ad hoc reporting, as necessary
• This position is required to assure compliance of Company operations to all applicable laws, regulations and standards, good business practices and company documented procedures (including knowledge of all standards, government occupational health and environmental regulations and statutes related to the site)
• Prepare audit schedules relating to fixed assets and assist the auditors in their inquiries
Thanks & Regards,
Midhun Vejju
Midhun.vejju@winwire.com
408-338-6070
This comment has been removed by a blog administrator.
ReplyDeleteThanks. It solved a problem about missing AccountNum in the AxdEntity_LedgerJournalTrans1.
ReplyDeleteI owe you a beer or two. :)