Hello Community,

In a completed sales order and while inspecting the generated accounting
transactions for the sales invoice, I was expecting to have the Gl Account
Id for the Debit entry of the transaction with GlAccoutTypeId =
'ACCOUNTS_RECEIVABLE'
to get its value from the Product Gl Account defaults that I created for
the product in the invoice - see below - however, and by tracking the logs
I found Gl Account 120000 was used from Gl Account Type Defaults.

Why do you think the default I created for the product was not used?

Regards,
Emad

{
  "ACCTG_TRANS_ID": "10571",
  "ACCTG_TRANS_ENTRY_SEQ_ID": "00007",
  "ACCTG_TRANS_ENTRY_TYPE_ID": "_NA_",
  "DESCRIPTION": null,
  "VOUCHER_REF": null,
  "PARTY_ID": "DemoCustomer",
  "ROLE_TYPE_ID": "BILL_TO_CUSTOMER",
  "THEIR_PARTY_ID": null,
  "PRODUCT_ID": null,
  "THEIR_PRODUCT_ID": null,
  "INVENTORY_ITEM_ID": null,
  "GL_ACCOUNT_TYPE_ID": "ACCOUNTS_RECEIVABLE",
  "GL_ACCOUNT_ID": "120000",
  "ORGANIZATION_PARTY_ID": "Company",
  "AMOUNT": 23.75,
  "CURRENCY_UOM_ID": "USD",
  "ORIG_AMOUNT": 23.75,
  "ORIG_CURRENCY_UOM_ID": "USD",
  "DEBIT_CREDIT_FLAG": "D",
  "DUE_DATE": null,
  "GROUP_ID": null,
  "TAX_ID": null,
  "RECONCILE_STATUS_ID": "AES_NOT_RECONCILED",
  "SETTLEMENT_TERM_ID": null,
  "IS_SUMMARY": null,
  "LAST_UPDATED_STAMP": "2023-11-08 12:19:48.207",
  "LAST_UPDATED_TX_STAMP": "2023-11-08 12:19:28.357",
  "CREATED_STAMP": "2023-11-08 12:19:48.207",
  "CREATED_TX_STAMP": "2023-11-08 12:19:28.357"
}


{
  "PRODUCT_ID": "GZ-1001",
  "ORGANIZATION_PARTY_ID": "Company",
  "GL_ACCOUNT_TYPE_ID": "ACCOUNTS_RECEIVABLE",
  "GL_ACCOUNT_ID": "10000",
  "LAST_UPDATED_STAMP": "2023-11-08 12:14:56.733",
  "LAST_UPDATED_TX_STAMP": "2023-11-08 12:14:56.313",
  "CREATED_STAMP": "2023-11-08 12:14:56.733",
  "CREATED_TX_STAMP": "2023-11-08 12:14:56.313"
}

{
  "GL_ACCOUNT_ID": "10000",
  "GL_ACCOUNT_TYPE_ID": "ACCOUNTS_RECEIVABLE",
  "GL_ACCOUNT_CLASS_ID": "CURRENT_ASSET",
  "GL_RESOURCE_TYPE_ID": "MONEY",
  "GL_XBRL_CLASS_ID": null,
  "PARENT_GL_ACCOUNT_ID": "120000",
  "ACCOUNT_CODE": "120010",
  "ACCOUNT_NAME": "ACCOUNTS RECEIVABLE - GZ-1001",
  "DESCRIPTION": "SUB LEDGER ACCOUNT FOR PRODUCT GZ-1001",
  "PRODUCT_ID": "GZ-1001",
  "EXTERNAL_ID": null,
  "LAST_UPDATED_STAMP": "2023-11-08 12:12:48.410",
  "LAST_UPDATED_TX_STAMP": "2023-11-08 12:12:48.217",
  "CREATED_STAMP": "2023-10-30 08:51:30.197",
  "CREATED_TX_STAMP": "2023-10-30 08:51:30.040"
}

Reply via email to