Auto selected G/L Account and COGS Account by CardCode then ItemGroup

Hello,
I am new to the community. I have been working on learning SAP B1 8.8 since the beginning of the year. So far its been a great time  
I have been searching for a solution for method of having multiple G/L Accounts and COGS Accounts in Delivery Notes. I have done the following:
1. Create the following chart of accounts
     a. Revenues -MB North America
     b. Revenues -MB Latin America
     c. Revenues -VC North America
     d. Revenues -VC Latin America
     e. COGS -MB North America
     f. COGS -MB Latin America
     g. COGS -VC North America
     h. COGS -VC Latin America
The company being setup sales motherboards and video cards. I need to track the sales of each division by item group. The problem is that the company shares warehouses for both divisions. I tried managing the journal posting by Item Level. This would have worked if the warehouses where not used to fulfill orders from both division. This leaves me with managing the posting by Warehouse or by Item Group. Unfortunately, none of the three methods take into account the BP to post.
I am trying to tell SAP B1 to take into consideration the BP and them the item. After it will need to refer to the Item Group, the system will need to post each Delivery Note Line Item to the appropriate G/L Account and COGS. I have been researching FMS structure trying to accomplish this task but I have not had much success.
To help make the query, I am using the AliasName in the OCRD as a holder for the division. '01' for North America and '02' for Latin America.
Any ideas on how to manage a divisional revenue/cost structure that can be group by item group and share warehouses?

I close the other thread. The system made two posting.
Here is an example FMS I have been working on. I did not use the OCRD.AliasName as the text property did not match. I used the BP GroupName for reference.
SELECT
     CASE T1.[GroupName]
               WHEN 'High Tech'
               THEN
                    CASE T3.[ItmsGrpNam]
                         WHEN 'apple'
                         THEN '421000000100101'
                         ELSE 'XXXXXXXXXXXXXXX'
                         END
     ELSE 'XXXXXXXXXXXXXXX'
     END
FROM OCRD T0  INNER JOIN OCRG T1 ON T0.GroupCode = T1.GroupCode, OITM T2  INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
WHERE T2.[ItemCode] = $[$38.1.0] and T0.[CardCode] = $[$4.0.0]
It seems to be working, but I have not had any luck is the "ELSE" statement. I would like it to lock the entry if possible to insure the correct GL Account number is used.
Edited by: Luis Molina on May 3, 2011 5:34 AM

