Created
July 12, 2013 14:36
-
-
Save petersonfs/5984942 to your computer and use it in GitHub Desktop.
Whatahell?????????
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void run() | |
{ | |
//Void method with a variable called ret | |
str ret; | |
Args args; | |
; | |
if (this.validate()) | |
{ | |
ttsbegin; | |
if (agreement.FinInterestIgnoreFirstLine) | |
{ | |
this.updateInterestAmount(); | |
} | |
debitAmount = agreementManager.getTotalAgreementLines(true); | |
creditAmount = agreementManager.getTotalMarkedTrans(true); | |
if (creditAmount != debitAmount) | |
{ | |
throw error("@SYS3012312"); | |
} | |
this.createJournal(); | |
voucher = NumberSeq::newGetVoucherFromCode(ledgerJournalTable.VoucherSeries).voucher(); | |
this.createCreditLines(); | |
this.createDebitLines(); | |
this.post(); | |
this.updateOldAgreements(); | |
this.updateGeneratedTrans(); | |
this.updateFinancialAgreement(); | |
this.createNote(); | |
this.updateCalcCommission(); | |
ttscommit; | |
if (caller) | |
caller.close(); | |
args = new Args(); | |
args.caller(new Object()); | |
args.record(agreement); | |
new MenuFunction(menuItemDisplayStr(agreementHistory), MenuItemType::Display).run(args); | |
ret = FinancialAgreementPost::send(agreement); | |
//Whatahell????? | |
if (ret != 'True') | |
{ | |
warning(strfmt("@SYS123948", ret)); | |
} | |
} | |
} |
Whatahell?! huahuahauhauhauh
"//Void method with a variable called ret" - Capitão Obvio
Frustrating!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WHATA???