When generate transaction without customer account, calculating statements works well.
When generate transaction with customer account, the error "Function InventTrans.inventMovement has been" is still generated when calculating statements.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
When generate transaction without customer account, calculating statements works well.
When generate transaction with customer account, the error "Function InventTrans.inventMovement has been" is still generated when calculating statements.
Remove CustAccount from the judgment condition to ensure that both cases are treated the same.