![]() |
#1 |
Участник
|
bojensen: AX WONDERS: Create Axapta Payment Journal
Источник: http://blogs.bojensen.eu/?p=4600
============== The following code creates a payment journal in AX. public void PaymentJournalLineCreation() { boolean ret; CustTable custTable; LedgerJournalName LedgerJournalName; LedgerJournalTable ledgerJournalTable; LedgerJournalTrans ledgerJournalTrans; LedgerJournalCheckPost ledgerJournalCheckPost; NumberSeq numberseq; ; //Get customer account this.getCustomerAccount(); //Get currency this.setCurrency(); //Set JournalNameId this.setJournalNameId(LedgerJournalACType::Bank); //Get table buffer custTable = CustTable::find(customerAccount, false); // Find a ledgerJournalName record select firstonly LedgerJournalName where LedgerJournalName.JournalName [...] Источник: http://blogs.bojensen.eu/?p=4600
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
![]() |
#2 |
Участник
|
bojensen: Microsoft Dynamics Ax: Create Payment Journal with X++
Источник: http://blogs.bojensen.eu/?p=4598
============== static server boolean processCheckPayment(CAM_CheckModule _checkModule) { LedgerJournalName ledgerJournalName; LedgerJournalTable ledgerJournalTable; LedgerJournalTrans ledgerJournalTrans; LedgerJournalCheckPost ledgerJournalCheckPost; Common common; NumberSeq numberseq; CustTrans custTrans; CustTransOpen custTransOpen; Specification specOffsetVoucher; CAM_Parameters parameters = CAM_Parameters::find(); CustTable custTable = CustTable::find(_checkModule.CustAccount); boolean result = false; InvoiceId invoiceId; ; while select custTransOpen where custTransOpen.RefRecIdCheck == _checkModule.RecId && custTransOpen.UseRefRecId { custTrans = custTransOpen.custTrans(); invoiceId = [...] Источник: http://blogs.bojensen.eu/?p=4598
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|