If you want to select/insert/update/delete data from specific company or legal entity, then changecompany keyword we can use. Below is sample code.
public str ChangeCompanyTest()
{
changecompany('ART') // ART is the legal entity name
{
//Your X++ Code
}
}
No comments:
Post a Comment