Created
January 5, 2018 03:37
-
-
Save joshdcabrera/90a4c76e9e93bac204c2d543ef18574a to your computer and use it in GitHub Desktop.
AccountingDistributionTmp_Extension
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
[ExtensionOf(tableStr(AccountingDistributionTmp))] | |
final class AccountingDistributionTmp_Extension | |
{ | |
public void applyFixedDimension() | |
{ | |
next applyFixedDimension(); | |
if(SourceDocumentLine::find(this.SourceDocumentLine).SourceRelationType == tableName2Id(tableStr(TrvExpTrans)) | |
&& this.PostingType == LedgerPostingType::VendBalance && this.LedgerDimension) | |
{ | |
this.LedgerDimension = LedgerDimensionFacade::serviceApplyFixedDimensions(this.LedgerDimension, Ledger::findByLegalEntity(this.SourceDocLineLegalEntity).RecId); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment