![]() |
#9 |
Участник
|
Код из AX 2009 SP1 RU5:
X++: LedgerAccount accountOperations() { if (! cacheAccountOperations) { if (prodBOM.prodTable().ProdPostingType == ProdPostingType::ProdGroup) cacheAccountOperations = ProdGroup::find(prodBOM.prodTable().ProdGroupId).AccountIssueOffset; else /* <SYS> cacheAccountOperations = InventPosting::item(InventAccountType::ProdIssueOffsetAccount,prodBOM.ItemId,this.inventTable().ItemGroupId); </SYS> */ // <GEEU> cacheAccountOperations = InventPosting::item(InventAccountType::ProdIssueOffsetAccount,prodBOM.ItemId,this.inventTable().ItemGroupId,this.inventdim()); // </GEEU> } return cacheAccountOperations; }
__________________
Ivanhoe as is.. |
|
|
|