Similar Messages

  • PGI Date and COGS accounting date should be different

    Hi All,
    I have a scenario where the client wants to post the COGS account when the material reach to the Customer and on the same date wants to Invoice the Customer, this is required for the Matching Concept of Accounting so that Recognition of Cost and Revenue should be on the same Date.
    For example : Order (01-01-2012) --> Delivery (02-01-2012) - material send to Customer and it reach to the Customer on 10-01-2012 --> PGI (10-01-2012) --> Invoice (10-01-2012)
    However in India we need to update the RG1 register at the time when we remove the material from our Factory, and to update it we need to do the PGI, and as soon as we do the PGI the COGS accounts will be Debited. Whereas the material will reach to the customer, say for example, after 10 days and then the invoice will be created, so the Posting of COGS account and Revenue account will be different.
    For Example (In India) : Order (01-01-2012) --> Delivery (02-01-2012) --> PGI (02-01-2012)(NO Accounting to COGS) - material send to Customer and it reach to the Customer on 10-01-2012 --> COGS entry (10-01-2012) --> Invoice (10-01-2012)
    My Querry is:-
    1) Is it possible to achieve the above requirement that we do the PGI but do not make any accounting entry?
    2) If yes, then how can we recognise the COGS accounting on a later date, when the material reach to Customer?
    3) Is it possible through Standard SAP?
    4) If standard SAP procedure is not possible, kindly suggest the work-around and basic logic for the same.
    For any further query feel free to ask.
    Thanks and regards,
    Amitesh Anand

    Hi Ram / Karthik,
    I think VL01N screen Actual GI date can serve your purpose.
    Ram
    If I change the Actual PGI Date to a future date and do the PGI, then the material document will be posted on the given future date, and so on Current Date (actual date when the material physically move out from the factory) we can not Update the RG1 Register. RG1 Register will be updated on the Posting Date of Material Document, so this will be an Excise Audit Issue.
    Further, a report has to developed,
    > It should show the list of documents posted to the 'Deferred COGS GL and not reversed yet.
    > Based on the customer receipt, the reports should post an entry reversing 'Deferred COGS' GL to the regular 'COGS' GL
    I am looking for the same work-around without defeating any Excise Legal norms. How do we reverse the "Deferred COGS G/L" and make the posting in actual COGS G/L, and what will be its implication on Inventory Ledger and Excise Audit?
    Thanks and regards,
    Amitesh Anand

  • Link between Auto Accounting and Subledger Accounting

    Is there any way link between auto accounting and subledger accounting?
    Can rule be derived from Subledger accounting for auto accounting??

    I think you are referring to AR autoaccounting.
    YOu will need AR autoaccounting setupto be done. If you do not tweak the standard SLA setups, SLA will use the same accounts as AR autoaccounting .
    If you define your own SLA setups, they will override the AR autoaccounting for account derivation.
    Thanks,
    Anil

  • HT201320 I add another Hotmail account and Gmail account, aways show that the password in correct.

    I add another Hotmail account and Gmail account, aways show that the password in correct.

    got an anti virus that thinks it should scan email. Turn that function off.
    Have a firewall, check that Thunderbird has full internet access, not some Auto rubbish that somehow fails.

  • What is difference between Reconciliation Account and Revenue account.?`

    What is difference between Reconciliation Account and Revenue account.?
    Where does it effects after a sales order , delivery doc. or billing doc.?

    Hello Mukesh the comments givan by Amol and Siva kumar are correct.
    Here I am telling you how these accouts arer wrking in sales order and at billing and delivery.
    Our reconsilation account is reconsile with customer that why when you create the sales order you are mentioning the customer at this time reconsiation account works.
    Whenever you doing any posting there is an accounting entry is mae in accounts book right .
    At the time of Delivery and billing both the accounts are affected as per the accounting rule .
    I hpoe this will you help you
    Regards
    ravi

  • Dear Mr./Mrs.,  I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I

    Dear Mr./Mrs.,
    I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I was asked to answer two questions , but I forgot the answers !! I click on forgot the answers , they send me check your email , I check my email and they send me the password that I have already entered not the answers of the questions ! How can this problem be solved ?! Hope to take my message into consideration.
    Yours sincerely,
                             Hesham.

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
         Or Email Here  >  Apple  Support  iTunes Store  Contact

  • I set up my iCloud account on iPad with an exchange account and aol account.  I can see exchange and aol emails but not those from .me account or apple email.  I got it to show all 3 accounts on my iPhone with no problem.  Hat am I missing?

    I set up my iCloud account on iPad with an exchange account and aol account.  I can see exchange and aol emails but not those from .me account or apple email.  I got it to show all 3 accounts on my iPhone with no problem.  Hat am I missing?

    I'm having a similar problem, but I do have the key and is not working anyway.
    My old pc was running on windows 7 and my new one is an apple running on Lion.
    My phone is an Iphone IV and I can see all the bookmarks there.
    In order to sync, what I did was click on the "I don't have the device with me", I entered the key that was provided and the process finish ok. It says congratulations, etc, etc.
    But the bookmarks are not there, I tried merging data and replacing data on this computer options but is the same.
    Any suggestions?

  • How do I remove my brother's iPhone 5 from my iTunes account and iCloud account?

    My brother recently got a new iphone, and is a bit of a technophobe, so I set up his iPhone 5 in my itunes Account and my iCloud account.
    Without going into loads of details, I want to set him up his own apple iTunes account, and iCloud account, without removing any of his data, contacts, photos, music, etc. Help, please!!!!!
    Thanks

    Are you using the the same icloud id.  you can also look to the right on this forum you'll see More Like This - there might be a solution.

  • How can I change my iCloud email account? My apple ID was correctly changed but my @me account and @icloud account addresses need updated to reflect my married name.

    My apple ID was correctly changed but my @me account and @icloud account addresses need updated to reflect my married name.

    I tried that without any luck. I was hoping I could get Apple to reset it for me or delete the account so I could recreate it or at least tell me what is listed as my birth date, the security question answer.

  • HT4597 I can no longer access my mac mail in the Mail program - only on icloud. I would like to have both my aol account and mac account in one place like it was. Anything I can do?

    I can no longer access my mac mail in the Mail program - only on icloud. I would like to have both my aol account and mac account in one place like it was. Anything I can do?

    iCloud's mail server settings are different from MobileMe's. Strictly speaking Lion 10.7.2 is required for iCloud, and on that Mail is set up automatically.
    Snow Leopard cannot access most of iCloud's facilities, however you can set Mail up manually to access your email. The method is described here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudmail.html
    The situation with iCloud and Snow Leopard is described in detail here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudSL.html
    iCloud cannot access your AOL account (the MobileMe facility for checking external POP accounts does not exist in iCloud) - you will have to do this in the Mail application in the usual way. You could of course set up forwarding from your AOL account to iCloud (assuming they provide this facility) but you will not be able to reply using iCloud's SMTP server with anything other than the iCloud address as the 'From' address.

  • Country chart of accounts and alternative account No.

    Hello Experts
    we're using country chart of accounts and alternative account No. to fullfill FICO China localization, now I have below questions:
    1, In manual FI posting in company code of china, eg. by transaction code FB01, which account number is used for this posting? Account number in operational chart of accounts or account number in country chart of accounts?
    2, The alternative account No. in country chart of accounts also needs to be created with compnay code level master?
    Or we just need create account in operational chart of accounts with company code level master?
    3, If we use account in operational chart of accounts for FI posting  by company code of China, after posing, two accounting documents are generated, one with account in operational chart of accounts? Another one with account in country chart of accounts?
    4. Country chart of accounts is used for consolication purpose? Is there some difference with group chart of accounts?
    Thanks,
    Nicole

    Hi Nicole,
    1, In manual FI posting in company code of china, eg. by transaction code FB01, which account number is used for this posting? Account number in operational chart of accounts or account number in country chart of accounts?
    > Account No. in Operation Chart of Accounts is always used for FI posting. Alternative Account No. is always for information purpose.
    2, The alternative account No. in country chart of accounts also needs to be created with compnay code level master?
    Or we just need create account in operational chart of accounts with company code level master?
    > You only create Operational Chart of Accounts for posting. Alternative Account No. can be of two types 1):-is a freely definable text and you don't have any chart of Account for that, for example say legacy No. 2) The Account No. from a country Chart of Accounts, in this case you create a GL in Country Chart of Accounts.
    3, If we use account in operational chart of accounts for FI posting by company code of China, after posing, two accounting documents are generated, one with account in operational chart of accounts? Another one with account in country chart of accounts?
    > Not True. Only Operation Chart of Accounts will get posted. In the Alternative Account No., the Alternate Account No. will get populated.
    4. Country chart of accounts is used for consolidation purpose? Is there some difference with group chart of accounts?
    > No. Country Chart of Account is used for External reporting.. Group Chart of Account is used for Consolidation.
    Regards,
    SAPFICO

  • Activating Direct Posting to G/L Accounts and Material Accounts

    Hi,
    Can anyone plz tell me with some examples ,what is the relevance of this ,'Activating Direct Posting to G/L Accounts and Material Accounts'.
    Link for this is as below :
    spro/Materials Management/ Logistics Invoice Verification / Incoming Invoices / Activate Direct Posting to G/L Accounts and Material Accounts
    Whether normally everyone will use this or not ?
    regards,

    Sandeep
    In Logistics Invoice Verification, you can also post invoices that do not refer to a purchase order or a delivery. A typical example of this is a bill for expenses.
    As in the case of an invoice with a reference, you first need to enter the header data and the vendor information.
    In contrast to invoices with a reference, the system does not display any proposed values for the invoice items, since it cannot determine any purchase order items and posted goods receipts for this invoice. As a result, the system does not know which accounts are affected by the offsetting entry for the vendor line item. Therefore, you must specify which accounts the amounts are to be posted to. The SAP System provides the following options:
    • Posting to a G/L account
    You post to G/L accounts if you, for example, want to settle small amounts for freight costs and similar items and do not want to add these to the material accounts or cost accounts for the invoice items.
    • Posting to a material account
    You post to material accounts, if you, for example, want to debit or credit a material without using a purchase order reference
    You can also combine these options by generating the relevant posting lines one after the other, or by generating lines with reference to a purchase order.
    When you enter an invoice without a reference, you may find that a vendor has not been created in the system. You can post this invoice to a one-time account.
    You can have activated this functionality if you want to post directly to GL account and material.
    Hope this clarifies
    Thanks & Regards,
    Sridhar

  • Activate Direct Posting to G/L Accounts and Material Accounts

    under configuration if we tick on "Activate Direct Posting to G/L Accounts and Material Accounts"
    then what would be the impact?
    Thanks & Regards
    Nitin Gupta

    Hi
    When u tick "direct posting the material"  material tab will be available in MIRO screen ( along with PO reference )
    here u can post invoices w/o reference to PO directly material account
    Check info Given by SAP
    If you have activated posting to material accounts in Customizing, you can enter invoice lines without a PO reference on the Material tab page. These lines are then posted to the given material when you post the invoice
    When posting directly to a material, no posting is made to a GR/IR clearing account. The system posts manually entered material lines directly to the stock account or a price difference account, depending on price control and stock coverage
    Vishal...

  • Vkoa gl account and prov account

    Dear all,
    In MM OBYC also has gl account and provision account.
    Accounting effects are as follows;
    During Migo          
    The account key account +ve          
    the provision key account  -ve          
    During Miro          
    The provision key account +ve          
    The vendor account -ve.           
    In SD VKOA also has the similar. May I know if my understanding is correct below?
    During VF01
    The customer account +ve
    The account key account -ve
    or
    The account key account +ve
    The provison account -ve
    Thanks

    In normal circumstances, the provisional G/L Account column would be used in case of rebates where the value to be accrued to a G/L Account and later on, based on this, settlement can be made. 
    In some cases, where if you want the amount to get posted like this, apart from normal G/L Account, then you need to have a different G/L Account here.  In one of my earlier projects, we had configured for an exports scenario where we had a provisional G/L Account for Account Heads like Terminal Handling Charges, Clearing and Forwarding Expenses etc.,  In Accounting Document view, if you see this, for the same amount, two entries will be posted; one for Balance sheet account and another for P&L statement account which can be differentiated in FS00 under the tab "Type/description"
    thanks
    G. Lakshmipathi

  • Mail 4.6 unable to send outgoing mail (second gmail account and hotmail account)

    I am able to receive mails but I cannot send outgoing mails on my second gmail account and hotmail account.  Both smtp shows that it is "offline."

    Hi Slayzr
    I am in the UK and eventually found the problem was due to my BT Home Hub Router. 
    I found this fix below on https://discussions.apple.com/thread/4604180?start=15&tstart=0
    It worked for me.  If you can't link to the URL, here is the body of the text
    There's an issue related to the BT homehub that is providing a hostname that is "syntactically incorrect" for several smtp server.
    Here's how you can fix it.
    Using your internet browser, go to the address "192.168.1.254
    - Follow instructions to reset your password if asked.
    - Then go to "Settings", then "Advanced Settings" and "home network"
    You will see there all the devices that are connected or that has been connected before. It's gonna be easyer if yout computer is the only one connected.
    Your computer should have a name like "unknown-xx:xx:xx:xx:xx ...
    Click on this name, chose another name without any special characters, like "macbook" for exemple.
    And then click on "apply"
    - restart your computer.
    That should fix the issue.
    Credit goes to vincentfromcork for providing me with the solution.
    Spread the word

Maybe you are looking for